constCREATE_TABLE_TEST="CREATE TABLE IF NOT EXISTS test ("+"id INTEGER PRIMARY KEY AUTOINCREMENT, "+"name TEXT NOT NULL, "+"age INTEGER, "+"salary REAL, "+"blobType BLOB)";
constCREATE_TABLE_TEST='CREATE TABLE IF NOT EXISTS test ('+'id INTEGER PRIMARY KEY AUTOINCREMENT, '+'name TEXT NOT NULL, '+'age INTEGER, '+'salary REAL, '+'blobType BLOB)';
constSTORE_CONFIG={
constSTORE_CONFIG={
name:"Delete.db",
name:'Delete.db',
}
}
varrdbStore=undefined;
letrdbStore=undefined;
describe('rdbStoreDeleteTest',function(){
describe('rdbStoreDeleteTest',function(){
beforeAll(function(){
beforeAll(function(){
...
@@ -36,65 +36,65 @@ describe('rdbStoreDeleteTest', function () {
...
@@ -36,65 +36,65 @@ describe('rdbStoreDeleteTest', function () {
afterEach(asyncfunction(){
afterEach(asyncfunction(){
console.info(TAG+'afterEach')
console.info(TAG+'afterEach')
awaitrdbStore.executeSql("DELETE FROM test");
awaitrdbStore.executeSql('DELETE FROM test');
rdbStore=null
rdbStore=null
awaitdataRdb.deleteRdbStore("Delete.db");
awaitdataRdb.deleteRdbStore('Delete.db');
})
})
afterAll(asyncfunction(){
afterAll(asyncfunction(){
console.info(TAG+'afterAll')
console.info(TAG+'afterAll')
})
})
console.log(TAG+"*************Unit Test Begin*************");
console.log(TAG+'*************Unit Test Begin*************');