diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoard.test.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoard.test.ets index 1bc42b6cf924609448833bc1920f3195e60c0c4d..50c220deb5f27e8ae9ddabb76cd235fe5b03a60d 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoard.test.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoard.test.ets @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets index 003dd19546caf2cf00d2929b8a46c49c4b0c1f89..deadf561455adf2e50d4c2e2c5abb8b82c7d531a 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardSystemPasteBoard.test.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardSystemPasteBoard.test.ets index 13783a8d1cf4f7fd3690928c22392550b098b3e6..815ff4494c1e7e5240a648f8dc213aa770ff99f2 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardSystemPasteBoard.test.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardSystemPasteBoard.test.ets @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/dataObjectjstest/hap/src/main/config.json b/distributeddatamgr/dataObjectjstest/hap/src/main/config.json index 7aaccad9a5bcbd289058366d5b107ed6a0774ce0..b6341a5dcbfc0fd5a99ae1252360df02bdd86015 100644 --- a/distributeddatamgr/dataObjectjstest/hap/src/main/config.json +++ b/distributeddatamgr/dataObjectjstest/hap/src/main/config.json @@ -110,4 +110,4 @@ }, "srcPath": "" } -} \ No newline at end of file +} diff --git a/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/List.test.js b/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/List.test.js index de920d71b824be326659ded2a0cba18c9a328145..413542c27fef64384a9ad7f15d7a71895c4a8acb 100644 --- a/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/List.test.js +++ b/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/List.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunit.test.js b/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunit.test.js index 84de3c7eeafb65fbaa19a8cd3280002e983b0c4a..054483903465346b7d05d91e697491ce63f92588 100644 --- a/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunit.test.js +++ b/distributeddatamgr/dataObjectjstest/hap/src/main/js/test/ObjectStoreJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/dataSharejstest/hap/src/main/js/test/DataAbilityPredicatesJsunit.test.js b/distributeddatamgr/dataSharejstest/hap/src/main/js/test/DataAbilityPredicatesJsunit.test.js index 9b03e957e67e7a29434a1016a27990c57f069c89..16aeaa29460348e48853666771fb189b27b9774f 100644 --- a/distributeddatamgr/dataSharejstest/hap/src/main/js/test/DataAbilityPredicatesJsunit.test.js +++ b/distributeddatamgr/dataSharejstest/hap/src/main/js/test/DataAbilityPredicatesJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/dataSharejstest/hap/src/main/js/test/List.test.js b/distributeddatamgr/dataSharejstest/hap/src/main/js/test/List.test.js index 9019133c47eef289168bcc05c9c69b9c08a5bd10..5d928d4447e9137b6d4426105890c2497534c17b 100644 --- a/distributeddatamgr/dataSharejstest/hap/src/main/js/test/List.test.js +++ b/distributeddatamgr/dataSharejstest/hap/src/main/js/test/List.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvManagerKVCallbackJsTest.js b/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvManagerKVCallbackJsTest.js index 4283b1d8da2bce7dfa369159c5851773d0d681b5..45504a80ce199ecf8d65737df295c0046f9ff6f0 100644 --- a/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvManagerKVCallbackJsTest.js +++ b/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvManagerKVCallbackJsTest.js @@ -496,5 +496,85 @@ describe('kvManagerCallbackTest', function () { done(); } }) + + /** + * @tc.number SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0100 + * @tc.desc Test Js Api createKVManager() testcase 001 + * @tc.type: FUNC + * @tc.name Test Js Api createKVManager() testcase 001 + */ + it('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0100', 0, async function (done) { + console.info('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0100 start'); + let kvManagerConfig = { + bundleName : [TEST_BUNDLE_NAME], + context: context + } + try{ + factory.createKVManager(kvManagerConfig); + expect(false).assertTrue(); + }catch(err){ + console.info(`Create kvManager error: error code is ${err.code}, error message is ${err.message}`); + expect(err.code).assertEqual("401"); + } + done(); + }) + + /** + * @tc.number SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0200 + * @tc.desc Test Js Api createKVManager() testcase 002 + * @tc.type: FUNC + * @tc.name Test Js Api createKVManager() testcase 002 + */ + it('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0200', 0, async function (done) { + console.info('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0200 start '); + let kvManagerConfig = { + bundleName : TEST_BUNDLE_NAME, + context: "context" + } + try{ + factory.createKVManager(kvManagerConfig); + expect(false).assertTrue(); + }catch(err){ + console.info(`Create kvManager error: error code is ${err.code}, error message is ${err.message}`); + expect(err.code).assertEqual("401"); + } + done(); + }) + + /** + * @tc.number SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0300 + * @tc.desc Test Js Api createKVManager() testcase 003 + * @tc.type: FUNC + * @tc.name Test Js Api createKVManager() testcase 003 + */ + it('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0300', 0, async function (done) { + console.info('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0300 start '); + try{ + factory.createKVManager("kvManagerConfig"); + expect(false).assertTrue(); + }catch(err){ + console.info(`Create kvManager error: error code is ${err.code}, error message is ${err.message}`); + expect(err.code).assertEqual("401"); + } + done(); + }) + + /** + * @tc.number SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0400 + * @tc.desc Test Js Api createKVManager() testcase 004 + * @tc.type: FUNC + * @tc.name Test Js Api createKVManager() testcase 004 + */ + it('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0400', 0, async function (done) { + console.info('SUB_DDM_DKV_KVMANAGER_CREATEKVMANAGER_0400 start '); + try{ + factory.createKVManager(); + expect(false).assertTrue(); + }catch(err){ + console.info(`Create kvManager error: error code is ${err.code}, error message is ${err.message}`); + expect(err.code).assertEqual("401"); + } + done(); + }) }) } \ No newline at end of file diff --git a/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerCallbackJsunit.test.js b/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerCallbackJsunit.test.js index 08bc6006bb9d40debcd4094a3cfa179d10376893..f476677e1016566c9689be9611f7b93a1b18b133 100644 --- a/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerCallbackJsunit.test.js +++ b/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerCallbackJsunit.test.js @@ -909,7 +909,7 @@ describe('kvManagerCallbackTest', function () { done(); } }) - + /** * @tc.number SUB_DISTRIBUTEDDATAMGR_KVSTORE_PUT_CALLBACK_1000 * @tc.name [JS-API8]KVStore.Put @@ -939,5 +939,56 @@ describe('kvManagerCallbackTest', function () { done(); } }) + + /** + * @tc.number SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_CALLBACK_0100 + * @tc.name [JS-API8]createKVManager + * @tc.desc Test Js Api createKVManager testcase 001 + */ + it('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_CALLBACK_0100', 0, async function (done) { + console.info('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_CALLBACK_0100 start'); + const kvManagerConfig = { + bundleName: [TEST_BUNDLE_NAME], + userInfo: { + userId: '0', + userType: factory.UserType.SAME_USER_ID + } + } + factory.createKVManager(kvManagerConfig, (err, data) => { + if(err != null){ + console.info(`Create kvManager error: ${err}`) + done() + }else{ + console.info("Create kvManager success") + expect(false).assertTrue(); + done(); + } + }) + }) + + /** + * @tc.number SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_CALLBACK_0200 + * @tc.name [JS-API8]createKVManager + * @tc.desc Test Js Api createKVManager testcase 001 + */ + it('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_CALLBACK_0200', 0, async function (done) { + console.info('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_CALLBACK_0200 start'); + try{ + factory.createKVManager("kvManagerConfig", (err, data) => { + if(err != null){ + console.info(`Create kvManager error: ${err}`) + done() + }else{ + console.info("Create kvManager success") + expect(false).assertTrue(); + done(); + } + }) + }catch(err){ + console.info(`Create kvManager error: ${err}`) + expect(err != null).assertTrue(); + done(); + } + }) }) } \ No newline at end of file diff --git a/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerPromiseJsunit.test.js b/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerPromiseJsunit.test.js index cf03be1ae697c1243c5b4e18abf7d6d6801842eb..bfa17707c6d0889e5f68f1a21d1c07cf16ce8fcc 100644 --- a/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerPromiseJsunit.test.js +++ b/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/KvManagerPromiseJsunit.test.js @@ -845,5 +845,47 @@ describe('kvManagerPromiseTest', function () { done(); }) + /** + * @tc.number SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_PROMISE_0100 + * @tc.name [JS-API8]createKVManager + * @tc.desc Test Js Api createKVManager testcase 001 + */ + it('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_PROMISE_0100', 0, async function (done) { + console.info('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_PROMISE_0100 start'); + const kvManagerConfig = { + bundleName: [TEST_BUNDLE_NAME], + userInfo: { + userId: '0', + userType: factory.UserType.SAME_USER_ID + }, + context:contextApplication + } + factory.createKVManager(kvManagerConfig).then((manager) => { + console.info("Create kvManager success") + expect(false).assertTrue(); + done(); + }).catch((err) => { + console.info(`Create kvManager error: ${err}`) + done() + }) + }) + + /** + * @tc.number SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_PROMISE_0200 + * @tc.name [JS-API8]createKVManager + * @tc.desc Test Js Api createKVManager testcase 001 + */ + it('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_PROMISE_0200', 0, async function (done) { + console.info('SUB_DISTRIBUTEDDATAMGR_CREATEKVMANAGER_PROMISE_0200 start'); + factory.createKVManager("kvManagerConfig").then((manager) => { + console.info("Create kvManager success") + expect(false).assertTrue(); + done(); + }).catch((err) => { + console.info(`Create kvManager error: ${err}`) + expect(err != null).assertTrue(); + done(); + }) + }) }) } \ No newline at end of file diff --git a/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js b/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js index f6c767050c3be615338a568fb6c62e9a951a63cf..8bcfb355c59bedbc6577e443a4f7be13b9bb046e 100644 --- a/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js +++ b/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js @@ -2263,6 +2263,8 @@ describe('singleKvStoreCallbackTest', function () { */ it('testSingleKvStoreCloseResultSet104', 0, async function (done) { console.info('SingleKvStoreCloseResultSetCallbackTest004'); + + kvStore.closeResultSet("",(err, data) => { if(err != undefined){ console.info(`SingleKvStoreCloseResultSetCallbackTest004 close result error, error is ${err}`) diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/List.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/List.test.js index ac1ff838326d0432430addb4579d73a26a026515..7582fdfcc7877de482c8b10d6879617579947857 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/List.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/List.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesCallBackJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesCallBackJsunit.test.js index 5304dcfb38f4ab114bf314ed5d826ef7512d340c..faa7ef2461b7a7c621e834e69cc4430f333247c7 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesCallBackJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesCallBackJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesPromiseJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesPromiseJsunit.test.js index 4c6207456cf11971410c29e1b0b043068f8a25ce..b2701b332a83d2c7318ae2cf53986c0b3d686808 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesPromiseJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/PreferencesPromiseJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageCallBackJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageCallBackJsunit.test.js index 8119b0901a0a7e60798ba8e14769addb2ac00183..17e55680ab4ad7d1a623e5cce4fb44cccce8ff42 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageCallBackJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageCallBackJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageHelperJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageHelperJsunit.test.js index a4a7ea095a599064cb66fc88dc43672cf8f7ebf0..2cba0e233681bff89f8577b058d6dca8dc4e0dbf 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageHelperJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageHelperJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StoragePromiseJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StoragePromiseJsunit.test.js index bddc402152574f850c0eb05241e05f428d35594f..0f905a039139f0c14d0875a72858aa1478991f80 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StoragePromiseJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StoragePromiseJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageSyncJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageSyncJsunit.test.js index d3ef4479b6c80ac0210dcdf7a53463f135093b7b..f2b2fb2a2fb4a3b52a6291a06ec0b98692c4b3ae 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageSyncJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageSyncJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesCallBackJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesCallBackJsunit.test.js index b58db0ae7c91d78df9526cdf9d7490569875d1fc..ff69505377fd7ffdbc0c1cdb3bf75ba4cc1dce06 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesCallBackJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesCallBackJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesPromiseJsunit.test.js b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesPromiseJsunit.test.js index cac7c359f84d25d18d295d9d17dda6d7be18f167..f1774d4c5d65be8bb9172f55f0461fdf8c1770f6 100644 --- a/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesPromiseJsunit.test.js +++ b/distributeddatamgr/preferencesjstest/hap/src/main/js/test/V9_PreferencesPromiseJsunit.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/List.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/List.test.js index 84bcde52bf21fa6139556987a94939085268059f..efc32fd2bd120592a557b490e137ee2263924a30 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/List.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/List.test.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Huawei Device Co., Ltd. +* Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js index 13b05bad9b3fa290052e6d265175be39844ae6e7..33a10dbed44adbabe84b6c97b348f9efa9810dc6 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreResultSetJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreResultSetJsunit.test.js index 639e7266fab94e94d237fa09e35a93e04436bae4..906aea8f42e3c909d1136fe0aabeaae7049a1cf6 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreResultSetJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbStoreResultSetJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreDeleteJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreDeleteJsunit.test.js index 9724271606ae6be1389b9087f9f831946e6565dc..7f7089c638a6a8976102967eaf3bd38269f05dd0 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreDeleteJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreDeleteJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js index 440dab92cc93ead9dd569b0b36052d65d939572c..77ff84fb553d2397a561cecdbb94250f73eb399d 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreQuery.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreQuery.test.js index e2e2461fa8847637b413145057251f7b6ec26cb8..f32eca44e16eaef61e953d5e7edbd9b32dee0b9e 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreQuery.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreQuery.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreRdbstoreJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreRdbstoreJsunit.test.js index 139d67d08598f1c6bbb660c2c4cd6ee22cd2d505..006aab34d5103fb360a45d423115554676734230 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreRdbstoreJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreRdbstoreJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreStoreExcuteSqlJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreStoreExcuteSqlJsunit.test.js index d6ef99fad522a2806bc103af019d7a5e1ea0f15d..948da0641eba69f9ec9f1df4cd8375c40977a2b6 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreStoreExcuteSqlJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreStoreExcuteSqlJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreTransactionJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreTransactionJsunit.test.js index 5c3a89475a354cb1ff4eded1fe75a1b2ba3bc096..0b67bd78de7f9c859ce7f39f6a80d29bc35d4bc0 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreTransactionJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreTransactionJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreUpdateJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreUpdateJsunit.test.js index 07a2387339d39f4a7af0d73c356a4cba1879dad7..79d0383a44f2e244cdd4bab58037e46a96b2ceba 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreUpdateJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RdbstoreUpdateJsunit.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at