From 51dfedee230cf2d327580718bb648f884d89393b Mon Sep 17 00:00:00 2001 From: yanglifeng1217 Date: Wed, 7 Jun 2023 09:42:36 +0800 Subject: [PATCH] Signed-off-by: yanglifeng1217 --- .../hap/src/main/js/test/ObjectStoreJsunitV9.test.js | 6 +++--- .../hap/src/main/js/test/QueryKVJsTest.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunitV9.test.js b/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunitV9.test.js index c2cd181e1..b1924f471 100644 --- a/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunitV9.test.js +++ b/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunitV9.test.js @@ -727,8 +727,8 @@ describe('objectStoreTestV9', function () { * @tc.type: FUNC * @tc.number: SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0200 */ - it('SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0100', 0, async function (done) { - console.info(TAG + "************* SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0100 start *************"); + it('SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0200', 0, async function (done) { + console.info(TAG + "************* SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0200 start *************"); try { let g_object; let abnValue = 0.02; @@ -738,7 +738,7 @@ describe('objectStoreTestV9', function () { } catch (error) { console.info(error.code + error.message); } - console.info(TAG + "************* SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0100 end *************"); + console.info(TAG + "************* SUB_DDM_AppDataFWK_Object_Api9_NumberAbnormal_0200 end *************"); done(); }) console.info(TAG + "*************Unit Test End*************"); diff --git a/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/QueryKVJsTest.js b/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/QueryKVJsTest.js index e8dc8e2bc..ee83efabc 100644 --- a/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/QueryKVJsTest.js +++ b/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/QueryKVJsTest.js @@ -1910,12 +1910,12 @@ describe('queryTest', function() { }) /** - * @tc.number: SUB_DDM_DKV_QUERY_SETSUGGESTINDEX_PROMISE_0100 + * @tc.number: SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0400 * @tc.desc: Test Js Api Query.SetSuggestIndex() testcase 001 * @tc.type: FUNC * @tc.name Test Js Api Query.SetSuggestIndex() testcase 001 */ - it('SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0300', 0, async function(done) { + it('SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0400', 0, async function(done) { var query = null; try { query = new ddm.Query(); -- GitLab