Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
74f38647
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看板
提交
74f38647
编写于
10月 31, 2022
作者:
G
guoenquan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Modify test case
Signed-off-by:
N
guoenquan
<
guoenquan1@huawei-partners.com
>
上级
cc594664
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
21 addition
and
23 deletion
+21
-23
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
...ck/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
+2
-4
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/common.ets
+9
-10
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/router.ets
+4
-3
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets
...ent_attrlack/entry/src/main/ets/MainAbility/pages/web.ets
+1
-2
arkui/ace_ets_component_attrlack/entry/src/main/ets/test/loadingProgress.test.ets
...attrlack/entry/src/main/ets/test/loadingProgress.test.ets
+3
-3
arkui/ace_ets_component_attrlack/entry/src/main/ets/test/router.test.ets
...omponent_attrlack/entry/src/main/ets/test/router.test.ets
+2
-1
未找到文件。
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
浏览文件 @
74f38647
...
...
@@ -22,7 +22,7 @@ const TAG = 'ets_apiLack_add';
@Component
export default
struct CheckBoxGroupPart {
@State SelectStatus: SelectStatus = SelectStatus.Part
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear CheckBoxGroupPart start`)
}
...
...
@@ -84,11 +84,9 @@ struct CheckBoxGroupPart {
console.info("Part emit action state err: " + JSON.stringify(err.message))
}
Utils.sleep(1000);
if(itemName.status === SelectStatus.Part){
console.info("CheckboxGroup SelectStatus.Part")
}
})
Text('select all').fontSize(20)
Checkbox({name: 'checkbox1', group: 'checkboxGroup'})
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets
浏览文件 @
74f38647
...
...
@@ -134,7 +134,7 @@ export default struct CommonColorMode {
path: ''
}
})
//
Text("common-Middle")
.width(320)
.height(40)
...
...
@@ -151,7 +151,7 @@ export default struct CommonColorMode {
.alignRules({
middle: { anchor: 'string', align: HorizontalAlign.Center }
})
//
Text("common-Area")
.width(320)
.height(40)
...
...
@@ -187,7 +187,6 @@ export default struct CommonColorMode {
console.info("areaValue emit action state err: " + JSON.stringify(err.message))
}
})
//
Text("common-Repeat")
.width(320)
.height(40)
...
...
@@ -211,7 +210,7 @@ export default struct CommonColorMode {
repeat: RepeatMode.Repeat,
fill: false
});
//
Text("common-Space")
.width(320)
.height(40)
...
...
@@ -235,7 +234,7 @@ export default struct CommonColorMode {
repeat: RepeatMode.Space,
fill: false
});
//
Text("common-Thin")
.width(320)
.height(40)
...
...
@@ -250,7 +249,7 @@ export default struct CommonColorMode {
.textOverflow({ overflow: TextOverflow.None })
.key("ThinText")
.backgroundBlurStyle(BlurStyle.Thin)
//
Text("common-Thick")
.width(320)
.height(40)
...
...
@@ -265,7 +264,7 @@ export default struct CommonColorMode {
.textOverflow({ overflow: TextOverflow.None })
.key("ThickText")
.backgroundBlurStyle(BlurStyle.Thick)
//
Text("common-Slice")
.width(320)
.height(40)
...
...
@@ -289,7 +288,7 @@ export default struct CommonColorMode {
repeat: RepeatMode.Stretch,
fill: false
});
//
Text("common-Outset")
.width(320)
.height(40)
...
...
@@ -315,7 +314,7 @@ export default struct CommonColorMode {
outset: 2
});
//
Text("common-Touches")
.width(320)
.height(40)
...
...
@@ -351,7 +350,7 @@ export default struct CommonColorMode {
console.info("touchesValue emit action state err: " + JSON.stringify(err.message))
}
})
//
Text("common-ChangedTouches")
.width(320)
.height(40)
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets
浏览文件 @
74f38647
...
...
@@ -13,9 +13,8 @@
* limitations under the License.
*/
import router from '@ohos.router'
import uiAppearance from '@ohos.uiAppearance';
//
import uiAppearance from '@ohos.uiAppearance';
import Log from '../common/Log.ets';
...
...
@@ -106,6 +105,7 @@ struct RouterStandard {
.onClick(() => {
this.routeSinglePage()
})
Text('这是第一页')
.fontSize(50)
.fontWeight(FontWeight.Bold)
...
...
@@ -123,3 +123,4 @@ struct RouterStandard {
}.width("100%").height("100%")
}
}
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets
浏览文件 @
74f38647
...
...
@@ -38,8 +38,7 @@ struct WebEditText {
.height(500)
.padding(20)
.blur(2)
//修改
//.fileFromUrlAccess(true)
// .fileFromUrlAccess(true)
.initialScale(2)
.webDebuggingAccess(true)
.onRenderExited((event) => {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/test/loadingProgress.test.ets
浏览文件 @
74f38647
...
...
@@ -60,9 +60,9 @@ export default function loadingProgressCircularJsunit() {
expect(obj.$attrs.color).assertEqual(undefined);
expect(obj.$attrs.width).assertEqual('100.00vp');
expect(obj.$attrs.margin).assertEqual('5.00vp');
console.info("[
gwx
testloadingProgressCircular0011] color value :" + obj.$attrs.color);
console.info("[
gwx
testloadingProgressCircular0011] width value :" + obj.$attrs.width);
console.info("[
gwx
testloadingProgressCircular0011] margin value :" + obj.$attrs.margin);
console.info("[testloadingProgressCircular0011] color value :" + obj.$attrs.color);
console.info("[testloadingProgressCircular0011] width value :" + obj.$attrs.width);
console.info("[testloadingProgressCircular0011] margin value :" + obj.$attrs.margin);
done();
});
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/test/router.test.ets
浏览文件 @
74f38647
...
...
@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import router from '@system.router';
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"
import Utils from './Utils.ets'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录