提交 bcb0a8e2 编写于 作者: Y yanglifeng1217

<modified>

Signed-off-by: Nyanglifeng1217 <yanglifeng5@huawei.com>
上级 1b15cb53
...@@ -349,7 +349,6 @@ describe('rdbStoreDistributedTest', function () { ...@@ -349,7 +349,6 @@ describe('rdbStoreDistributedTest', function () {
try{ try{
rdbStore.on("dataChange", dataRdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); rdbStore.on("dataChange", dataRdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver);
console.info(TAG + "on dataChange success "); console.info(TAG + "on dataChange success ");
expect(rdbStore).assertEqual(rdbStore);
}catch(err){ }catch(err){
console.info(TAG + "on dataChange " + err); console.info(TAG + "on dataChange " + err);
expect(err !== null).assertFalse(); expect(err !== null).assertFalse();
...@@ -368,7 +367,6 @@ describe('rdbStoreDistributedTest', function () { ...@@ -368,7 +367,6 @@ describe('rdbStoreDistributedTest', function () {
try{ try{
let off = rdbStore.on("dataChange", dataRdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); let off = rdbStore.on("dataChange", dataRdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver);
console.info(TAG + "off dataChange success " + off); console.info(TAG + "off dataChange success " + off);
expect(rdbStore).assertEqual(rdbStore);
}catch(err){ }catch(err){
console.info(TAG + "off dataChange " + err); console.info(TAG + "off dataChange " + err);
expect(err !== null).assertFalse(); expect(err !== null).assertFalse();
......
...@@ -352,7 +352,6 @@ describe('relationalStoreDistributedTest', function () { ...@@ -352,7 +352,6 @@ describe('relationalStoreDistributedTest', function () {
try{ try{
rdbStore.on("dataChange", data_Rdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); rdbStore.on("dataChange", data_Rdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver);
console.info(TAG + "on dataChange success "); console.info(TAG + "on dataChange success ");
expect(rdbStore).assertEqual(rdbStore);
}catch(err){ }catch(err){
console.info(TAG + "on dataChange " + err); console.info(TAG + "on dataChange " + err);
expect(err !== null).assertFalse(); expect(err !== null).assertFalse();
...@@ -371,7 +370,6 @@ describe('relationalStoreDistributedTest', function () { ...@@ -371,7 +370,6 @@ describe('relationalStoreDistributedTest', function () {
try{ try{
let off = rdbStore.on("dataChange", data_Rdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); let off = rdbStore.on("dataChange", data_Rdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver);
console.info(TAG + "off dataChange success " + off); console.info(TAG + "off dataChange success " + off);
expect(rdbStore).assertEqual(rdbStore);
}catch(err){ }catch(err){
console.info(TAG + "off dataChange " + err); console.info(TAG + "off dataChange " + err);
expect(err !== null).assertFalse(); expect(err !== null).assertFalse();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册