提交 9c03ee37 编写于 作者: X xsterling

testcase update.

Signed-off-by: Nxsterling <huangjiaqi19@huawei.com>
上级 ed7e3fe4
...@@ -35,7 +35,6 @@ describe('KvStoreResultSetTest', function() { ...@@ -35,7 +35,6 @@ describe('KvStoreResultSetTest', function() {
encrypt : false, encrypt : false,
backup : false, backup : false,
autoSync : true, autoSync : true,
kvStoreType : factory.KVStoreType.SINGLE_VERSION, kvStoreType : factory.KVStoreType.SINGLE_VERSION,
schema : '', schema : '',
securityLevel : factory.SecurityLevel.S2, securityLevel : factory.SecurityLevel.S2,
......
...@@ -72,9 +72,6 @@ describe('KvStoreEnumTest', function () { ...@@ -72,9 +72,6 @@ describe('KvStoreEnumTest', function () {
* @tc.desc Test Js Enum Value Constants.MAX_KEY_LENGTH_DEVICE * @tc.desc Test Js Enum Value Constants.MAX_KEY_LENGTH_DEVICE
*/ */
it('testConstantsMaxKeyLengthDevice_001', 0, function () { it('testConstantsMaxKeyLengthDevice_001', 0, function () {
expect( factory.Constants.MAX_VALUE_LENGTH).assertEqual(4194303);
var maxKeyLengthDevice = factory.Constants.MAX_KEY_LENGTH_DEVICE; var maxKeyLengthDevice = factory.Constants.MAX_KEY_LENGTH_DEVICE;
console.info('maxKeyLengthDevice = ' + maxKeyLengthDevice); console.info('maxKeyLengthDevice = ' + maxKeyLengthDevice);
expect(maxKeyLengthDevice == 896).assertTrue() expect(maxKeyLengthDevice == 896).assertTrue()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册