diff --git a/validator/acts_validator/src/main/ets/pages/Experience/ColdStartTest.ets b/validator/acts_validator/src/main/ets/pages/Experience/ColdStartTest.ets index 4b10d89ccf16e6b7ce099852afe0f15d9f039a0f..bbdfda38999c08107dfac7113c4a706cff793325 100644 --- a/validator/acts_validator/src/main/ets/pages/Experience/ColdStartTest.ets +++ b/validator/acts_validator/src/main/ets/pages/Experience/ColdStartTest.ets @@ -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') diff --git a/validator/acts_validator/src/main/ets/pages/Experience/DeskFps.ets b/validator/acts_validator/src/main/ets/pages/Experience/DeskFps.ets index 941b36cd7a2e1373b7cb9ec80c2404bc3fbdea42..781d4db210a704adefcd0a75646cffbc6429429f 100644 --- a/validator/acts_validator/src/main/ets/pages/Experience/DeskFps.ets +++ b/validator/acts_validator/src/main/ets/pages/Experience/DeskFps.ets @@ -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') diff --git a/validator/acts_validator/src/main/ets/pages/Experience/HotStartTest.ets b/validator/acts_validator/src/main/ets/pages/Experience/HotStartTest.ets index ae456fe9b82a38f03381a8da45d432dac6c70f01..f5e668165e24219918c92deeb9475a290bcd2a6b 100644 --- a/validator/acts_validator/src/main/ets/pages/Experience/HotStartTest.ets +++ b/validator/acts_validator/src/main/ets/pages/Experience/HotStartTest.ets @@ -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') } } diff --git a/validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets b/validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets index bffc4cb9ff434a89acf39ee10270c4869dcfa6b0..41c3c97146ef1d721f91803f427b858054300822 100644 --- a/validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets +++ b/validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets @@ -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') diff --git a/validator/acts_validator/src/main/ets/pages/Experience/PhotoFps.ets b/validator/acts_validator/src/main/ets/pages/Experience/PhotoFps.ets index d7d75f17c6bb402a7b9548e55d51923c504f9f62..76c18d9dbef1e2107ff0dfd57d0281a76f84eacf 100644 --- a/validator/acts_validator/src/main/ets/pages/Experience/PhotoFps.ets +++ b/validator/acts_validator/src/main/ets/pages/Experience/PhotoFps.ets @@ -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') diff --git a/validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets b/validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets index 226403d9fe46cba44a3dc0e364a2564f056d528f..ae5d0a252b4a4381135596657856a4b3d5694e2a 100644 --- a/validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets +++ b/validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets @@ -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 + '/CompleteTimeLauncher.log'; +let Xpath = path + '/ResponseTimeLauncher.log'; @Entry @Component