Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Applications Sample Wifi Iot
提交
6239a72e
A
Applications Sample Wifi Iot
项目概览
OpenHarmony
/
Applications Sample Wifi Iot
大约 1 年 前同步成功
通知
3
Star
24
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
Applications Sample Wifi Iot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6239a72e
编写于
7月 12, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 12, 2022
浏览文件
操作
浏览文件
下载
差异文件
!130 note对比,相机拍照上库
Merge pull request !130 from hongshaojie/pr
上级
0900d987
20e26aa5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
5 deletion
+5
-5
screenshot/photographtest/NativeRdbTest
screenshot/photographtest/NativeRdbTest
+0
-0
screenshot/resource/app_capture_screen_test_config.json
screenshot/resource/app_capture_screen_test_config.json
+4
-4
screenshot/resource/capturescreentest.py
screenshot/resource/capturescreentest.py
+1
-1
未找到文件。
screenshot/photographtest/NativeRdbTest
浏览文件 @
6239a72e
无法预览此类型文件
screenshot/resource/app_capture_screen_test_config.json
浏览文件 @
6239a72e
[
{
"DEVICE_1"
:[
1
,
2
,
3
,
4
,
6
],
"DEVICE_2"
:[
5
,
7
,
10
,
11
],
"DEVICE_2"
:[
5
,
7
,
8
,
10
,
11
],
"return-x-y"
:[
210
,
1240
],
"recent-x-y"
:[
515
,
1240
],
"home-x-y"
:[
360
,
1240
],
...
...
@@ -105,9 +105,9 @@
"entry"
:
"aa start -a com.ohos.camera.MainAbility -b com.ohos.camera"
,
"compress_log"
:[
"cd /data/log/hilog && tar -cf photograph_log.tar *"
],
"chmodfile"
:[
"chmod 777 /data/NativeRdbTest"
],
"start_photographtest"
:[
"cd /data && ./NativeRdbTest --gtest_filter=RdbStoreInsertTest.RdbStore_Insert_001 && rm *.xml"
,
""
],
"start_photographtest"
:[
"cd /data && ./NativeRdbTest --gtest_filter=RdbStoreInsertTest.RdbStore_Insert_001 && rm *.xml"
,
"
[ PASSED ] 1 test
"
],
"all_actions"
:
[
[
2
,
"permisson_ok-x-y"
],
[
2
,
"take_photos-x-y"
],
[
2
,
"take_photos-x-y"
],
[
1
,
"remount"
],
[
1
,
"send_file_to_dev"
,
"photographtest/NativeRdbTest"
,
"/data/"
],
[
2
,
"chmodfile"
],
[
2
,
"start_photographtest"
],
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"
permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"
take_photos-x-y"
],
[
2
,
"take_photos-x-y"
],
[
1
,
"remount"
],
[
1
,
"send_file_to_dev"
,
"photographtest/NativeRdbTest"
,
"/data/"
],
[
2
,
"chmodfile"
],
[
2
,
"start_photographtest"
],
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
1
,
"stop_hilog"
],
[
1
,
"compress_log"
],[
1
,
"get_file_from_dev"
,
"/data/log/hilog/photograph_log.tar"
]
]
},
...
...
@@ -135,7 +135,7 @@
"compress_log"
:[
"cd /data/log/hilog && tar -cf note_log.tar *"
],
"all_actions"
:
[
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"shot_cmd"
],
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
2
,
"home-x-y"
],
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
1
,
"stop_hilog"
],
[
1
,
"compress_log"
],
[
1
,
"get_file_from_dev"
,
"/data/log/hilog/note_log.tar"
]
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
1
,
"
cmp_cmd-level"
],
[
1
,
"
stop_hilog"
],
[
1
,
"compress_log"
],
[
1
,
"get_file_from_dev"
,
"/data/log/hilog/note_log.tar"
]
]
}
]
screenshot/resource/capturescreentest.py
浏览文件 @
6239a72e
...
...
@@ -449,7 +449,7 @@ if __name__ == "__main__":
f
.
seek
(
0
)
reboot_result
=
f
.
read
()
f
.
close
()
if
len
(
reboot_result
)
<
1
:
if
len
(
reboot_result
)
<
1
and
rebootcnt
>=
1
:
os
.
system
(
"mkdir {}
\\
reboot"
.
format
(
args
.
save_path
))
with
open
(
os
.
path
.
normpath
(
os
.
path
.
join
(
args
.
tools_path
,
"reboot.txt"
)),
mode
=
'w'
)
as
f
:
f
.
write
(
"reboot"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录