Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5dbbc4b3
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看板
提交
5dbbc4b3
编写于
3月 16, 2023
作者:
T
tianwenzhe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change UI
Signed-off-by:
N
tian-wenzhe411
<
tianwenzhe2@huawei.com
>
上级
d8f2f44d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
10 addition
and
25 deletion
+10
-25
validator/acts_validator/src/main/ets/pages/Experience/ColdStartTest.ets
...validator/src/main/ets/pages/Experience/ColdStartTest.ets
+3
-3
validator/acts_validator/src/main/ets/pages/Experience/DeskFps.ets
.../acts_validator/src/main/ets/pages/Experience/DeskFps.ets
+1
-1
validator/acts_validator/src/main/ets/pages/Experience/HotStartTest.ets
..._validator/src/main/ets/pages/Experience/HotStartTest.ets
+3
-18
validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets
...tor/src/main/ets/pages/Experience/KeyboardDisplayTest.ets
+1
-1
validator/acts_validator/src/main/ets/pages/Experience/PhotoFps.ets
...acts_validator/src/main/ets/pages/Experience/PhotoFps.ets
+1
-1
validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets
...dator/src/main/ets/pages/Experience/StartNotification.ets
+1
-1
未找到文件。
validator/acts_validator/src/main/ets/pages/Experience/ColdStartTest.ets
浏览文件 @
5dbbc4b3
...
...
@@ -47,12 +47,12 @@ struct CustomContainerUser {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Column(){
Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n'
+ '\n' + '\n'+ '\n' + '\n' + '\n' + '\n'
)
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
.fontColor(Color.White).fontSize('24fp')
}
Row(){
Text(`测试步骤:`+ '\n' + '\n' + `1.点击开始键进入系统桌面`+ '\n' + '\n' + `2.清空后台应用`+ '\n' + '\n'
+ `3.双击执行
DeskFps
.bat选择冷启动测试输入待测应用编号`+ '\n' + '\n' +`4.依次测试完所有应用冷启动返回validator界面`
+ `3.双击执行.bat选择冷启动测试输入待测应用编号`+ '\n' + '\n' +`4.依次测试完所有应用冷启动返回validator界面`
+ '\n' + '\n' + '5.点击停止键观察测试结果' + '\n' + '\n' + `5.若所有冷启动测试均在规定时延内完成则通过测试`
+ '\n' + '\n' )
.fontColor(Color.White).fontSize('20fp')
...
...
@@ -160,7 +160,7 @@ struct CustomContainerUser {
}
}
Row(){
Text('\n' + '\n' + `测试结果:` + '设置冷启动时延' + this.setNum + 'ms' + '\n' + '图库冷启动时延' + this.photosNum
Text('\n' + '\n' + `测试结果:` + '
\n' + '
设置冷启动时延' + this.setNum + 'ms' + '\n' + '图库冷启动时延' + this.photosNum
+ 'ms' + '\n'+ '信息冷启动时延' + this.mmsNum + 'ms' + '\n' + '相机冷启动时延' + this.cameraNum + 'ms' + '\n'
+ '联系人冷启动时延' + this.contactsNum + 'ms' + '\n' + '通过冷启动测试项' + this.num + '个')
.fontColor(Color.White).fontSize('24fp')
...
...
validator/acts_validator/src/main/ets/pages/Experience/DeskFps.ets
浏览文件 @
5dbbc4b3
...
...
@@ -44,7 +44,7 @@ struct CustomContainerUser {
}
Row(){
Text(`测试步骤:`+ '\n' + '\n' + `1.点击开始键进入系统桌面`+ '\n' + '\n'
+ `2.双击执行
DeskFps.bat
`+ '\n' + '\n' +`3.左右滑动系统桌面连续10s以上` + '\n' + '\n'
+ `2.双击执行
.bat选择帧率>桌面
`+ '\n' + '\n' +`3.左右滑动系统桌面连续10s以上` + '\n' + '\n'
+ '4.回到DeskFps测试项点击停止键' + '\n' + '\n' + `5.若测试最高帧率大于54帧则通过测试`
+ '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' )
.fontColor(Color.White).fontSize('20fp')
...
...
validator/acts_validator/src/main/ets/pages/Experience/HotStartTest.ets
浏览文件 @
5dbbc4b3
...
...
@@ -22,7 +22,6 @@ let path = globalThis.dir;
let SettingsColdPath = path + '/HotStartSetting.log';
let PhotosColdPath = path + '/HotStartPhotos.log';
let MmsColdPath = path + '/HotStartMms.log';
let CameraColdPath = path + '/HotStartCamera.log';
let ContactsColdPath = path + '/HotStartContacts.log';
@Entry
@Component
...
...
@@ -127,19 +126,6 @@ struct CustomContainerUser {
if( this.mmsNum < 1000 ) {
this.num++
}
/*
camera
*/
let CameraFd = fileio.openSync(CameraColdPath, 0o100 | 0o2002, 0o664);
let CameraBuf = new ArrayBuffer(4096);
fileio.readSync(CameraFd,CameraBuf);
let CameraReport = String.fromCharCode.apply(null,new Uint8Array(CameraBuf));
let CameraHead = CameraReport.indexOf(':');
let CameraTime = CameraReport.substring(CameraHead+1);
this.cameraNum = parseFloat(CameraTime);
if( this.cameraNum < 1000 ) {
this.num++
}
/*
mms
*/
...
...
@@ -153,17 +139,16 @@ struct CustomContainerUser {
if( this.contactsNum < 1000 ) {
this.num++
}
if( this.num ===
5
) {
if( this.num ===
4
) {
this.Vue = true;
}
})
}
}
Row(){
Text('\n' + '\n' + '\n' + '\n' + `测试结果:` + '设置热启动时延' + this.setNum + 'ms'
Text('\n' + '\n' + '\n' + '\n' + `测试结果:` + '
\n' + '
设置热启动时延' + this.setNum + 'ms'
+ '\n' + '图库热启动时延' + this.photosNum + 'ms' + '\n'+ '信息热启动时延' + this.mmsNum + 'ms' + '\n'
+ '相机热启动时延' + this.cameraNum + 'ms' + '\n'+ '联系人热启动时延' + this.contactsNum + 'ms' + '\n'
+ '通过热启动测试项' + this.num + '个' )
+ '联系人热启动时延' + this.contactsNum + 'ms' + '\n' + '通过热启动测试项' + this.num + '个' )
.fontColor(Color.White).fontSize('24fp')
}
}
...
...
validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets
浏览文件 @
5dbbc4b3
...
...
@@ -42,7 +42,7 @@ struct CustomContainerUser {
}
Row(){
Text(`测试步骤:`+ '\n' + '\n' + `1.点击开始键进入信息` + '\n' + '\n' +'2.新建一条信息显示输入框'+ '\n' + '\n'
+ `3.双击执行.bat选择完成时延>键盘按键弹出`+ '\n' + '\n' +`4.点击
一张图库缩略图等待响应
` + '\n' + '\n'
+ `3.双击执行.bat选择完成时延>键盘按键弹出`+ '\n' + '\n' +`4.点击
输入框等待键盘弹出
` + '\n' + '\n'
+ '5.待脚本执行结束回到Validator点击停止键' + '\n' + '\n' + `6.若弹出键盘时延小于或等于1000ms则通过测试`
+ '\n' + '\n' + '\n' + '\n' )
.fontColor(Color.White).fontSize('20fp')
...
...
validator/acts_validator/src/main/ets/pages/Experience/PhotoFps.ets
浏览文件 @
5dbbc4b3
...
...
@@ -42,7 +42,7 @@ struct CustomContainerUser {
}
Row(){
Text(`测试步骤:`+ '\n' + '\n' +`1.在图库中预置500张图片`+ '\n' + '\n' +`2.点击开始键进入图库`+ '\n' + '\n'
+ `3.双击执行
PhotoFps.bat
`+ '\n' + '\n' +`4.滑动图库缩略图界面连续10s以上` + '\n' + '\n'
+ `3.双击执行
.bat选择帧率>图库
`+ '\n' + '\n' +`4.滑动图库缩略图界面连续10s以上` + '\n' + '\n'
+ '5.回到PhotoFps测试项点击停止键' + '\n' + '\n' + `6.若测试最高帧率大于或等于54帧则通过测试`
+ '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' )
.fontColor(Color.White).fontSize('20fp')
...
...
validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets
浏览文件 @
5dbbc4b3
...
...
@@ -19,7 +19,7 @@ import context from '@ohos.app.ability.common';
let abilityContext = getContext(this) as context.UIAbilityContext;
let path = globalThis.dir;
let Xpath = path + '/
Complet
eTimeLauncher.log';
let Xpath = path + '/
Respons
eTimeLauncher.log';
@Entry
@Component
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录