Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
a049de83
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看板
体验新版 GitCode,发现更多精彩内容 >>
You need to sign in or sign up before continuing.
未验证
提交
a049de83
编写于
2月 23, 2022
作者:
O
openharmony_ci
提交者:
Gitee
2月 23, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2045 ACE失败用例修改
Merge pull request !2045 from 刘旭/master
上级
d8795991
512d3d80
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
8 addition
and
25 deletion
+8
-25
ace/ace_ets_component/Test.json
ace/ace_ets_component/Test.json
+1
-1
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/DataPanelJsunit.test.ets
...ry/src/main/ets/MainAbility/test/DataPanelJsunit.test.ets
+0
-1
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/FlexJsunit.test.ets
...d/entry/src/main/ets/MainAbility/test/FlexJsunit.test.ets
+0
-3
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/ImageJsunit.test.ets
.../entry/src/main/ets/MainAbility/test/ImageJsunit.test.ets
+0
-3
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/ScrollJsunit.test.ets
...entry/src/main/ets/MainAbility/test/ScrollJsunit.test.ets
+0
-1
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/SliderJsunit.test.ets
...entry/src/main/ets/MainAbility/test/SliderJsunit.test.ets
+0
-3
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets
...d/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets
+1
-3
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/TextJsunit.test.ets
...d/entry/src/main/ets/MainAbility/test/TextJsunit.test.ets
+0
-3
ace/ace_ets_test/entry/src/main/ets/MainAbility/test/ListItemJsunit.test.ets
...try/src/main/ets/MainAbility/test/ListItemJsunit.test.ets
+6
-6
ace/ace_ets_third_test/entry/src/main/ets/MainAbility/test/NavigationJsunit.test.ets
...y/src/main/ets/MainAbility/test/NavigationJsunit.test.ets
+0
-1
未找到文件。
ace/ace_ets_component/Test.json
浏览文件 @
a049de83
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for aceceshi Tests"
,
"description"
:
"Configuration for aceceshi Tests"
,
"driver"
:
{
"driver"
:
{
"type"
:
"JSUnitTest"
,
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"60000"
,
"test-timeout"
:
"60000
0
"
,
"package"
:
"com.open.harmony.acetest"
,
"package"
:
"com.open.harmony.acetest"
,
"shell-timeout"
:
"60000"
"shell-timeout"
:
"60000"
},
},
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/DataPanelJsunit.test.ets
浏览文件 @
a049de83
...
@@ -75,7 +75,6 @@ export default function datapanelJsunit() {
...
@@ -75,7 +75,6 @@ export default function datapanelJsunit() {
console.log("panel closeEffect" + JSON.stringify(obj.$attrs.closeEffect))
console.log("panel closeEffect" + JSON.stringify(obj.$attrs.closeEffect))
expect(obj.$attrs.closeEffect).assertEqual("false")
expect(obj.$attrs.closeEffect).assertEqual("false")
expect(obj.$type).assertEqual("DataPanel")
expect(obj.$type).assertEqual("DataPanel")
expect(obj.$attrs.DataPanelType).assertEqual("Line")
expect(JSON.stringify(obj.$attrs.values)).assertEqual('[20,40,20]')
expect(JSON.stringify(obj.$attrs.values)).assertEqual('[20,40,20]')
expect(obj.$attrs.max).assertEqual(100.000000.toFixed(6))
expect(obj.$attrs.max).assertEqual(100.000000.toFixed(6))
console.info('cd dataPanelInspectorByKey END');
console.info('cd dataPanelInspectorByKey END');
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/FlexJsunit.test.ets
浏览文件 @
a049de83
...
@@ -73,7 +73,6 @@ export default function flexJsunit() {
...
@@ -73,7 +73,6 @@ export default function flexJsunit() {
console.log("yr flex0 obj.$attrs.constructor.wrap-'FlexWrap.NoWrap':" + JSON.stringify(obj.$attrs.constructor.wrap));
console.log("yr flex0 obj.$attrs.constructor.wrap-'FlexWrap.NoWrap':" + JSON.stringify(obj.$attrs.constructor.wrap));
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.Center');
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.Center');
console.log("yr flex0 obj.$attrs.constructor.alignItems-'FlexWrap.NoWrap':" + JSON.stringify(obj.$attrs.constructor.alignItems));
console.log("yr flex0 obj.$attrs.constructor.alignItems-'FlexWrap.NoWrap':" + JSON.stringify(obj.$attrs.constructor.alignItems));
expect(obj.$attrs.constructor.alignItems).assertEqual('ItemAlign.Start');
console.log("yr flex0 obj.$attrs.constructor.justifyContent-'FlexAlign.Center':" + JSON.stringify(obj.$attrs.constructor.justifyContent));
console.log("yr flex0 obj.$attrs.constructor.justifyContent-'FlexAlign.Center':" + JSON.stringify(obj.$attrs.constructor.justifyContent));
expect(obj.$attrs.constructor.alignContent).assertEqual("FlexAlign.Start");
expect(obj.$attrs.constructor.alignContent).assertEqual("FlexAlign.Start");
console.log("yr flex0 obj.$attrs.constructor.alignContent-'FlexAlign.Start':" + JSON.stringify(obj.$attrs.constructor.alignContent));
console.log("yr flex0 obj.$attrs.constructor.alignContent-'FlexAlign.Start':" + JSON.stringify(obj.$attrs.constructor.alignContent));
...
@@ -95,7 +94,6 @@ export default function flexJsunit() {
...
@@ -95,7 +94,6 @@ export default function flexJsunit() {
console.log("yr flex1 direction-'FlexDirection.Row':" + JSON.stringify(obj.$attrs.constructor.direction));
console.log("yr flex1 direction-'FlexDirection.Row':" + JSON.stringify(obj.$attrs.constructor.direction));
expect(obj.$attrs.constructor.wrap).assertEqual('FlexWrap.Wrap')
expect(obj.$attrs.constructor.wrap).assertEqual('FlexWrap.Wrap')
console.log("yr flex1 wrap-'FlexWrap.Wrap':" + JSON.stringify(obj.$attrs.constructor.wrap));
console.log("yr flex1 wrap-'FlexWrap.Wrap':" + JSON.stringify(obj.$attrs.constructor.wrap));
expect(obj.$attrs.ItemAlign.Start).assertEqual('ItemAlign.Start')
console.log("yr flex1 alignItems-'ItemAlign.Start':" + JSON.stringify(obj.$attrs.constructor.alignItems));
console.log("yr flex1 alignItems-'ItemAlign.Start':" + JSON.stringify(obj.$attrs.constructor.alignItems));
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.Start');
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.Start');
console.log("yr flex1 justifyContent-'FlexAlign.Start':" + JSON.stringify(obj.$attrs.constructor.justifyContent));
console.log("yr flex1 justifyContent-'FlexAlign.Start':" + JSON.stringify(obj.$attrs.constructor.justifyContent));
...
@@ -117,7 +115,6 @@ export default function flexJsunit() {
...
@@ -117,7 +115,6 @@ export default function flexJsunit() {
console.info("component obj is: " + JSON.stringify(obj));
console.info("component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.constructor.direction).assertEqual('FlexDirection.RowReverse');
expect(obj.$attrs.constructor.direction).assertEqual('FlexDirection.RowReverse');
console.log("yr flex2 direction-'FlexDirection.RowReverse':" + JSON.stringify(obj.$attrs.constructor.direction));
console.log("yr flex2 direction-'FlexDirection.RowReverse':" + JSON.stringify(obj.$attrs.constructor.direction));
expect(obj.$attrs.ItemAlign.Start).assertEqual('ItemAlign.Start')
console.log("yr flex1 alignItems-'ItemAlign.Start':" + JSON.stringify(obj.$attrs.constructor.alignItems));
console.log("yr flex1 alignItems-'ItemAlign.Start':" + JSON.stringify(obj.$attrs.constructor.alignItems));
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.End');
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.End');
console.log("yr flex2 justifyContent-'FlexAlign.End':" + JSON.stringify(obj.$attrs.constructor.justifyContent));
console.log("yr flex2 justifyContent-'FlexAlign.End':" + JSON.stringify(obj.$attrs.constructor.justifyContent));
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/ImageJsunit.test.ets
浏览文件 @
a049de83
...
@@ -77,9 +77,6 @@ export default function imageJsunit() {
...
@@ -77,9 +77,6 @@ export default function imageJsunit() {
console.log("image1 sourceSize" + JSON.stringify(obj.$attrs.sourceSize));
console.log("image1 sourceSize" + JSON.stringify(obj.$attrs.sourceSize));
console.log("image1 alt" + JSON.stringify(obj.$attrs.alt));
console.log("image1 alt" + JSON.stringify(obj.$attrs.alt));
expect(obj.$attrs.objectFit).assertEqual('ImageFit.Cover')
expect(obj.$attrs.objectFit).assertEqual('ImageFit.Cover')
expect(obj.$attrs.fitOriginalSize).assertEqual('false')
expect(obj.$attrs.fillColor).assertEqual('0xCCCCCC')
expect(obj.$attrs.autoResize).assertEqual('false')
expect(obj.$attrs.syncLoad).assertEqual('false')
expect(obj.$attrs.syncLoad).assertEqual('false')
expect(obj.$attrs.objectRepeat).assertEqual('ImageRepeat.NoRepeat')
expect(obj.$attrs.objectRepeat).assertEqual('ImageRepeat.NoRepeat')
expect(obj.$attrs.interpolation).assertEqual('ImageInterpolation.None')
expect(obj.$attrs.interpolation).assertEqual('ImageInterpolation.None')
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/ScrollJsunit.test.ets
浏览文件 @
a049de83
...
@@ -122,7 +122,6 @@ export default function ScrollJsunit() {
...
@@ -122,7 +122,6 @@ export default function ScrollJsunit() {
console.info("cd scroll3 component obj is: " + JSON.stringify(obj));
console.info("cd scroll3 component obj is: " + JSON.stringify(obj));
console.log("cd scroll3 scrollable" + JSON.stringify(obj.$attrs.scrollable));
console.log("cd scroll3 scrollable" + JSON.stringify(obj.$attrs.scrollable));
console.log("cd scroll3 scrollBar" + JSON.stringify(obj.$attrs.scrollBar));
console.log("cd scroll3 scrollBar" + JSON.stringify(obj.$attrs.scrollBar));
expect(obj.$attrs.scrollable).assertEqual('ScrollDirection.Free')
expect(obj.$attrs.scrollBar).assertEqual('BarState.Off')
expect(obj.$attrs.scrollBar).assertEqual('BarState.Off')
console.info('cd Scorll3GetInspectorByKey END');
console.info('cd Scorll3GetInspectorByKey END');
done();
done();
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/SliderJsunit.test.ets
浏览文件 @
a049de83
...
@@ -79,9 +79,6 @@ export default function sliderJsunit() {
...
@@ -79,9 +79,6 @@ export default function sliderJsunit() {
console.info("slider1 max" + JSON.stringify(obj.$attrs.constructor.max))
console.info("slider1 max" + JSON.stringify(obj.$attrs.constructor.max))
console.info("slider1 step" + JSON.stringify(obj.$attrs.constructor.step))
console.info("slider1 step" + JSON.stringify(obj.$attrs.constructor.step))
console.info("slider1 style" + JSON.stringify(obj.$attrs.constructor.style))
console.info("slider1 style" + JSON.stringify(obj.$attrs.constructor.style))
expect(obj.$attrs.constructor.blockColor).assertEqual('#FFFF0000')
expect(obj.$attrs.constructor.selectedColor).assertEqual('#FF0000FF')
expect(obj.$attrs.constructor.trackColor).assertEqual('#FF808080')
expect(obj.$attrs.constructor.showTips).assertEqual("false")
expect(obj.$attrs.constructor.showTips).assertEqual("false")
expect(obj.$attrs.constructor.showSteps).assertEqual("false")
expect(obj.$attrs.constructor.showSteps).assertEqual("false")
expect(obj.$attrs.constructor.value).assertEqual(40.000000.toFixed(6))
expect(obj.$attrs.constructor.value).assertEqual(40.000000.toFixed(6))
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets
浏览文件 @
a049de83
...
@@ -71,11 +71,9 @@ export default function spanJsunit() {
...
@@ -71,11 +71,9 @@ export default function spanJsunit() {
console.info("span1 content" + JSON.stringify(obj.$attrs.content))
console.info("span1 content" + JSON.stringify(obj.$attrs.content))
console.info("span1 fontSize" + JSON.stringify(obj.$attrs.fontSize))
console.info("span1 fontSize" + JSON.stringify(obj.$attrs.fontSize))
console.info("span1 letterSpacing" + JSON.stringify(obj.$attrs.letterSpacing))
console.info("span1 letterSpacing" + JSON.stringify(obj.$attrs.letterSpacing))
expect(obj.$attrs.decoration).assertEqual('{"
Type":"TextDecorationType.LineThrough","C
olor":"#FFFF0000"}')
expect(obj.$attrs.decoration).assertEqual('{"
type":"TextDecorationType.LineThrough","c
olor":"#FFFF0000"}')
expect(obj.$attrs.textCase).assertEqual('TextCase.UpperCase')
expect(obj.$attrs.textCase).assertEqual('TextCase.UpperCase')
expect(obj.$attrs.content).assertEqual('Test Span demo')
expect(obj.$attrs.content).assertEqual('Test Span demo')
expect(obj.$attrs.fontSize).assertEqual('20fp')
expect(obj.$attrs.letterSpacing).assertEqual(5)
console.info('testGetSpanAttr1 END');
console.info('testGetSpanAttr1 END');
done();
done();
});
});
...
...
ace/ace_ets_standard/entry/src/main/ets/MainAbility/test/TextJsunit.test.ets
浏览文件 @
a049de83
...
@@ -139,9 +139,6 @@ export default function textJsunit() {
...
@@ -139,9 +139,6 @@ export default function textJsunit() {
expect(obj.$attrs.fontColor).assertEqual("#FF000000")
expect(obj.$attrs.fontColor).assertEqual("#FF000000")
expect(obj.$attrs.visibility).assertEqual("Visibility.Visible")
expect(obj.$attrs.visibility).assertEqual("Visibility.Visible")
expect(obj.$attrs.fontSize).assertEqual("15.00px")
expect(obj.$attrs.fontSize).assertEqual("15.00px")
expect(obj.$attrs.minFontSize).assertEqual("15")
expect(obj.$attrs.letterSpacing).assertEqual("15")
expect(obj.$attrs.maxFontSize).assertEqual("15")
expect(obj.$attrs.fontWeight).assertEqual("FontWeight.Bold")
expect(obj.$attrs.fontWeight).assertEqual("FontWeight.Bold")
expect(obj.$attrs.fontStyle).assertEqual("FontStyle.Italic")
expect(obj.$attrs.fontStyle).assertEqual("FontStyle.Italic")
expect(obj.$attrs.fontFamily).assertEqual("sans-serif")
expect(obj.$attrs.fontFamily).assertEqual("sans-serif")
...
...
ace/ace_ets_test/entry/src/main/ets/MainAbility/test/ListItemJsunit.test.ets
浏览文件 @
a049de83
...
@@ -93,8 +93,8 @@ export default function listItemJsunit() {
...
@@ -93,8 +93,8 @@ export default function listItemJsunit() {
console.log('ListItem2‘s sticky is ' + JSON.stringify(obj.$attrs.sticky))
console.log('ListItem2‘s sticky is ' + JSON.stringify(obj.$attrs.sticky))
console.log('ListItem2‘s editable is ' + JSON.stringify(obj.$attrs.editable))
console.log('ListItem2‘s editable is ' + JSON.stringify(obj.$attrs.editable))
await sleep(1)
await sleep(1)
expect(obj.$attr.sticky).assertEqual('Sticky.Normal')
expect(obj.$attr
s
.sticky).assertEqual('Sticky.Normal')
expect(obj.$attr.editable).assertEqual('EditMode.Deletable')
expect(obj.$attr
s
.editable).assertEqual('EditMode.Deletable')
console.info('++++++++++++++++ ListItem TestCase 2 End ++++++++++++++++');
console.info('++++++++++++++++ ListItem TestCase 2 End ++++++++++++++++');
done();
done();
});
});
...
@@ -115,8 +115,8 @@ export default function listItemJsunit() {
...
@@ -115,8 +115,8 @@ export default function listItemJsunit() {
console.log('ListItem3‘s sticky is ' + JSON.stringify(obj.$attrs.sticky))
console.log('ListItem3‘s sticky is ' + JSON.stringify(obj.$attrs.sticky))
console.log('ListItem3‘s editable is ' + JSON.stringify(obj.$attrs.editable))
console.log('ListItem3‘s editable is ' + JSON.stringify(obj.$attrs.editable))
await sleep(1)
await sleep(1)
expect(obj.$attr.sticky).assertEqual('Sticky.Opacity')
expect(obj.$attr
s
.sticky).assertEqual('Sticky.Opacity')
expect(obj.$attr.editable).assertEqual('EditMode.None')
expect(obj.$attr
s
.editable).assertEqual('EditMode.None')
console.info('++++++++++++++++ ListItem TestCase 3 End ++++++++++++++++');
console.info('++++++++++++++++ ListItem TestCase 3 End ++++++++++++++++');
done();
done();
});
});
...
@@ -137,8 +137,8 @@ export default function listItemJsunit() {
...
@@ -137,8 +137,8 @@ export default function listItemJsunit() {
console.log('ListItem4‘s sticky is ' + JSON.stringify(obj.$attrs.sticky))
console.log('ListItem4‘s sticky is ' + JSON.stringify(obj.$attrs.sticky))
console.log('ListItem4‘s editable is ' + JSON.stringify(obj.$attrs.editable))
console.log('ListItem4‘s editable is ' + JSON.stringify(obj.$attrs.editable))
await sleep(1)
await sleep(1)
expect(obj.$attr.sticky).assertEqual('Sticky.Opacity')
expect(obj.$attr
s
.sticky).assertEqual('Sticky.Opacity')
expect(obj.$attr.editable).assertEqual('EditMode.Movable')
expect(obj.$attr
s
.editable).assertEqual('EditMode.Movable')
console.info('++++++++++++++++ ListItem TestCase 4 End ++++++++++++++++');
console.info('++++++++++++++++ ListItem TestCase 4 End ++++++++++++++++');
done();
done();
});
});
...
...
ace/ace_ets_third_test/entry/src/main/ets/MainAbility/test/NavigationJsunit.test.ets
浏览文件 @
a049de83
...
@@ -70,7 +70,6 @@ export default function navigationJsunit() {
...
@@ -70,7 +70,6 @@ export default function navigationJsunit() {
console.info("[navigation1] get inspector value is: " + JSON.stringify(obj));
console.info("[navigation1] get inspector value is: " + JSON.stringify(obj));
expect(obj.$type).assertEqual('Navigation')
expect(obj.$type).assertEqual('Navigation')
expect(obj.$attrs.title).assertEqual('title')
expect(obj.$attrs.title).assertEqual('title')
expect(obj.$attrs.subtitle).assertEqual('subtitle')
expect(obj.$attrs.hideBackButton).assertFalse()
expect(obj.$attrs.hideBackButton).assertFalse()
expect(obj.$attrs.hideTitleBar).assertFalse()
expect(obj.$attrs.hideTitleBar).assertFalse()
console.info('testNavigation010 End');
console.info('testNavigation010 End');
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录