Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
f2809d2c
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
f2809d2c
编写于
6月 13, 2023
作者:
O
openharmony_ci
提交者:
Gitee
6月 13, 2023
浏览文件
操作
浏览文件
下载
差异文件
!8988 【ACE子系统】删除重复用例或者修改重复的用例名字
Merge pull request !8988 from hekun/master
上级
3d70e498
f529cd64
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
17 addition
and
81 deletion
+17
-81
arkui/ace_ets_component_apilack/entry/src/main/ets/test/listTest.test.ets
...mponent_apilack/entry/src/main/ets/test/listTest.test.ets
+6
-6
arkui/ace_ets_component_apilack/entry/src/main/ets/test/stateManagement.test.ets
..._apilack/entry/src/main/ets/test/stateManagement.test.ets
+4
-4
arkui/ace_ets_component_four/entry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets
...ntry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets
+1
-18
arkui/ace_ets_standard/entry/src/main/ets/test/ProgressJsunit.test.ets
..._standard/entry/src/main/ets/test/ProgressJsunit.test.ets
+1
-1
arkui/ace_ets_test/entry/src/main/ets/test/AppStorageJsunit.test.ets
...ts_test/entry/src/main/ets/test/AppStorageJsunit.test.ets
+3
-4
arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js
...ard/src/main/js/default/test/commonComponentJsApi.test.js
+1
-47
arkui/ace_standard/src/main/js/default/test/videoProps.test.js
.../ace_standard/src/main/js/default/test/videoProps.test.js
+1
-1
未找到文件。
arkui/ace_ets_component_apilack/entry/src/main/ets/test/listTest.test.ets
浏览文件 @
f2809d2c
...
@@ -115,19 +115,19 @@ export default function listNewJsunit() {
...
@@ -115,19 +115,19 @@ export default function listNewJsunit() {
});
});
/*
/*
* @tc.number SUB_ACE_BASIC_ETS_API_000
6
* @tc.number SUB_ACE_BASIC_ETS_API_000
5
* @tc.name testListNe000
6
* @tc.name testListNe000
5
* @tc.desic acelistNeEtsTest000
6
* @tc.desic acelistNeEtsTest000
5
*/
*/
it('testListNe0005', 0, async function (done) {
it('testListNe0005', 0, async function (done) {
console.info('listNe testListNe000
6
START');
console.info('listNe testListNe000
5
START');
await Utils.sleep(2000);
await Utils.sleep(2000);
let strJson = getInspectorByKey('list1');
let strJson = getInspectorByKey('list1');
console.info("[testListNe000
6
] component lanes strJson:" + strJson);
console.info("[testListNe000
5
] component lanes strJson:" + strJson);
let obj = JSON.parse(strJson);
let obj = JSON.parse(strJson);
expect(obj.$type).assertEqual('List');
expect(obj.$type).assertEqual('List');
expect(obj.$attrs.lanes).assertEqual('4');
expect(obj.$attrs.lanes).assertEqual('4');
console.info("[testListNe000
6
] lanes value :" + obj.$attrs.lanes);
console.info("[testListNe000
5
] lanes value :" + obj.$attrs.lanes);
done();
done();
});
});
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/test/stateManagement.test.ets
浏览文件 @
f2809d2c
...
@@ -214,11 +214,11 @@ export default function stateManagementGetSharedJsunit() {
...
@@ -214,11 +214,11 @@ export default function stateManagementGetSharedJsunit() {
/*
/*
* @tc.number SUB_ACE_BASIC_ETS_API_0008
* @tc.number SUB_ACE_BASIC_ETS_API_0008
* @tc.name test_setAndProp_000
1
* @tc.name test_setAndProp_000
2
* @tc.desc bind localStorage
* @tc.desc bind localStorage
*/
*/
it('test_setAndProp_000
1
', 0, async function (done) {
it('test_setAndProp_000
2
', 0, async function (done) {
console.info('test_setAndProp_000
1
START');
console.info('test_setAndProp_000
2
START');
await Utils.sleep(2000);
await Utils.sleep(2000);
try {
try {
let storage = new LocalStorage()
let storage = new LocalStorage()
...
@@ -227,7 +227,7 @@ export default function stateManagementGetSharedJsunit() {
...
@@ -227,7 +227,7 @@ export default function stateManagementGetSharedJsunit() {
expect(size == 1).assertTrue();
expect(size == 1).assertTrue();
done();
done();
} catch (err) {
} catch (err) {
console.info("test_setAndProp_000
1
err : " + JSON.stringify(err));
console.info("test_setAndProp_000
2
err : " + JSON.stringify(err));
expect().assertFail();
expect().assertFail();
done();
done();
}
}
...
...
arkui/ace_ets_component_four/entry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets
浏览文件 @
f2809d2c
...
@@ -99,24 +99,7 @@ export default function SubscribaleAbstractJsunit() {
...
@@ -99,24 +99,7 @@ export default function SubscribaleAbstractJsunit() {
console.info('[stateManagement_IPropertySubscriber_0100] END');
console.info('[stateManagement_IPropertySubscriber_0100] END');
done();
done();
});
});
/**
* @tc.number stateManagement_IPropertySubscriber_0100
* @tc.name stateManagement IPropertySubscriber validation
* @tc.desc Function test
*/
it('stateManagement_IPropertySubscriber_0100', 0, function (done) {
done();
return;
console.info('[stateManagement_IPropertySubscriber_0100] Start');
let iPropertySubscriber =new IPropertySubscriber();
let id = iPropertySubscriber.id();
let aboutToBeDeleted = iPropertySubscriber.aboutToBeDeleted();
expect(true).assertTrue();
console.info('[stateManagement_IPropertySubscriber_0100] END');
done();
});
/**
/**
* @tc.number stateManagement_SyncedPropertyOneWay_0100
* @tc.number stateManagement_SyncedPropertyOneWay_0100
* @tc.name stateManagement stateManagement_SyncedPropertyOneWay_0100 validation
* @tc.name stateManagement stateManagement_SyncedPropertyOneWay_0100 validation
...
...
arkui/ace_ets_standard/entry/src/main/ets/test/ProgressJsunit.test.ets
浏览文件 @
f2809d2c
...
@@ -133,7 +133,7 @@ export default function progressJsunit() {
...
@@ -133,7 +133,7 @@ export default function progressJsunit() {
* @tc.name testGetProgressAttr050
* @tc.name testGetProgressAttr050
* @tc.desc aceEtsTest
* @tc.desc aceEtsTest
*/
*/
it('testGetProgressAttr0
2
0', 0, async function (done) {
it('testGetProgressAttr0
5
0', 0, async function (done) {
console.info('testGetProgressAttr5 START');
console.info('testGetProgressAttr5 START');
let strJson = getInspectorByKey('progress5');
let strJson = getInspectorByKey('progress5');
let obj = JSON.parse(strJson);
let obj = JSON.parse(strJson);
...
...
arkui/ace_ets_test/entry/src/main/ets/test/AppStorageJsunit.test.ets
浏览文件 @
f2809d2c
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
* limitations under the License.
* limitations under the License.
*/
*/
// @ts-nocheck
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"
import router from '@system.router';
import router from '@system.router';
...
@@ -22,7 +21,7 @@ export default function appStorageJsunit() {
...
@@ -22,7 +21,7 @@ export default function appStorageJsunit() {
function sleep(time) {
function sleep(time) {
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
setTimeout(() => {
setTimeout(() => {
resolve()
resolve(
'ok'
)
}, time * 1000)
}, time * 1000)
}).then(() => {
}).then(() => {
console.info(`sleep ${time} over...`)
console.info(`sleep ${time} over...`)
...
@@ -44,7 +43,7 @@ export default function appStorageJsunit() {
...
@@ -44,7 +43,7 @@ export default function appStorageJsunit() {
console.info("push AppStorage page success " + JSON.stringify(result));
console.info("push AppStorage page success " + JSON.stringify(result));
}
}
} catch (err) {
} catch (err) {
console.error("push AppStorage page error " + JSON.stringify(
result
));
console.error("push AppStorage page error " + JSON.stringify(
err
));
}
}
await sleep(2)
await sleep(2)
done()
done()
...
@@ -194,7 +193,7 @@ export default function appStorageJsunit() {
...
@@ -194,7 +193,7 @@ export default function appStorageJsunit() {
* @tc.name appStorageTest009
* @tc.name appStorageTest009
* @tc.desc aceEtsTest
* @tc.desc aceEtsTest
*/
*/
it('appStorageTest00
8
', 0, async function (done) {
it('appStorageTest00
9
', 0, async function (done) {
console.info('AppStorageTest009 START');
console.info('AppStorageTest009 START');
let strJson = getInspectorByKey('Button0_9');
let strJson = getInspectorByKey('Button0_9');
let obj = JSON.parse(strJson);
let obj = JSON.parse(strJson);
...
...
arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js
浏览文件 @
f2809d2c
...
@@ -104,30 +104,6 @@ describe('aceJsTest', function () {
...
@@ -104,30 +104,6 @@ describe('aceJsTest', function () {
done
();
done
();
});
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testCameraComponent
* @tc.desc ACE
*/
it
(
'
testCameraComponent
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
testCameraComponent START
'
);
let
result
;
let
options
=
{
uri
:
'
pages/camera/router/index
'
}
try
{
result
=
router
.
push
(
options
)
console
.
info
(
"
push camera page success
"
+
JSON
.
stringify
(
result
));
}
catch
(
err
)
{
console
.
error
(
"
push camera page error
"
+
JSON
.
stringify
(
result
));
}
await
sleep
(
1000
)
let
pages
=
router
.
getState
();
console
.
info
(
"
[router.camera] getState
"
+
JSON
.
stringify
(
pages
));
expect
(
"
pages/camera/router/
"
).
assertEqual
(
pages
.
path
);
done
();
});
/**
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0300
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0300
* @tc.name testInputComponent
* @tc.name testInputComponent
...
@@ -828,28 +804,6 @@ describe('aceJsTest', function () {
...
@@ -828,28 +804,6 @@ describe('aceJsTest', function () {
done
();
done
();
});
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testMarqueeComponent
* @tc.desc ACE
*/
it
(
'
testMarqueeComponent
'
,
0
,
async
function
(
done
)
{
let
result
;
let
options
=
{
uri
:
'
pages/marquee/router/index
'
}
try
{
result
=
router
.
push
(
options
)
console
.
info
(
"
push marquee page success
"
+
JSON
.
stringify
(
result
));
}
catch
(
err
)
{
console
.
error
(
"
push marquee page error
"
+
JSON
.
stringify
(
result
));
}
await
sleep
(
5000
)
let
pages
=
router
.
getState
();
console
.
info
(
"
[router.marquee] getState
"
+
JSON
.
stringify
(
pages
));
expect
(
"
pages/marquee/router/
"
).
assertEqual
(
pages
.
path
);
done
();
});
/**
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
...
@@ -1199,7 +1153,7 @@ describe('aceJsTest', function () {
...
@@ -1199,7 +1153,7 @@ describe('aceJsTest', function () {
/**
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name test
Camera
Component
* @tc.name test
Web
Component
* @tc.desc ACE
* @tc.desc ACE
*/
*/
it
(
'
testWebComponent
'
,
0
,
async
function
(
done
)
{
it
(
'
testWebComponent
'
,
0
,
async
function
(
done
)
{
...
...
arkui/ace_standard/src/main/js/default/test/videoProps.test.js
浏览文件 @
f2809d2c
...
@@ -515,7 +515,7 @@ describe('videoPropsJsTest', function () {
...
@@ -515,7 +515,7 @@ describe('videoPropsJsTest', function () {
* @tc.name testVideoAutoplayPropTrue
* @tc.name testVideoAutoplayPropTrue
* @tc.desc ACE
* @tc.desc ACE
*/
*/
it
(
'
testVideoAutoplayProp
Fals
e
'
,
0
,
async
function
(
done
)
{
it
(
'
testVideoAutoplayProp
Tru
e
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
testVideoAutoplayPropTrue START
'
);
console
.
info
(
'
testVideoAutoplayPropTrue START
'
);
console
.
info
(
"
[videoProps] get globalThis.value is:
"
+
JSON
.
stringify
(
globalThis
.
value
));
console
.
info
(
"
[videoProps] get globalThis.value is:
"
+
JSON
.
stringify
(
globalThis
.
value
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录