提交 55ef150e 编写于 作者: C chengxingzhen

XTS测试套名字整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 9c38f80c
......@@ -17,15 +17,14 @@ group("aafwk_standard") {
testonly = true
if (is_standard_system) {
deps = [
"ActsAbilityDelegatorCaseTest:ActsAbilityDelegatorCaseTest",
"ActsAbilityLifecycleStateNewTest:ActsAbilityLifecycleStateNewTest",
"ActsDataAbilityJsTest:ActsDataAbilityJsTest",
"ActsKillProcessWithAccountApi7:ActsKillProcessWithAccountApi7",
"ActsStServiceAbilityClientCaseTest:ActsStServiceAbilityClientCaseTest",
"abilitymanager:actsabilitymanagertest",
"actsabilitydelegatorcase:ActsAbilityDelegatorCaseTest",
"actsabilitydistributetest:ActsAbilityDistributeTest",
"actsabilitydistributetest:ActsAbilityDistributeTest",
"actsabilitylifecyclestatenew:ActsAbilityLifecycleStateNewTest",
"actsabilitymanageretstest:ActsAbilityManagerEtsTest",
"actsdataabilityjs:ActsDataAbilityJsTest",
"actskillprocesswithaccount:ActsKillProcessWithAccountApi7Test",
"actsstserviceabilityclientcase:ActsStServiceAbilityClientCaseTest",
"amsabilitymanager/amsMissionSnapshotTest:ActsAmsMissionSnapshotTest",
"amsabilitymanager/amsMissionSnapshotTestSingleton:ActsAmsMissionSnapshotTestSingleton",
"amsabilitymanager/amsMissionSnapshotTestSingletonS:ActsAmsMissionSnapshotTestSingletonS",
......@@ -54,10 +53,6 @@ group("aafwk_standard") {
"featureability:featureability",
"formmanager:formmanager",
"lanuageConfigapi7:lanuageConfigapi7",
"serviceability/sceneProject/particlestartability:ParticleStartAbility",
"serviceability/sceneProject/particletestserver:ParticleTestServer",
"serviceability/stserviceabilityserver:amsStServiceAilityServer",
"serviceability/stserviceabilityserversecond:ActsAmsStServiceAilityServerSecondTest",
"setshowonlockscreen:setshowonlockscreen",
"want:want",
]
......
......@@ -13,12 +13,12 @@
import("//test/xts/tools/build/suite.gni")
group("ActsKillProcessWithAccountApi7") {
group("ActsKillProcessWithAccountApi7Test") {
testonly = true
if (is_standard_system) {
deps = [
"ActsKillProcessWithAccountApi7Test:ActsKillProcessWithAccountApi7Test",
"ActsKillProcessWithAccountCloseApi7:ActsKillProcessWithAccountCloseApi7",
"actskillprocesswithaccountapi7:ActsKillProcessWithAccountApi7Test",
"actskillprocesswithaccountclose:ActsKillProcessWithAccountCloseApi7",
]
}
}
......@@ -17,7 +17,7 @@ group("amsprocessmanageapi7") {
testonly = true
if (is_standard_system) {
deps = [
"actsprocessmanagejstest:ActsAmsProcessManageJsTestApi7",
"actsprocessmanagejstest:ActsAmsProcessManageJsApi7Test",
"pmsystemappa:ActsAmsProcessManageSystemAppAApi7",
"pmsystemappamulti:ActsAmsProcessManageSystemAppAMultiApi7",
"pmsystemappb:ActsAmsProcessManageSystemAppBApi7",
......
......@@ -13,8 +13,8 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAmsProcessManageJsTestApi7") {
hap_name = "ActsAmsProcessManageJsTestApi7"
ohos_js_hap_suite("ActsAmsProcessManageJsApi7Test") {
hap_name = "ActsAmsProcessManageJsApi7Test"
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"ActsAmsProcessManageJsTestApi7.hap"
"ActsAmsProcessManageJsApi7Test.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
......@@ -59,7 +59,7 @@ var uriSystemA = 'internal://cache/../../com.acts.pmsystemappaapi7/';
var uriSystemB = 'internal://cache/../../com.acts.pmsystemappbapi7/';
var uriVendorA = 'internal://cache/../../com.acts.pmvendorappaapi7/';
describe('ActsAmsProcessManageJsTestApi7', function () {
describe('ActsAmsProcessManageJsApi7Test', function () {
beforeEach(async (done) => {
await clearMissionId();
......
# Copyright (C) 2021 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_hap("ParticleStartAbility") {
hap_profile = "./src/main/config.json"
hap_name = "ParticleStartAbility"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./src/main/js/resources" ]
hap_profile = "./src/main/config.json"
}
{
"app": {
"bundleName": "com.example.particlestartability",
"vendor": "example",
"version": {
"code": 1,
"name": "1.0"
},
"apiVersion": {
"compatible": 4,
"target": 5,
"releaseType": "Beta1"
}
},
"deviceConfig": {},
"module": {
"package": "com.example.particlestartability",
"name": ".MyApplication",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleType": "entry"
},
"abilities": [
{
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
],
"name": "com.example.particlestartability.MainAbility",
"visible": true,
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:app_name",
"type": "page",
"launchType": "standard"
}
],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [
{
"pages": [
"pages/index/index"
],
"name": "default",
"window": {
"designWidth": 720,
"autoDesignWidth": false
}
}
]
}
}
\ No newline at end of file
/*
* Copyright (c) 2021 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export default {
onCreate() {
console.info('AceApplication onCreate');
},
onDestroy() {
console.info('AceApplication onDestroy');
}
};
{
"strings": {
"hello": "Hello",
"world": "World"
}
}
\ No newline at end of file
{
"strings": {
"hello": "您好",
"world": "世界"
}
}
\ No newline at end of file
.container {
flex-direction: column;
justify-content: center;
align-items: center;
}
.title {
font-size: 100px;
}
<div class="container">
<text class="title">
{{ $t('strings.hello') }} {{ title }}
</text>
</div>
/*
* Copyright (c) 2021 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import commonEvent from '@ohos.commonEvent'
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
function publishCallBackOne() {
console.debug("====>Publish CallBack ACTS_Particle_StartAbility_0100_CommonEvent====>");
}
function publishCallBackTwo() {
console.debug("====>Publish CallBack ACTS_Particle_StartAbility_0200_CommonEvent====>");
}
export default {
data: {
title: "ParticleStartAbility"
},
onInit() {
this.title = "ParticleStartAbility";
},
onShow() {
commonEvent.publish("ACTS_Particle_StartAbility_0100_CommonEvent", publishCallBackOne);
commonEvent.publish("ACTS_Particle_StartAbility_0200_CommonEvent", publishCallBackTwo);
},
onReady() {
},
}
{
"string": [
{
"name": "app_name",
"value": "particlestartability"
},
{
"name": "mainability_description",
"value": "JS_Phone_Empty Feature Ability"
}
]
}
\ No newline at end of file
# Copyright (c) 2021 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_hap("ParticleTestServer") {
hap_profile = "./src/main/config.json"
hap_name = "ParticleTestServer"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./src/main/js/resources" ]
hap_profile = "./src/main/config.json"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册