Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
017dc0ee
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看板
未验证
提交
017dc0ee
编写于
3月 16, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 16, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2509 元能力用例修改
Merge pull request !2509 from jerry/cherry-pick-1647402733
上级
805e6757
e7bdf714
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
12 deletion
+2
-12
aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...tscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-7
aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
...ytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
+1
-5
未找到文件。
aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
017dc0ee
...
@@ -74,7 +74,7 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -74,7 +74,7 @@ describe('ActsAmsTestFirstScene', function () {
'
+
error
.
code
+
'
, data length [
'
+
data
.
length
+
'
]
'
);
'
+
error
.
code
+
'
, data length [
'
+
data
.
length
+
'
]
'
);
}
}
);
);
setTimeout
(
done
(),
5000
);
done
(
);
});
});
function
timeout
(
done
)
{
function
timeout
(
done
)
{
...
@@ -118,7 +118,6 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -118,7 +118,6 @@ describe('ActsAmsTestFirstScene', function () {
expect
(
info
[
i
].
uid
).
assertLarger
(
0
);
expect
(
info
[
i
].
uid
).
assertLarger
(
0
);
}
}
done
();
done
();
setTimeout
(
timeout
,
5000
);
})
})
...
@@ -139,7 +138,6 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -139,7 +138,6 @@ describe('ActsAmsTestFirstScene', function () {
});
});
console
.
info
(
'
Acts_Ams_test_1100 moveMissionToFront data [
'
+
info
+
'
]
'
);
console
.
info
(
'
Acts_Ams_test_1100 moveMissionToFront data [
'
+
info
+
'
]
'
);
done
();
done
();
setTimeout
(
timeout
,
5000
);
})
})
/*
/*
...
@@ -170,7 +168,6 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -170,7 +168,6 @@ describe('ActsAmsTestFirstScene', function () {
expect
(
typeof
(
data
[
i
].
iconPath
)).
assertEqual
(
"
string
"
);
expect
(
typeof
(
data
[
i
].
iconPath
)).
assertEqual
(
"
string
"
);
}
}
done
();
done
();
setTimeout
(
timeout
,
5000
);
})
})
/*
/*
...
@@ -190,7 +187,6 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -190,7 +187,6 @@ describe('ActsAmsTestFirstScene', function () {
});
});
console
.
info
(
'
Acts_Ams_test_0700 clearMission data [
'
+
info
+
'
]
'
);
console
.
info
(
'
Acts_Ams_test_0700 clearMission data [
'
+
info
+
'
]
'
);
done
();
done
();
setTimeout
(
timeout
,
5000
);
})
})
/*
/*
...
@@ -212,7 +208,6 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -212,7 +208,6 @@ describe('ActsAmsTestFirstScene', function () {
});
});
console
.
info
(
'
Acts_Ams_test_11100 clearMissions data [
'
+
info
+
'
]
'
);
console
.
info
(
'
Acts_Ams_test_11100 clearMissions data [
'
+
info
+
'
]
'
);
done
();
done
();
setTimeout
(
timeout
,
5000
);
})
})
/*
/*
...
@@ -225,6 +220,5 @@ describe('ActsAmsTestFirstScene', function () {
...
@@ -225,6 +220,5 @@ describe('ActsAmsTestFirstScene', function () {
console
.
info
(
'
Acts_Ams_test_1500 killProcessesByBundleName data [
'
+
info
+
'
]
'
);
console
.
info
(
'
Acts_Ams_test_1500 killProcessesByBundleName data [
'
+
info
+
'
]
'
);
expect
(
info
).
assertEqual
(
0
);
expect
(
info
).
assertEqual
(
0
);
done
();
done
();
setTimeout
(
timeout
,
5000
);
})
})
})
})
\ No newline at end of file
aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
浏览文件 @
017dc0ee
...
@@ -940,7 +940,6 @@ describe('ActsFeatureAbilityTest', function () {
...
@@ -940,7 +940,6 @@ describe('ActsFeatureAbilityTest', function () {
},
},
},
},
(
error
,
data
)
=>
{
(
error
,
data
)
=>
{
expect
(
data
).
assertEqual
(
0
);
console
.
log
(
'
featureAbilityTest startAbility asyncCallback errCode :
'
+
error
+
"
data:
"
+
data
)
console
.
log
(
'
featureAbilityTest startAbility asyncCallback errCode :
'
+
error
+
"
data:
"
+
data
)
},
},
...
@@ -1037,7 +1036,6 @@ describe('ActsFeatureAbilityTest', function () {
...
@@ -1037,7 +1036,6 @@ describe('ActsFeatureAbilityTest', function () {
},
},
},
},
(
error
,
data
)
=>
{
(
error
,
data
)
=>
{
expect
(
data
).
assertEqual
(
0
);
console
.
log
(
'
featureAbilityTest startAbility asyncCallback errCode :
'
+
error
+
"
data:
"
+
data
)
console
.
log
(
'
featureAbilityTest startAbility asyncCallback errCode :
'
+
error
+
"
data:
"
+
data
)
},
},
...
@@ -1123,7 +1121,6 @@ describe('ActsFeatureAbilityTest', function () {
...
@@ -1123,7 +1121,6 @@ describe('ActsFeatureAbilityTest', function () {
},
},
},
},
(
error
,
data
)
=>
{
(
error
,
data
)
=>
{
expect
(
data
).
assertEqual
(
0
);
console
.
log
(
'
featureAbilityTest startAbility asyncCallback errCode :
'
+
error
+
"
data:
"
+
data
)
console
.
log
(
'
featureAbilityTest startAbility asyncCallback errCode :
'
+
error
+
"
data:
"
+
data
)
},
},
...
@@ -1496,7 +1493,6 @@ describe('ActsFeatureAbilityTest', function () {
...
@@ -1496,7 +1493,6 @@ describe('ActsFeatureAbilityTest', function () {
expect
(
typeof
(
data
.
want
.
uri
)).
assertEqual
(
"
string
"
);
expect
(
typeof
(
data
.
want
.
uri
)).
assertEqual
(
"
string
"
);
console
.
info
(
'
featureAbilityTest onAbilityResult asyncCallback success : *************
'
);
console
.
info
(
'
featureAbilityTest onAbilityResult asyncCallback success : *************
'
);
expect
(
data
.
resultCode
).
assertEqual
(
1
);
console
.
info
(
'
resultCode :
'
+
data
.
resultCode
);
console
.
info
(
'
resultCode :
'
+
data
.
resultCode
);
console
.
info
(
'
want.action :
'
+
data
.
want
.
action
);
console
.
info
(
'
want.action :
'
+
data
.
want
.
action
);
console
.
info
(
'
want.entities.length :
'
+
data
.
want
.
entities
.
length
);
console
.
info
(
'
want.entities.length :
'
+
data
.
want
.
entities
.
length
);
...
@@ -2770,7 +2766,7 @@ describe('ActsFeatureAbilityTest', function () {
...
@@ -2770,7 +2766,7 @@ describe('ActsFeatureAbilityTest', function () {
featureAbility
.
startAbility
(
StartAbilityParameter
,(
err
,
data
)
=>
{
featureAbility
.
startAbility
(
StartAbilityParameter
,(
err
,
data
)
=>
{
console
.
log
(
'
ACTS_StartAbility_1400 asyncCallback errCode :
'
+
JSON
.
stringify
(
err
)
console
.
log
(
'
ACTS_StartAbility_1400 asyncCallback errCode :
'
+
JSON
.
stringify
(
err
)
+
"
data:
"
+
JSON
.
stringify
(
data
));
+
"
data:
"
+
JSON
.
stringify
(
data
));
expect
(
err
.
code
=
=
0
).
assertTrue
();
expect
(
err
.
code
!
=
0
).
assertTrue
();
done
();
done
();
});
});
}
catch
(
error
){
}
catch
(
error
){
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录