Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
0247b0e1
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看板
未验证
提交
0247b0e1
编写于
3月 28, 2023
作者:
O
openharmony_ci
提交者:
Gitee
3月 28, 2023
浏览文件
操作
浏览文件
下载
差异文件
!8233 【ACE子系统】修改失败测试用例
Merge pull request !8233 from hekun/master
上级
737a27da
0c9a3797
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
19 addition
and
14 deletion
+19
-14
arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets
...s_component/entry/src/main/ets/test/SwiperJsunit.test.ets
+1
-1
arkui/ace_ets_component/entry/src/main/ets/test/TextStyleJsunit.test.ets
...omponent/entry/src/main/ets/test/TextStyleJsunit.test.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/page2.ets
...t_attrlack/entry/src/main/ets/MainAbility/pages/page2.ets
+2
-2
arkui/ace_ets_component_five/entry/src/main/ets/test/ShapeClippingJsunit.test.ets
...five/entry/src/main/ets/test/ShapeClippingJsunit.test.ets
+6
-2
arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets
...mponent_three/entry/src/main/ets/test/TextJsunit.test.ets
+2
-2
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/configuration.ets
...wo/entry/src/main/ets/MainAbility/pages/configuration.ets
+1
-1
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets
...wo/entry/src/main/ets/MainAbility/pages/imageAnimator.ets
+2
-2
arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets
..._two/entry/src/main/ets/test/ConfigurationJsunit.test.ets
+1
-1
arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets
..._two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets
+3
-2
未找到文件。
arkui/ace_ets_component/entry/src/main/ets/test/SwiperJsunit.test.ets
浏览文件 @
0247b0e1
...
...
@@ -321,7 +321,7 @@ export default function swiperJsunit() {
try {
let eventData = {
data: {
"indicator":
"false"
"indicator":
false
}
}
let indexEvent = {
...
...
arkui/ace_ets_component/entry/src/main/ets/test/TextStyleJsunit.test.ets
浏览文件 @
0247b0e1
...
...
@@ -219,7 +219,7 @@ export default function textStyleJsunit() {
console.info("[testTextStyle008] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testTextStyle008] fontSize: " + obj.$attrs.fontSize);
expect(obj.$attrs.fontSize).assertEqual('
-2147483648
.00fp');
expect(obj.$attrs.fontSize).assertEqual('
16
.00fp');
done();
});
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/page2.ets
浏览文件 @
0247b0e1
...
...
@@ -25,7 +25,7 @@ const TAG = 'ets_apiLack_add';
struct Second {
private content: string = "这是第二页"
@State text: string = router.getParams()['text']
@State data:
number[]
= router.getParams()['data']
@State data:
any
= router.getParams()['data']
@State secondData : string = ''
build() {
...
...
@@ -37,7 +37,7 @@ struct Second {
.fontSize(30)
.key("SingleDataText")
.onClick(()=>{
this.secondData = (this.data[1]).toString()
this.secondData = (this.data
.array
[1]).toString()
try {
var backData = {
data: {
...
...
arkui/ace_ets_component_five/entry/src/main/ets/test/ShapeClippingJsunit.test.ets
浏览文件 @
0247b0e1
...
...
@@ -68,7 +68,9 @@ export default function shapeClippingJsunit() {
let strJson = getInspectorByKey('image_mask');
let obj = JSON.parse(strJson);
console.info("[testShapeClipping002] component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.mask.shape).assertEqual('Rect');
console.info("[testShapeClipping002] component mask obj is: " + JSON.stringify(obj.$attrs.mask));
let mask = JSON.parse(JSON.stringify(obj.$attrs.mask));
expect(mask.shape).assertEqual('Rect');
expect(obj.$attrs.clip).assertEqual('false');
console.info('[testShapeClipping002] END');
done();
...
...
@@ -95,7 +97,9 @@ export default function shapeClippingJsunit() {
let strJsonNew = getInspectorByKey('image_mask');
let objNew = JSON.parse(strJsonNew);
console.info("[testShapeClipping003] component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.mask.shape).assertEqual('Circle');
console.info("[testShapeClipping003] component mask obj is: " + JSON.stringify(objNew.$attrs.mask));
let mask = JSON.parse(JSON.stringify(objNew.$attrs.mask));
expect(mask.shape).assertEqual('Circle');
console.info('[testShapeClipping003] END');
done();
});
...
...
arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets
浏览文件 @
0247b0e1
...
...
@@ -296,7 +296,7 @@ export default function textJsunit() {
let strJsonNew = getInspectorByKey('text');
let objNew = JSON.parse(strJsonNew);
console.info("testText_1300 component objNew is: " + JSON.stringify(objNew.$attrs.fontSize));
expect(objNew.$attrs.fontSize).assertEqual('
nan
fp');
expect(objNew.$attrs.fontSize).assertEqual('
16.00
fp');
console.info('testText_1300 END');
done();
});
...
...
@@ -322,7 +322,7 @@ export default function textJsunit() {
let strJsonNew = getInspectorByKey('text');
let objNew = JSON.parse(strJsonNew);
console.info("testText_1400 component objNew is: " + JSON.stringify(objNew.$attrs.fontSize));
expect(objNew.$attrs.fontSize).assertEqual('
-20
.00fp');
expect(objNew.$attrs.fontSize).assertEqual('
16
.00fp');
console.info('testText_1400 END');
done();
});
...
...
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/configuration.ets
浏览文件 @
0247b0e1
...
...
@@ -22,7 +22,7 @@ struct promptExample {
build(){
Column(){
Button('click')
.key('button')
.key('button
_c
')
.backgroundColor('#FF0B8FE2')
.fontSize(20)
.margin({top: 20})
...
...
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets
浏览文件 @
0247b0e1
...
...
@@ -97,7 +97,7 @@ struct ImageAnimatorExample {
console.info('Finish')
})
Row() {
Button('start').key('button').width(100).padding(5).onClick(() => {
Button('start').key('button
_0
').width(100).padding(5).onClick(() => {
this.state = AnimationStatus.Running
try {
var backData = {
...
...
@@ -106,7 +106,7 @@ struct ImageAnimatorExample {
}
}
var backEvent = {
eventId: 115,
eventId: 115
0
,
priority: events_emitter.EventPriority.LOW
}
console.info("imageAnimator 115 button start to emit action state")
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets
浏览文件 @
0247b0e1
...
...
@@ -62,7 +62,7 @@ export default function transFormJsunit() {
} catch (err) {
console.info("configurationTest_0100 on configurationEvent err : " + JSON.stringify(err));
}
console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('button', 10, "")));
console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('button
_c
', 10, "")));
console.info('[configurationTest01] END');
});
})
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets
浏览文件 @
0247b0e1
...
...
@@ -56,15 +56,16 @@ export default function imageAnimatorJsunit(){
done();
}
let indexEvent = {
eventId: 115,
eventId: 115
0
,
priority: events_emitter.EventPriority.LOW
}
try {
events_emitter.on(indexEvent, callback);
console.info("imageAnimatorTest_0100 click result is: " + JSON.stringify(sendEventByKey('button',10,"")));
} catch (err) {
console.info("imageAnimatorTest_0100 on events_emitter err : " + JSON.stringify(err));
}
console.info("imageAnimatorTest_0100 click result is: " + JSON.stringify(sendEventByKey('button_0',10,"")));
await Utils.sleep(1000);
console.info('imageAnimatorTest_0100 END');
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录