提交 aee80072 编写于 作者: O openharmony_ci 提交者: Gitee

!455 修改ACE JS用例

Merge pull request !455 from jiyong/master
...@@ -3,49 +3,37 @@ ...@@ -3,49 +3,37 @@
"bundleName": "com.example.aceceshi", "bundleName": "com.example.aceceshi",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1000000,
"name": "1.0" "name": "1.0.0"
},
"apiVersion": {
"compatible": 5,
"target": 5,
"releaseType": "Release"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.aceceshi",
"name": "testModule",
"deviceType": [ "deviceType": [
"phone" "liteWearable",
"smartVision"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
"moduleName": "entry_test", "moduleName": "entry",
"moduleType": "feature" "moduleType": "entry"
}, },
"abilities": [ "abilities": [
{ {
"name": "decc.testkit.runner.JsEntryAbility", "name": "default",
"description": "Test Entry Ability",
"icon": "$media:icon", "icon": "$media:icon",
"label": "TestAbility", "label": "$string:entry_MainAbility",
"launchType": "standard",
"orientation": "landscape",
"visible": true,
"type": "page" "type": "page"
} }
], ],
"js": [ "js": [
{ {
"pages": [
"pages/index/index"
],
"name": "default", "name": "default",
"window": { "pages": [
"designWidth": 750, "pages/index/index",
"autoDesignWidth": false "pages/routerPush/index",
} "pages/routerReplace/index"
]
} }
] ]
} }
......
/*
* 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 { export default {
onCreate() { onCreate() {
console.info('TestApplication onCreate'); console.info("Application onCreate");
}, },
onDestroy() { onDestroy() {
console.info('TestApplication onDestroy'); console.info("Application onDestroy");
} }
}; };
...@@ -2,7 +2,5 @@ ...@@ -2,7 +2,5 @@
"strings": { "strings": {
"hello": "Hello", "hello": "Hello",
"world": "World" "world": "World"
},
"Files": {
} }
} }
\ No newline at end of file
...@@ -2,7 +2,5 @@ ...@@ -2,7 +2,5 @@
"strings": { "strings": {
"hello": "您好", "hello": "您好",
"world": "世界" "world": "世界"
},
"Files": {
} }
} }
\ No newline at end of file
.container { .container {
flex-direction: column; width: 454px;
height: 454px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.title { .title {
font-size: 100px; width: 200px;
font-size: 30px;
text-align: center;
} }
<div class="container"> <div class="container">
<text class="title"> <text class="title">
{{ $t('strings.hello') }} {{title}} Hello {{ title }}
</text> </text>
</div> </div>
...@@ -21,9 +21,6 @@ export default { ...@@ -21,9 +21,6 @@ export default {
}, },
onInit() { onInit() {
this.title = this.$t('strings.world'); this.title = this.$t('strings.world');
},
onShow() {
console.info('onShow finish')
const core = Core.getInstance() const core = Core.getInstance()
const expectExtend = new ExpectExtend({ const expectExtend = new ExpectExtend({
'id': 'extend' 'id': 'extend'
...@@ -39,6 +36,9 @@ export default { ...@@ -39,6 +36,9 @@ export default {
require('../../../test/List.test') require('../../../test/List.test')
core.execute() core.execute()
}, },
onShow() {
console.info('onShow finish')
},
onReady() { onReady() {
}, },
} }
.container {
width: 454px;
height: 454px;
justify-content: center;
align-items: center;
}
.title {
width: 200px;
font-size: 30px;
text-align: center;
}
<div class="container">
<text class="title">
{{ 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.
*/
export default {
data: {
title: "router push test"
},
onInit() {
},
onShow() {
},
onReady() {
},
}
.container {
width: 454px;
height: 454px;
justify-content: center;
align-items: center;
}
.title {
width: 200px;
font-size: 30px;
text-align: center;
}
<div class="container">
<text class="title">
{{ 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.
*/
export default {
data: {
title: "router replace test"
},
onInit() {
},
onShow() {
},
onReady() {
},
}
...@@ -16,33 +16,47 @@ ...@@ -16,33 +16,47 @@
import configuration from '@system.configuration'; import configuration from '@system.configuration';
import prompt from '@system.prompt'; import prompt from '@system.prompt';
import router from '@system.router'; import router from '@system.router';
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index';
describe('basicabilityapi', function() { describe('basicabilityapi', function () {
let testResult; let testResult;
let testResultFail; let testResultFail;
let test; let test;
beforeAll(function() { beforeAll(function () {
testResult = true; testResult = true;
testResultFail = false; testResultFail = false;
test="success" test = "success"
});
beforeEach(function () {
});
afterEach(function () {
});
afterAll(function () {
}); });
beforeEach(function() {});
afterEach(function() {});
/** /**
* @tc.number SUB_ACE_BASICABILITY_JS_API_0100 * @tc.number SUB_ACE_BASICABILITY_JS_API_0100
* @tc.name testClearInterval * @tc.name testClearInterval
* @tc.desc Cancel the repetitive timing tasks previously set by setInterval. * @tc.desc Cancel the repetitive timing tasks previously set by setInterval.
*/ */
it('testClearInterval', 0, function() { it('testClearInterval', 0, async function(done) {
console.info('testClearInterval START'); console.info('testClearInterval START');
let intervalID = setInterval(function() { let res = 0;
console.info('TEST do very 1s.'); let intervalID = await setInterval(function () {
res++;
console.info('testClearInterval res = ' + res);
}, 100);
await setTimeout(function () {
console.info('[clearInterval] start');
clearInterval(intervalID);
console.info('[clearInterval] end');
}, 600);
await setTimeout(function () {
console.info('testClearInterval finally');
expect(5).assertEqual(res);
console.info('testClearInterval END');
done();
}, 1000); }, 1000);
clearInterval(intervalID);
expect(test).assertEqual('success');
console.info('[clearInterval] success');
console.info('testClearInterval END');
}); });
/** /**
...@@ -50,7 +64,7 @@ describe('basicabilityapi', function() { ...@@ -50,7 +64,7 @@ describe('basicabilityapi', function() {
* @tc.name testConsole * @tc.name testConsole
* @tc.desc Print a text message. * @tc.desc Print a text message.
*/ */
it('testConsole', 0, function() { it('testConsole', 0, function () {
console.info('testConsole START'); console.info('testConsole START');
const versionCode = 1.1; const versionCode = 1.1;
console.info('[console.info] versionCode: ' + versionCode); console.info('[console.info] versionCode: ' + versionCode);
...@@ -67,18 +81,47 @@ describe('basicabilityapi', function() { ...@@ -67,18 +81,47 @@ describe('basicabilityapi', function() {
* @tc.name testRouterPush * @tc.name testRouterPush
* @tc.desc Go to the specified page of the application. * @tc.desc Go to the specified page of the application.
*/ */
it('testRouterPush', 0, function() { it('testRouterPush', 0, async function (done) {
router.push({ console.info('testRouterPush START');
uri:'pages/routePush/index', await setTimeout(() => {
params: { router.push({
myData:'this is params data' uri: 'pages/routerPush/index'
} });
}); }, 500);
setTimeout(() => { await setTimeout(() => {
let pages = router.getState(); let pages = router.getState();
console.info("[router.clear] getState"+JSON.stringify(pages)); console.info("[router.push] getState" + JSON.stringify(pages));
expect("pages/routerPush/").assertEqual(pages.path);
console.info("[router.push] getLength:" + router.getLength());
expect("2").assertEqual(router.getLength());
console.info('testRouterPush SUCCESS');
router.back();
console.info('testRouterPush END');
done();
}, 1000);
});
/**
* @tc.number SUB_ACE_BASICABILITY_JS_API_0310
* @tc.name testRouterPushNotExist
* @tc.desc Test push not exist page.
*/
it('testRouterPushNotExist', 0, async function (done) {
console.info('testRouterPushNotExist START');
await setTimeout(() => {
router.push({
uri: 'pages/routerNotExist/index'
});
}, 500); }, 500);
expect(test).assertEqual('success'); await setTimeout(() => {
let pages = router.getState();
console.info("testRouterPushNotExist getState" + JSON.stringify(pages));
expect("pages/index/").assertEqual(pages.path);
console.info("testRouterPushNotExist getLength:" + router.getLength());
expect("1").assertEqual(router.getLength());
console.info('testRouterPushNotExist END');
done();
}, 1000);
}); });
/** /**
...@@ -86,17 +129,52 @@ describe('basicabilityapi', function() { ...@@ -86,17 +129,52 @@ describe('basicabilityapi', function() {
* @tc.name testRouterReplace * @tc.name testRouterReplace
* @tc.desc Replace the current page with a page in the application, and destroy the replaced page. * @tc.desc Replace the current page with a page in the application, and destroy the replaced page.
*/ */
it('testRouterReplace', 0, function() { it('testRouterReplace', 0, async function (done) {
console.info('testRouterReplace START'); console.info('testRouterReplace START');
router.replace({ await setTimeout(() => {
uri: 'pages/routerReplace/index', router.push({
params: { uri: 'pages/routerPush/index'
data1: 'message', });
} }, 500);
}); await setTimeout(() => {
expect(test).assertEqual('success'); router.replace({
console.info("[router.replace] success"); uri: 'pages/routerReplace/index'
console.info('testRouterReplace END'); });
}, 1000);
await setTimeout(() => {
let pages = router.getState();
console.info("[router.replace] getState" + JSON.stringify(pages));
expect("pages/routerReplace/").assertEqual(pages.path);
console.info("[router.replace] getLength:" + router.getLength());
expect("2").assertEqual(router.getLength());
console.info('testRouterReplace SUCCESS');
router.back();
console.info('testRouterReplace END');
done();
}, 1500);
});
/**
* @tc.number SUB_ACE_BASICABILITY_JS_API_0410
* @tc.name testRouterReplaceNotExist
* @tc.desc Test replace not exist page.
*/
it('testRouterReplaceNotExist', 0, async function (done) {
console.info('testRouterReplaceNotExist START');
await setTimeout(() => {
router.replace({
uri: 'pages/routerNotExist/index'
});
}, 500);
await setTimeout(() => {
let pages = router.getState();
console.info("testRouterReplaceNotExist getState" + JSON.stringify(pages));
expect("pages/index/").assertEqual(pages.path);
console.info("testRouterReplaceNotExist getLength:" + router.getLength());
expect("1").assertEqual(router.getLength());
console.info('testRouterReplaceNotExist END');
done();
}, 1000);
}); });
/** /**
...@@ -104,17 +182,27 @@ describe('basicabilityapi', function() { ...@@ -104,17 +182,27 @@ describe('basicabilityapi', function() {
* @tc.name testRouterBack * @tc.name testRouterBack
* @tc.desc Return to the previous page or the specified page. * @tc.desc Return to the previous page or the specified page.
*/ */
it('testRouterBack', 0, function() { it('testRouterBack', 0, async function (done) {
console.info('testRouterBack START'); console.info('testRouterBack START');
router.push({ await setTimeout(() => {
uri: 'pages/detail/detail' router.push({
}); uri: 'pages/routerPush/index'
router.back({ });
path: 'pages/mediaquery/mediaquery' }, 500);
}); await setTimeout(() => {
expect(test).assertEqual('success'); router.back({
console.info('[router.back] success'); uri: 'pages/index/index'
console.info('testRouterBack END'); });
}, 1000);
await setTimeout(() => {
let pages = router.getState();
console.info("[router.back] getState" + JSON.stringify(pages));
expect("pages/index/").assertEqual(pages.path);
console.info("[router.back] getLength:" + router.getLength());
expect("1").assertEqual(router.getLength());
console.info('testRouterBack END');
done();
}, 1500);
}); });
/** /**
...@@ -122,25 +210,11 @@ describe('basicabilityapi', function() { ...@@ -122,25 +210,11 @@ describe('basicabilityapi', function() {
* @tc.name testRouterClear * @tc.name testRouterClear
* @tc.desc Clear all historical pages in the page stack, and only keep the current page as the top page. * @tc.desc Clear all historical pages in the page stack, and only keep the current page as the top page.
*/ */
it('testRouterClear', 0, function() { it('testRouterClear', 0, function () {
console.info('testRouterClear START'); console.info('testRouterClear START');
new Promise(function(resolve, reject) { router.clear();
router.push({ console.info("[router.clear] router.getLength:" + router.getLength());
uri:'pages/routePush/index', expect("1").assertEqual(router.getLength());
params:{
myData:'message'
}
});
setTimeout(()=>{
console.info("[router.clear] getLength: " + router.getLength());
}, 2000);
resolve();
}).then(function() {
expect(testResult).toBeTrue();
}, function() {
console.log('[router.clear] fail');
expect(testResultFail).toBeTrue();
});
console.info('testRouterClear END'); console.info('testRouterClear END');
}); });
...@@ -149,24 +223,55 @@ describe('basicabilityapi', function() { ...@@ -149,24 +223,55 @@ describe('basicabilityapi', function() {
* @tc.name testRouterLength * @tc.name testRouterLength
* @tc.desc Get the number of pages currently in the page stack. * @tc.desc Get the number of pages currently in the page stack.
*/ */
it('testRouterLength', 0, function() { it('testRouterLength', 0, async function (done) {
router.push({
uri: 'pages/dialog/dialog',
params: {
data1: 'message',
data2: {
data3: [123, 456, 789],
data4: {
data5: 'message'
}
}
}
});
console.info('testRouterLength START'); console.info('testRouterLength START');
let size = router.getLength(); let size = router.getLength();
console.info('[router.getLength] pages stack size = ' + size); console.info('[router.getLength] pages stack size = ' + size);
expect(size).assertEqual('1'); expect(size).assertEqual('1');
console.info('testRouterLength END'); await setTimeout(() => {
router.push({
uri: 'pages/routerPush/index'
});
}, 500);
await setTimeout(() => {
console.info("testRouterLength getLength:" + router.getLength());
expect("2").assertEqual(router.getLength());
console.info('testRouterPush SUCCESS');
router.back();
console.info('testRouterPush END');
done();
}, 1000);
});
/**
* @tc.number SUB_ACE_BASICABILITY_JS_API_0710
* @tc.name testRouterMaxLength
* @tc.desc Test the max number of the page stack is 32.
*/
it('testRouterMaxLength', 0, async function (done) {
console.info('testRouterLength START');
let intervalID = await setInterval(async function () {
await router.push({
uri: 'pages/routerPush/index'
});
await router.push({
uri: 'pages/routerReplace/index'
});
console.info('testRouterMaxLength router.getLength:' + router.getLength());
}, 500);
await setTimeout(() => {
clearInterval(intervalID);
}, 1000 * 17);
await setTimeout(() => {
console.info("testRouterMaxLength getLength:" + router.getLength());
expect("32").assertEqual(router.getLength());
console.info('testRouterMaxLength SUCCESS');
router.back({
uri: 'pages/index/index'
});
console.info('testRouterMaxLength END');
done();
}, (1000 * 18));
}); });
/** /**
...@@ -174,7 +279,7 @@ describe('basicabilityapi', function() { ...@@ -174,7 +279,7 @@ describe('basicabilityapi', function() {
* @tc.name testRouterGetState * @tc.name testRouterGetState
* @tc.desc Get the status information of the current page. * @tc.desc Get the status information of the current page.
*/ */
it('testRouterGetState', 0, function() { it('testRouterGetState', 0, function () {
console.info('testRouterGetState START'); console.info('testRouterGetState START');
let page = router.getState(); let page = router.getState();
console.info('[router.getState] index: ' + page.index); console.info('[router.getState] index: ' + page.index);
...@@ -191,12 +296,12 @@ describe('basicabilityapi', function() { ...@@ -191,12 +296,12 @@ describe('basicabilityapi', function() {
* @tc.name testPromptShowToast * @tc.name testPromptShowToast
* @tc.desc Show text pop-up window. * @tc.desc Show text pop-up window.
*/ */
it('testPromptShowToast', 0, function() { it('testPromptShowToast', 0, function () {
console.info('testPromptShowToast START'); console.info('testPromptShowToast START');
const delay = 5000; const delay = 5000;
prompt.showToast({ prompt.showToast({
message:'message', message: 'message',
duration:delay, duration: delay,
}); });
expect(test).assertEqual('success'); expect(test).assertEqual('success');
console.info('[prompt.showToast] success'); console.info('[prompt.showToast] success');
...@@ -208,7 +313,7 @@ describe('basicabilityapi', function() { ...@@ -208,7 +313,7 @@ describe('basicabilityapi', function() {
* @tc.name testPromptDialog * @tc.name testPromptDialog
* @tc.desc Display the dialog box in the page. * @tc.desc Display the dialog box in the page.
*/ */
it('testPromptDialog', 0, function() { it('testPromptDialog', 0, function () {
console.info('testPromptDialog START') console.info('testPromptDialog START')
prompt.showDialog({ prompt.showDialog({
title: 'dialog showDialog test', title: 'dialog showDialog test',
...@@ -220,15 +325,15 @@ describe('basicabilityapi', function() { ...@@ -220,15 +325,15 @@ describe('basicabilityapi', function() {
index: 0 index: 0
} }
], ],
success: function(ret) { success: function (ret) {
console.info("[prompt.showDialog] ret.index " + ret.index); console.info("[prompt.showDialog] ret.index " + ret.index);
expect(testResult).toBeTrue(); expect(testResult).toBeTrue();
}, },
cancel: function() { cancel: function () {
console.log('[prompt.showDialog] dialog cancel callback'); console.log('[prompt.showDialog] dialog cancel callback');
expect(testResultFail).toBeTrue(); expect(testResultFail).toBeTrue();
}, },
complete: function() { complete: function () {
console.log('[prompt.showDialog] complete'); console.log('[prompt.showDialog] complete');
} }
}); });
...@@ -240,7 +345,7 @@ describe('basicabilityapi', function() { ...@@ -240,7 +345,7 @@ describe('basicabilityapi', function() {
* @tc.name testConfigurationGetLocale * @tc.name testConfigurationGetLocale
* @tc.desc Get the current language and region of the app. Synchronize with the language and region. * @tc.desc Get the current language and region of the app. Synchronize with the language and region.
*/ */
it('testConfigurationGetLocale', 0, function() { it('testConfigurationGetLocale', 0, function () {
console.info('testConfigurationGetLocale START'); console.info('testConfigurationGetLocale START');
const localeInfo = configuration.getLocale(); const localeInfo = configuration.getLocale();
console.info("[configuration.getLocale] language: " + localeInfo.language); console.info("[configuration.getLocale] language: " + localeInfo.language);
...@@ -257,19 +362,23 @@ describe('basicabilityapi', function() { ...@@ -257,19 +362,23 @@ describe('basicabilityapi', function() {
* @tc.name testSetTimeout * @tc.name testSetTimeout
* @tc.desc Set up a timer that executes a function or a specified piece of code after the timer expires. * @tc.desc Set up a timer that executes a function or a specified piece of code after the timer expires.
*/ */
it('testSetTimeout', 0, function() { it('testSetTimeout', 0, async function (done) {
console.info('testSetTimeout START'); console.info('testSetTimeout START');
let start_time = new Date().getTime(); let start_time = new Date().getTime();
const delay = 200; const delay = 200;
console.info("[settimeout] start_time: " + start_time); await setTimeout(function (v1, v2) {
setTimeout(function(v1,v2) {
let end_time = new Date().getTime(); let end_time = new Date().getTime();
console.info('[settimeout] delay: ' + (end_time - start_time) / 1000); console.info("[settimeout] start_time: " + start_time);
console.info("[settimeout] end_time: " + end_time);
console.info('[settimeout] delay: ' + (end_time - start_time));
console.info('[settimeout] v1: ' + v1); console.info('[settimeout] v1: ' + v1);
console.info('[settimeout] v2: ' + v2); console.info('[settimeout] v2: ' + v2);
expect(testResult).toBeTrue(); expect('test').assertEqual(v1);
expect('message').assertEqual(v2);
expect(delay).assertLess(end_time - start_time);
console.info('testSetTimeout END');
done();
}, delay, 'test', 'message'); }, delay, 'test', 'message');
console.info('testSetTimeout END');
}); });
/** /**
...@@ -277,15 +386,22 @@ describe('basicabilityapi', function() { ...@@ -277,15 +386,22 @@ describe('basicabilityapi', function() {
* @tc.name testClearTimeout * @tc.name testClearTimeout
* @tc.desc The timer previously established by calling setTimeout() is cancelled. * @tc.desc The timer previously established by calling setTimeout() is cancelled.
*/ */
it('testClearTimeout', 0, function() { it('testClearTimeout', 0, async function (done) {
console.info('testClearTimeout START'); console.info('testClearTimeout START');
let timeoutID = setTimeout(function() { let res = 0;
console.info('delay 1s'); let timeoutID = setTimeout(function () {
res++;
}, 700);
await setTimeout(function () {
console.info('testClearTimeout delay 0.5s')
clearTimeout(timeoutID);
console.info("[clearTimeout] success");
}, 500);
await setTimeout(function () {
expect(0).assertEqual(res);
console.info('testClearTimeout END');
done();
}, 1000); }, 1000);
clearTimeout(timeoutID);
expect(test).assertEqual('success');
console.info("[clearTimeout] success");
console.info('testClearTimeout END');
}); });
/** /**
...@@ -293,13 +409,18 @@ describe('basicabilityapi', function() { ...@@ -293,13 +409,18 @@ describe('basicabilityapi', function() {
* @tc.name testSetInterval * @tc.name testSetInterval
* @tc.desc Call a function or execute a code segment repeatedly, with a fixed time delay between each call. * @tc.desc Call a function or execute a code segment repeatedly, with a fixed time delay between each call.
*/ */
it('testSetInterval', 0, function() { it('testSetInterval', 0, async function (done) {
console.info('testSetInterval START'); console.info('testSetInterval START');
let intervalID = setInterval(function() { let res = 0;
console.log('do very 1s.'); let intervalID = setInterval(function () {
expect(testResult).toBeTrue(); res++;
}, 1000);
await setTimeout(function () {
expect(9).assertEqual(res);
console.info('testSetInterval SUCCESS');
clearInterval(intervalID);
console.info('testSetInterval END');
done();
}, 1000); }, 1000);
console.info("[setInterval] intervalID: " + intervalID);
console.info('testSetInterval END');
}); });
}); });
\ No newline at end of file
{
"plural":[
{
"name":"plural_name",
"value":[
{
"quantity":"zero",
"value":"%d test zero"
},
{
"quantity":"one",
"value":"%d test one"
},
{
"quantity":"two",
"value":"%d test two"
},
{
"quantity":"few",
"value":"%d test few"
},
{
"quantity":"many",
"value":"%d test many"
},
{
"quantity":"other",
"value":"%d test other"
}
]
}
]
}
\ No newline at end of file
{
"strarray": [
{
"name": "sizeList",
"value":[
{
"value":"small"
},
{
"value":"middle"
},
{
"value":"large"
},
{
"value":"extra large"
}
]
}
]
}
\ No newline at end of file
{ {
"string": [ "string": [
{ {
"name": "app_name", "name": "entry_MainAbility",
"value": "aceceshi" "value": "entry_MainAbility"
},
{
"name": "mainability_description",
"value": "hap sample empty page"
} }
] ]
} }
...@@ -114,7 +114,6 @@ do_make() ...@@ -114,7 +114,6 @@ do_make()
exit 1 exit 1
fi fi
} }
parse_cmdline $@ parse_cmdline $@
do_make do_make
exit 0 exit 0
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册