Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c385ee87
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看板
提交
c385ee87
编写于
3月 09, 2023
作者:
H
hekun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix the crash errror
Signed-off-by:
N
hekun
<
hekun18@huawei.com
>
上级
e2438b17
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
4 deletion
+5
-4
arkui/ace_ets_component/entry/src/main/ets/test/AppearJsunit.test.ets
...s_component/entry/src/main/ets/test/AppearJsunit.test.ets
+1
-0
arkui/ace_ets_component_four/entry/src/main/ets/test/DragEventJsunit.test.ets
...ent_four/entry/src/main/ets/test/DragEventJsunit.test.ets
+2
-2
arkui/ace_ets_component_four/entry/src/main/ets/test/PlayModeJsunit.test.ets
...nent_four/entry/src/main/ets/test/PlayModeJsunit.test.ets
+1
-1
arkui/ace_ets_standard/entry/src/main/ets/test/ScrollJsunit.test.ets
...ts_standard/entry/src/main/ets/test/ScrollJsunit.test.ets
+1
-1
未找到文件。
arkui/ace_ets_component/entry/src/main/ets/test/AppearJsunit.test.ets
浏览文件 @
c385ee87
...
@@ -65,6 +65,7 @@ export default function appearJsunit() {
...
@@ -65,6 +65,7 @@ export default function appearJsunit() {
console.info("testAppear01 on appearEvent err : " + JSON.stringify(err));
console.info("testAppear01 on appearEvent err : " + JSON.stringify(err));
}
}
console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('appear', 10, "")));
console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('appear', 10, "")));
await Utils.sleep(1000);
console.info('[testAppear01] END');
console.info('[testAppear01] END');
console.info('[testAppear02] START');
console.info('[testAppear02] START');
...
...
arkui/ace_ets_component_four/entry/src/main/ets/test/DragEventJsunit.test.ets
浏览文件 @
c385ee87
...
@@ -86,8 +86,8 @@ export default function dragEventJsunit(){
...
@@ -86,8 +86,8 @@ export default function dragEventJsunit(){
await Utils.drag(downX, downY, upX, upY, 10)
await Utils.drag(downX, downY, upX, upY, 10)
let callback = (indexEvent) => {
let callback = (indexEvent) => {
console.info("dragEventTest_0200 get state result is: " + JSON.stringify(indexEvent));
console.info("dragEventTest_0200 get state result is: " + JSON.stringify(indexEvent));
expect(
indexEvent.data.pointX).assertNotEqual(Null
);
expect(
Number.isNaN(indexEvent.data.pointX)).assertFalse(
);
expect(
indexEvent.data.pointY).assertNotEqual(Null
);
expect(
Number.isNaN(indexEvent.data.pointY)).assertFalse(
);
}
}
let indexEvent = {
let indexEvent = {
eventId: 87,
eventId: 87,
...
...
arkui/ace_ets_component_four/entry/src/main/ets/test/PlayModeJsunit.test.ets
浏览文件 @
c385ee87
...
@@ -55,7 +55,7 @@ export default function playModeJsunit(){
...
@@ -55,7 +55,7 @@ export default function playModeJsunit(){
}
}
let callback= (indexEvent) => {
let callback= (indexEvent) => {
console.info("playModeTest_0100 get state result is: " + JSON.stringify(indexEvent))
console.info("playModeTest_0100 get state result is: " + JSON.stringify(indexEvent))
ex
cept(indexEvent.data.playMode).assertEqual(PlayMode.AlternateReverse)
ex
pect(indexEvent.data.playMode).assertEqual(PlayMode.AlternateReverse);
}
}
try {
try {
events_emitter.on(indexEvent, callback);
events_emitter.on(indexEvent, callback);
...
...
arkui/ace_ets_standard/entry/src/main/ets/test/ScrollJsunit.test.ets
浏览文件 @
c385ee87
...
@@ -72,7 +72,7 @@ export default function ScrollJsunit() {
...
@@ -72,7 +72,7 @@ export default function ScrollJsunit() {
expect(obj.$type).assertEqual('Scroll');
expect(obj.$type).assertEqual('Scroll');
expect(obj.$attrs.scrollable).assertEqual('ScrollDirection.Vertical')
expect(obj.$attrs.scrollable).assertEqual('ScrollDirection.Vertical')
expect(obj.$attrs.scrollBarColor).assertEqual('#FFFFC0CB')
expect(obj.$attrs.scrollBarColor).assertEqual('#FFFFC0CB')
expect(obj.$attrs.scrollBarWidth).assertEqual('20.00
px
')
expect(obj.$attrs.scrollBarWidth).assertEqual('20.00
vp
')
console.info('cd ScorllGetInspectorByKey END');
console.info('cd ScorllGetInspectorByKey END');
done();
done();
});
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录