Skip to content

Commit ab40f24

Browse files
committed
Add properties tests. Also other test tweaks
1 parent 1a725c5 commit ab40f24

File tree

3 files changed

+405
-5
lines changed

3 files changed

+405
-5
lines changed

test/connection.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ describe('1. connection.js', function(){
237237
connection.should.be.ok;
238238
connection.execute(
239239
"SELECT * FROM oracledb_employees",
240-
{}, {maxRows: 25},
240+
{}, { maxRows: 25 },
241241
function(err, result){
242242
should.not.exist(err);
243243
should.exist(result);
@@ -252,11 +252,11 @@ describe('1. connection.js', function(){
252252
connection.should.be.ok;
253253
connection.execute(
254254
"SELECT * FROM oracledb_employees",
255-
{}, {maxRows: 0},
255+
{}, { maxRows: 0 },
256256
function(err, result){
257257
should.not.exist(err);
258258
should.exist(result);
259-
// Return 25 records according to execution setting
259+
260260
(result.rows).should.have.length(0);
261261
done();
262262
}

test/list.txt

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@
410410
55.12 bind a cursor BIND_INOUT
411411
- 55.12.1 should work
412412

413-
414413
56. fetchAs.js
415414
56.1 FetchAs - DATE type as STRING
416415
56.2 FetchAs NUMBER & DATE type as STRING
@@ -419,4 +418,31 @@
419418

420419
57. nestedCursor.js
421420
57.1 testing nested cursor support - result set
422-
57.2 testing nested cursor support - REF Cursor
421+
57.2 testing nested cursor support - REF Cursor
422+
423+
58. properties.js
424+
58.1 oracledb properties
425+
58.1.1 poolMin
426+
58.1.2 poolMax
427+
58.1.3 poolIncrement
428+
58.1.4 poolTimeout
429+
58.1.5 maxRows
430+
58.1.6 prefetchRows
431+
58.1.7 autoCommit
432+
58.1.8 version
433+
58.1.9 connClass
434+
58.1.10 externalAuth
435+
58.1.11 fetchAsString
436+
58.1.12 outFormat
437+
58.1.13 lobPrefetchSize
438+
58.2 pool properties
439+
58.2.1 poolMin
440+
58.2.2 poolMax
441+
58.2.3 poolIncrement
442+
58.2.4 poolTimeout
443+
58.2.5 stmtCacheSize
444+
58.3 connection properties
445+
58.3.1 stmtCacheSize
446+
58.3.2 clientId
447+
58.3.3 action
448+
58.3.4 module

0 commit comments

Comments
 (0)