Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
af87d3ab
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看板
未验证
提交
af87d3ab
编写于
5月 29, 2023
作者:
O
openharmony_ci
提交者:
Gitee
5月 29, 2023
浏览文件
操作
浏览文件
下载
差异文件
!8796 【ACE子系统】cherrypick OpenHarmony-4.0-Beta1
Merge pull request !8796 from hekun/OpenHarmony-4.0-Beta1
上级
66d950ba
3b515326
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
18 deletion
+18
-18
arkui/ace_ets_component/entry/src/main/ets/test/StepperJsunit.test.ets
..._component/entry/src/main/ets/test/StepperJsunit.test.ets
+2
-2
arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets
...s_component/entry/src/main/ets/test/SwiperJsunit.test.ets
+16
-16
未找到文件。
arkui/ace_ets_component/entry/src/main/ets/test/StepperJsunit.test.ets
浏览文件 @
af87d3ab
...
...
@@ -99,7 +99,7 @@ export default function stepperJsunit() {
let strJsonNew = getInspectorByKey('stepper');
let objNew = JSON.parse(strJsonNew);
console.info("stepperTest_0400 component objNew is: " + objNew.$attrs.index);
expect(objNew.$attrs.index).assertEqual('
-558038585
');
expect(objNew.$attrs.index).assertEqual('
0
');
console.info('stepperTest_0400 END');
done();
//console.info('stepperTest_0400 START');
...
...
@@ -139,7 +139,7 @@ export default function stepperJsunit() {
let strJsonNew = getInspectorByKey('stepper');
let objNew = JSON.parse(strJsonNew);
console.info("stepperTest_0500 component objNew is: " + objNew.$attrs.index);
expect(objNew.$attrs.index).assertEqual('
-1
0');
expect(objNew.$attrs.index).assertEqual('0');
console.info('stepperTest_0400 END');
done();
});
...
...
arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets
浏览文件 @
af87d3ab
...
...
@@ -107,55 +107,55 @@ export default function swiperJsunit() {
done();
});
it('swiperTest_0
6
00', 0, async function (done) {
console.info('swiperTest_0
6
00 START');
it('swiperTest_0
7
00', 0, async function (done) {
console.info('swiperTest_0
7
00 START');
try {
let eventData = {
data: {
"
index": "3
"
"
autoPlay": "false
"
}
}
let indexEvent = {
eventId: 207,
priority: events_emitter.EventPriority.LOW
}
console.info("swiperTest_0
6
00 start to publish emit");
console.info("swiperTest_0
7
00 start to publish emit");
events_emitter.emit(indexEvent, eventData);
} catch (err) {
console.log("swiperTest_0
6
00 change component data error: " + err.message);
console.log("swiperTest_0
7
00 change component data error: " + err.message);
}
await Utils.sleep(4000);
let strJsonNew = getInspectorByKey('swiper');
let objNew = JSON.parse(strJsonNew);
console.info("swiperTest_0
6
00 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.
index).assertEqual('3
');
console.info('swiperTest_0
6
00 END');
console.info("swiperTest_0
7
00 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.
autoPlay).assertEqual('false
');
console.info('swiperTest_0
7
00 END');
done();
});
it('swiperTest_07
00', 0, async function (done) {
console.info('swiperTest_0
7
00 START');
it('swiperTest_06
00', 0, async function (done) {
console.info('swiperTest_0
6
00 START');
try {
let eventData = {
data: {
"
autoPlay": "false
"
"
index": "3
"
}
}
let indexEvent = {
eventId: 207,
priority: events_emitter.EventPriority.LOW
}
console.info("swiperTest_0
7
00 start to publish emit");
console.info("swiperTest_0
6
00 start to publish emit");
events_emitter.emit(indexEvent, eventData);
} catch (err) {
console.log("swiperTest_0
7
00 change component data error: " + err.message);
console.log("swiperTest_0
6
00 change component data error: " + err.message);
}
await Utils.sleep(4000);
let strJsonNew = getInspectorByKey('swiper');
let objNew = JSON.parse(strJsonNew);
console.info("swiperTest_0
7
00 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.
autoPlay).assertEqual('false
');
console.info('swiperTest_0
7
00 END');
console.info("swiperTest_0
6
00 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.
index).assertEqual('3
');
console.info('swiperTest_0
6
00 END');
done();
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录