Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
9dfa04f3
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9dfa04f3
编写于
3月 11, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 11, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2335 Fix xts test issue
Merge pull request !2335 from zhaoruiyuan/OpenHarmony-3.1-Release
上级
9556086a
af45b25d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
10 deletion
+11
-10
powermgr/BUILD.gn
powermgr/BUILD.gn
+1
-0
powermgr/powermgrbatterystats/src/main/js/default/test/batterystats_uint.test.js
...ystats/src/main/js/default/test/batterystats_uint.test.js
+10
-10
未找到文件。
powermgr/BUILD.gn
浏览文件 @
9dfa04f3
...
...
@@ -17,6 +17,7 @@ group("powermgr") {
if (is_standard_system) {
deps = [
"powermgrbattery_rk3568:powermgr_battery_test_rk3568",
"powermgrbatterystats:powermgr_batterystats_test",
"powermgrthermal:powermgr_thermal_test",
]
}
...
...
powermgr/powermgrbatterystats/src/main/js/default/test/batterystats_uint.test.js
浏览文件 @
9dfa04f3
...
...
@@ -35,11 +35,11 @@ describe('appInfoTest', function () {
/**
/* @tc.number batteryStats_js_001
* @tc.name batteryStats_001
* @tc.desc batteryStats get
b
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_BLUETOOTH
* @tc.desc batteryStats get
B
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_BLUETOOTH
*/
it
(
'
batteryStats_001
'
,
0
,
async
function
(
done
)
{
var
infoList
;
let
promise
=
batteryStats
.
get
b
atteryStats
().
then
(
function
(
value
)
{
let
promise
=
batteryStats
.
get
B
atteryStats
().
then
(
function
(
value
)
{
infoList
=
value
;
console
.
info
(
"
Executing
"
);
},
function
(
msg
)
{
...
...
@@ -62,11 +62,11 @@ describe('appInfoTest', function () {
/**
/* @tc.number batteryStats_js_002
* @tc.name batteryStats_002
* @tc.desc batteryStats get
b
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_IDLE
* @tc.desc batteryStats get
B
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_IDLE
*/
it
(
'
batteryStats_002
'
,
0
,
async
function
(
done
)
{
var
infoList
;
let
promise
=
batteryStats
.
get
b
atteryStats
().
then
(
function
(
value
)
{
let
promise
=
batteryStats
.
get
B
atteryStats
().
then
(
function
(
value
)
{
infoList
=
value
;
console
.
info
(
"
Executing
"
);
},
function
(
msg
)
{
...
...
@@ -89,11 +89,11 @@ describe('appInfoTest', function () {
/**
/* @tc.number batteryStats_js_003
* @tc.name batteryStats_003
* @tc.desc batteryStats get
b
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_PHONE
* @tc.desc batteryStats get
B
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_PHONE
*/
it
(
'
batteryStats_003
'
,
0
,
async
function
(
done
)
{
var
infoList
;
let
promise
=
batteryStats
.
get
b
atteryStats
().
then
(
function
(
value
)
{
let
promise
=
batteryStats
.
get
B
atteryStats
().
then
(
function
(
value
)
{
infoList
=
value
;
console
.
info
(
"
Executing
"
);
},
function
(
msg
)
{
...
...
@@ -116,11 +116,11 @@ describe('appInfoTest', function () {
/**
/* @tc.number batteryStats_js_004
* @tc.name batteryStats_004
* @tc.desc batteryStats get
b
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_RADIO
* @tc.desc batteryStats get
B
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_RADIO
*/
it
(
'
batteryStats_004
'
,
0
,
async
function
(
done
)
{
var
infoList
;
let
promise
=
batteryStats
.
get
b
atteryStats
().
then
(
function
(
value
)
{
let
promise
=
batteryStats
.
get
B
atteryStats
().
then
(
function
(
value
)
{
infoList
=
value
;
console
.
info
(
"
Executing
"
);
},
function
(
msg
)
{
...
...
@@ -143,11 +143,11 @@ describe('appInfoTest', function () {
/**
/* @tc.number batteryStats_js_005
* @tc.name batteryStats_005
* @tc.desc batteryStats get
b
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_SCREEN
* @tc.desc batteryStats get
B
atteryStats Interface Test type = ConsumptionType.CONSUMPTION_TYPE_SCREEN
*/
it
(
'
batteryStats_005
'
,
0
,
async
function
(
done
)
{
var
infoList
;
let
promise
=
batteryStats
.
get
b
atteryStats
().
then
(
function
(
value
)
{
let
promise
=
batteryStats
.
get
B
atteryStats
().
then
(
function
(
value
)
{
infoList
=
value
;
console
.
info
(
"
Executing
"
);
},
function
(
msg
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录