Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
af904371
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看板
提交
af904371
编写于
7月 13, 2023
作者:
H
hu0475
浏览文件
操作
浏览文件
下载
差异文件
完成graphic子系统Display模块的跨平台测试套
Signed-off-by:
N
hu0475
<
huyanqiang5@huawei.com
>
上级
a660f6a5
660d2803
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
64 addition
and
8 deletion
+64
-8
graphic/BUILD.gn
graphic/BUILD.gn
+1
-1
graphic/crossplatform/graphicDisplayetstest/AppScope/app.json
...hic/crossplatform/graphicDisplayetstest/AppScope/app.json
+3
-3
graphic/crossplatform/graphicDisplayetstest/BUILD.gn
graphic/crossplatform/graphicDisplayetstest/BUILD.gn
+18
-4
graphic/crossplatform/graphicDisplayetstest/src/main/ets/TestAbility/TestAbility.ets
...icDisplayetstest/src/main/ets/TestAbility/TestAbility.ets
+14
-0
graphic/crossplatform/graphicDisplayetstest/src/main/ets/TestAbility/pages/Index.ets
...icDisplayetstest/src/main/ets/TestAbility/pages/Index.ets
+14
-0
graphic/crossplatform/graphicDisplayetstest/src/main/ets/test/List.test.ets
...orm/graphicDisplayetstest/src/main/ets/test/List.test.ets
+14
-0
未找到文件。
graphic/BUILD.gn
浏览文件 @
af904371
graphic/crossplatform/graphicDisplayetstest/AppScope/app.json
浏览文件 @
af904371
...
...
@@ -6,10 +6,10 @@
"versionName"
:
"1.0.0"
,
"icon"
:
"$media:app_icon"
,
"label"
:
"$string:app_name"
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"minAPIVersion"
:
10
,
"targetAPIVersion"
:
10
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"apiCompatibleVersion"
:
10
,
"singleUser"
:
false
}
}
...
...
graphic/crossplatform/graphicDisplayetstest/BUILD.gn
浏览文件 @
af904371
/*
* Copyright (C) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("
Display_ets_t
est") {
ohos_js_hap_suite("
ActsCrossPlatformDisplayT
est") {
hap_profile = "src/main/module.json"
deps = [
":windowStage_js_assets",
...
...
@@ -9,9 +23,9 @@ ohos_js_hap_suite("Display_ets_test") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
# hap_name: HAP的名字,可选,默认为目标名
hap_name = "
Display_ets_t
est"
subsystem_name = "
graphic
"
part_name = "
ets_utils
"
hap_name = "
ActsCrossPlatformDisplayT
est"
subsystem_name = "
window
"
part_name = "
window_manager
"
}
ohos_app_scope("windowStage_app_profile") {
# app_profile: HAP的AppScope中的app.json,只在Stage模型下使用
...
...
graphic/crossplatform/graphicDisplayetstest/src/main/ets/TestAbility/TestAbility.ets
浏览文件 @
af904371
/*
* Copyright (C) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import UIAbility from '@ohos.app.ability.UIAbility';
import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry';
import hilog from '@ohos.hilog';
...
...
graphic/crossplatform/graphicDisplayetstest/src/main/ets/TestAbility/pages/Index.ets
浏览文件 @
af904371
/*
* Copyright (C) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import hilog from '@ohos.hilog';
@Entry
...
...
graphic/crossplatform/graphicDisplayetstest/src/main/ets/test/List.test.ets
浏览文件 @
af904371
/*
* Copyright (C) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import DisplayTest from './Display.test'
export default function testsuite() {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录