From 427ac1bbe88e287076107e6ca8a754831f781a7b Mon Sep 17 00:00:00 2001 From: qu-xianfei Date: Thu, 9 Mar 2023 16:45:59 +0800 Subject: [PATCH] add new device_attest testcase Signed-off-by: qu-xianfei Change-Id: Ie0a13f86579e4ce6e252b378463deea0e79e80ac --- xts/BUILD.gn | 2 +- .../AppScope/app.json | 0 .../AppScope/resources/base/element/string.json | 0 .../AppScope/resources/base/media/app_icon.png | Bin xts/{deviceAttest => device_attest}/BUILD.gn | 0 xts/{deviceAttest => device_attest}/Test.json | 0 .../entry/src/main/ets/Application/AbilityStage.ts | 0 .../entry/src/main/ets/MainAbility/MainAbility.ts | 0 .../src/main/ets/MainAbility/pages/index/index.ets | 0 .../entry/src/main/ets/TestAbility/TestAbility.ts | 0 .../entry/src/main/ets/TestAbility/pages/index.ets | 0 .../main/ets/TestRunner/OpenHarmonyTestRunner.ts | 0 .../entry/src/main/ets/test/List.test.ets | 0 .../src/main/ets/test/deviceAttestInfo.test.ets | 0 .../entry/src/main/module.json | 0 .../src/main/resources/base/element/string.json | 0 .../entry/src/main/resources/base/media/icon.png | Bin .../src/main/resources/base/profile/main_pages.json | 0 .../signature/openharmony_sx.p7b | Bin 19 files changed, 1 insertion(+), 1 deletion(-) rename xts/{deviceAttest => device_attest}/AppScope/app.json (100%) rename xts/{deviceAttest => device_attest}/AppScope/resources/base/element/string.json (100%) rename xts/{deviceAttest => device_attest}/AppScope/resources/base/media/app_icon.png (100%) rename xts/{deviceAttest => device_attest}/BUILD.gn (100%) rename xts/{deviceAttest => device_attest}/Test.json (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/Application/AbilityStage.ts (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/MainAbility/MainAbility.ts (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/MainAbility/pages/index/index.ets (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/TestAbility/TestAbility.ts (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/TestAbility/pages/index.ets (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/test/List.test.ets (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/ets/test/deviceAttestInfo.test.ets (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/module.json (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/resources/base/element/string.json (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/resources/base/media/icon.png (100%) rename xts/{deviceAttest => device_attest}/entry/src/main/resources/base/profile/main_pages.json (100%) rename xts/{deviceAttest => device_attest}/signature/openharmony_sx.p7b (100%) diff --git a/xts/BUILD.gn b/xts/BUILD.gn index b5a454e89..3f1b5163d 100644 --- a/xts/BUILD.gn +++ b/xts/BUILD.gn @@ -16,6 +16,6 @@ import("//build/ohos_var.gni") group("xts") { testonly = true if (is_standard_system) { - deps = [ "deviceAttest:deviceAttest_hap_test" ] + deps = [ "device_attest:deviceAttest_hap_test" ] } } diff --git a/xts/deviceAttest/AppScope/app.json b/xts/device_attest/AppScope/app.json similarity index 100% rename from xts/deviceAttest/AppScope/app.json rename to xts/device_attest/AppScope/app.json diff --git a/xts/deviceAttest/AppScope/resources/base/element/string.json b/xts/device_attest/AppScope/resources/base/element/string.json similarity index 100% rename from xts/deviceAttest/AppScope/resources/base/element/string.json rename to xts/device_attest/AppScope/resources/base/element/string.json diff --git a/xts/deviceAttest/AppScope/resources/base/media/app_icon.png b/xts/device_attest/AppScope/resources/base/media/app_icon.png similarity index 100% rename from xts/deviceAttest/AppScope/resources/base/media/app_icon.png rename to xts/device_attest/AppScope/resources/base/media/app_icon.png diff --git a/xts/deviceAttest/BUILD.gn b/xts/device_attest/BUILD.gn similarity index 100% rename from xts/deviceAttest/BUILD.gn rename to xts/device_attest/BUILD.gn diff --git a/xts/deviceAttest/Test.json b/xts/device_attest/Test.json similarity index 100% rename from xts/deviceAttest/Test.json rename to xts/device_attest/Test.json diff --git a/xts/deviceAttest/entry/src/main/ets/Application/AbilityStage.ts b/xts/device_attest/entry/src/main/ets/Application/AbilityStage.ts similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/Application/AbilityStage.ts rename to xts/device_attest/entry/src/main/ets/Application/AbilityStage.ts diff --git a/xts/deviceAttest/entry/src/main/ets/MainAbility/MainAbility.ts b/xts/device_attest/entry/src/main/ets/MainAbility/MainAbility.ts similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/MainAbility/MainAbility.ts rename to xts/device_attest/entry/src/main/ets/MainAbility/MainAbility.ts diff --git a/xts/deviceAttest/entry/src/main/ets/MainAbility/pages/index/index.ets b/xts/device_attest/entry/src/main/ets/MainAbility/pages/index/index.ets similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/MainAbility/pages/index/index.ets rename to xts/device_attest/entry/src/main/ets/MainAbility/pages/index/index.ets diff --git a/xts/deviceAttest/entry/src/main/ets/TestAbility/TestAbility.ts b/xts/device_attest/entry/src/main/ets/TestAbility/TestAbility.ts similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/TestAbility/TestAbility.ts rename to xts/device_attest/entry/src/main/ets/TestAbility/TestAbility.ts diff --git a/xts/deviceAttest/entry/src/main/ets/TestAbility/pages/index.ets b/xts/device_attest/entry/src/main/ets/TestAbility/pages/index.ets similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/TestAbility/pages/index.ets rename to xts/device_attest/entry/src/main/ets/TestAbility/pages/index.ets diff --git a/xts/deviceAttest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts b/xts/device_attest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts rename to xts/device_attest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts diff --git a/xts/deviceAttest/entry/src/main/ets/test/List.test.ets b/xts/device_attest/entry/src/main/ets/test/List.test.ets similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/test/List.test.ets rename to xts/device_attest/entry/src/main/ets/test/List.test.ets diff --git a/xts/deviceAttest/entry/src/main/ets/test/deviceAttestInfo.test.ets b/xts/device_attest/entry/src/main/ets/test/deviceAttestInfo.test.ets similarity index 100% rename from xts/deviceAttest/entry/src/main/ets/test/deviceAttestInfo.test.ets rename to xts/device_attest/entry/src/main/ets/test/deviceAttestInfo.test.ets diff --git a/xts/deviceAttest/entry/src/main/module.json b/xts/device_attest/entry/src/main/module.json similarity index 100% rename from xts/deviceAttest/entry/src/main/module.json rename to xts/device_attest/entry/src/main/module.json diff --git a/xts/deviceAttest/entry/src/main/resources/base/element/string.json b/xts/device_attest/entry/src/main/resources/base/element/string.json similarity index 100% rename from xts/deviceAttest/entry/src/main/resources/base/element/string.json rename to xts/device_attest/entry/src/main/resources/base/element/string.json diff --git a/xts/deviceAttest/entry/src/main/resources/base/media/icon.png b/xts/device_attest/entry/src/main/resources/base/media/icon.png similarity index 100% rename from xts/deviceAttest/entry/src/main/resources/base/media/icon.png rename to xts/device_attest/entry/src/main/resources/base/media/icon.png diff --git a/xts/deviceAttest/entry/src/main/resources/base/profile/main_pages.json b/xts/device_attest/entry/src/main/resources/base/profile/main_pages.json similarity index 100% rename from xts/deviceAttest/entry/src/main/resources/base/profile/main_pages.json rename to xts/device_attest/entry/src/main/resources/base/profile/main_pages.json diff --git a/xts/deviceAttest/signature/openharmony_sx.p7b b/xts/device_attest/signature/openharmony_sx.p7b similarity index 100% rename from xts/deviceAttest/signature/openharmony_sx.p7b rename to xts/device_attest/signature/openharmony_sx.p7b -- GitLab