Skip to content

Commit 3477661

Browse files
committed
Add test for Lob CLass
1 parent 8d867b1 commit 3477661

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

test/checkClassesTypes.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,33 @@ describe('61. checkClassesTypes.js', function() {
7777
}
7878
);
7979
})
80+
81+
it('61.3 Lob Class', function(done) {
82+
var connection = null,
83+
clob = null,
84+
blob = null;
85+
86+
var clobTableName = "oracledb_myclobs";
87+
var blobTableName = "oracledb_myblobs";
88+
89+
async.series([
90+
function(callback) {
91+
oracledb.getConnection(credential, function(err, conn) {
92+
should.not.exist(err);
93+
connection = conn;
94+
callback();
95+
});
96+
},
97+
function(callback) {
98+
callback();
99+
},
100+
function(callback) {
101+
connection.release( function(err) {
102+
should.not.exist(err);
103+
callback();
104+
});
105+
}
106+
], done);
107+
})
80108
})
81109

0 commit comments

Comments
 (0)