Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
fb54e226
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看板
提交
fb54e226
编写于
9月 06, 2022
作者:
B
bayanxing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
根据检视意见修改用例 测试selectAll变化时 子组件状态变化
Signed-off-by:
N
bayanxing
<
bayanxing@kaihong.com
>
上级
106c1be1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
78 addition
and
2 deletion
+78
-2
.idea/workspace.xml
.idea/workspace.xml
+74
-0
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
...ck/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
+1
-0
arkui/ace_ets_component_apilack/entry/src/main/ets/test/checkBoxGroup.test.ets
...nt_apilack/entry/src/main/ets/test/checkBoxGroup.test.ets
+3
-2
未找到文件。
.idea/workspace.xml
0 → 100644
浏览文件 @
fb54e226
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"826b3f1a-35ec-44f5-a0fa-738bb4ba4c7b"
name=
"Changes"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/arkui/ace_ets_component_apilack/entry/src/main/ets/test/checkBoxGroup.test.ets"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/arkui/ace_ets_component_apilack/entry/src/main/ets/test/checkBoxGroup.test.ets"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
<option
name=
"LAST_RESOLUTION"
value=
"IGNORE"
/>
</component>
<component
name=
"Git.Settings"
>
<option
name=
"RECENT_BRANCH_BY_REPOSITORY"
>
<map>
<entry
key=
"$PROJECT_DIR$"
value=
"monthly_20220816"
/>
</map>
</option>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"ProjectId"
id=
"2DnUukPXey3C1GO4vnHmus2YbmX"
/>
<component
name=
"ProjectLevelVcsManager"
>
<ConfirmationsSetting
value=
"2"
id=
"Add"
/>
</component>
<component
name=
"ProjectViewState"
>
<option
name=
"hideEmptyMiddlePackages"
value=
"true"
/>
<option
name=
"showLibraryContents"
value=
"true"
/>
</component>
<component
name=
"PropertiesComponent"
>
<property
name=
"ASKED_ADD_EXTERNAL_FILES"
value=
"true"
/>
<property
name=
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES"
value=
"true"
/>
<property
name=
"Git.Branch.Popup.ShowAllRemotes"
value=
"true"
/>
<property
name=
"RunOnceActivity.OpenProjectViewOnStart"
value=
"true"
/>
<property
name=
"RunOnceActivity.ShowReadmeOnStart"
value=
"true"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/arkui/ace_ets_component_apilack/entry/src/main/ets/test"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"C:\Users\Administrator\Desktop\xts824\xts_acts_0824\arkui\ace_ets_component_apilack\entry\src\main\ets\test"
/>
<recent
name=
"C:\Users\Administrator\Desktop\xts824\xts_acts_0824\arkui\ace_ets_component_apilack\entry\src\main\ets\MainAbility\pages"
/>
<recent
name=
"C:\Users\Administrator\Desktop\xts824\xts_acts_0824\arkui"
/>
<recent
name=
"C:\Users\Administrator\Desktop\xts824\xts_acts_0824\arkui\ace_js_attribute_api\src\main\js\MainAbility\common\images"
/>
<recent
name=
"C:\Users\Administrator\Desktop\xts824\xts_acts_0824\arkui\ace_js_attribute_api\src\main\js\MainAbility\pages"
/>
</key>
</component>
<component
name=
"SpellCheckerSettings"
RuntimeDictionaries=
"0"
Folders=
"0"
CustomDictionaries=
"0"
DefaultDictionary=
"application-level"
UseSingleDictionary=
"true"
transferred=
"true"
/>
<component
name=
"Vcs.Log.Tabs.Properties"
>
<option
name=
"TAB_STATES"
>
<map>
<entry
key=
"MAIN"
>
<value>
<State>
<option
name=
"FILTERS"
>
<map>
<entry
key=
"branch"
>
<value>
<list>
<option
value=
"master"
/>
</list>
</value>
</entry>
</map>
</option>
</State>
</value>
</entry>
</map>
</option>
<option
name=
"oldMeFiltersMigrated"
value=
"true"
/>
</component>
<component
name=
"VcsManagerConfiguration"
>
<option
name=
"ADD_EXTERNAL_FILES_SILENTLY"
value=
"true"
/>
</component>
</project>
\ No newline at end of file
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
浏览文件 @
fb54e226
...
...
@@ -88,6 +88,7 @@ struct CheckBoxGroupSelectAll {
})
Checkbox({ name: 'checkbox1', group: 'checkboxGroup' })
.selectedColor(0x39a2db)
.key("CheckboxOne")
.onChange((value: boolean) => {
console.info('Checkbox1 change is' + value)
})
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/test/checkBoxGroup.test.ets
浏览文件 @
fb54e226
...
...
@@ -87,10 +87,11 @@ export default function checkBoxGroupSelectAllJsunit() {
}
await Utils.sleep(2000);
let strJson = getInspectorByKey('Checkbox
Group
');
let strJson = getInspectorByKey('Checkbox
One
');
let obj = JSON.parse(strJson);
console.info("[testcheckBoxGroupSelectAll0002] obj is: " + JSON.stringify(obj));
expect(obj.$attrs.selectAll).assertEqual('false');
expect(obj.$attrs.selectedColor).assertEqual("#FF39A2DB");
console.info("[testcheckBoxGroupSelectAll0002] selectedColor value :" + obj.$attrs.selectedColor);
console.info('testcheckBoxGroupSelectAll0002 END');
done();
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录