From 9c03ee377bbdd9faf01b3513dd44bcf6f2f36dcf Mon Sep 17 00:00:00 2001 From: xsterling Date: Fri, 7 Jan 2022 00:19:49 +0800 Subject: [PATCH] testcase update. Signed-off-by: xsterling --- .../src/main/js/default/test/KvStoreResultSetJsunit.test.js | 1 - .../src/main/js/default/test/SingleKvStoreEnumJsunit.test.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/KvStoreResultSetJsunit.test.js b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/KvStoreResultSetJsunit.test.js index 38e887c31..ac67f21cb 100644 --- a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/KvStoreResultSetJsunit.test.js +++ b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/KvStoreResultSetJsunit.test.js @@ -35,7 +35,6 @@ describe('KvStoreResultSetTest', function() { encrypt : false, backup : false, autoSync : true, - kvStoreType : factory.KVStoreType.SINGLE_VERSION, schema : '', securityLevel : factory.SecurityLevel.S2, diff --git a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/SingleKvStoreEnumJsunit.test.js b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/SingleKvStoreEnumJsunit.test.js index 35245a307..1a08f84b9 100644 --- a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/SingleKvStoreEnumJsunit.test.js +++ b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/SingleKvStoreEnumJsunit.test.js @@ -72,9 +72,6 @@ describe('KvStoreEnumTest', function () { * @tc.desc Test Js Enum Value Constants.MAX_KEY_LENGTH_DEVICE */ it('testConstantsMaxKeyLengthDevice_001', 0, function () { - - expect( factory.Constants.MAX_VALUE_LENGTH).assertEqual(4194303); - var maxKeyLengthDevice = factory.Constants.MAX_KEY_LENGTH_DEVICE; console.info('maxKeyLengthDevice = ' + maxKeyLengthDevice); expect(maxKeyLengthDevice == 896).assertTrue() -- GitLab