Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
59975ada
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看板
提交
59975ada
编写于
4月 18, 2022
作者:
C
chengxingzhen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
XTS用例适配错误码
Signed-off-by:
N
chengxingzhen
<
chengxingzhen@huawei.com
>
上级
e6c07a64
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
5 addition
and
5 deletion
+5
-5
aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...hscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-1
aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-1
aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-1
aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-1
aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js
...try/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js
+1
-1
未找到文件。
aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
59975ada
...
@@ -267,7 +267,7 @@ describe('ActsAmsCallBackFourthScene', function () {
...
@@ -267,7 +267,7 @@ describe('ActsAmsCallBackFourthScene', function () {
appManager
.
killProcessesByBundleName
(
'
xxxxxxxxx
'
,
appManager
.
killProcessesByBundleName
(
'
xxxxxxxxx
'
,
(
error
)
=>
{
(
error
)
=>
{
console
.
info
(
'
Acts_Ams_test_6400 killProcessesByBundleName error.code
'
+
error
.
code
);
console
.
info
(
'
Acts_Ams_test_6400 killProcessesByBundleName error.code
'
+
error
.
code
);
expect
(
error
.
code
).
assertEqual
(
2097
215
);
expect
(
error
.
code
).
assertEqual
(
2097
183
);
done
();
done
();
});
});
})
})
...
...
aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
59975ada
...
@@ -223,7 +223,7 @@ describe('ActsAmsCallBackSecondScene', function () {
...
@@ -223,7 +223,7 @@ describe('ActsAmsCallBackSecondScene', function () {
(
error
,
info
)
=>
{
(
error
,
info
)
=>
{
console
.
info
(
'
Acts_Ams_test_3200 killProcessesByBundleName error.code:
\
console
.
info
(
'
Acts_Ams_test_3200 killProcessesByBundleName error.code:
\
'
+
error
.
code
+
'
,data [
'
+
info
+
'
]
'
);
'
+
error
.
code
+
'
,data [
'
+
info
+
'
]
'
);
expect
(
error
.
code
).
assertEqual
(
2097
215
);
expect
(
error
.
code
).
assertEqual
(
2097
183
);
done
();
done
();
});
});
})
})
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
59975ada
...
@@ -205,7 +205,7 @@ describe('ActsAmsTestSecondScene', function () {
...
@@ -205,7 +205,7 @@ describe('ActsAmsTestSecondScene', function () {
console
.
log
(
'
Acts_test_3100 success:
'
+
data
);
console
.
log
(
'
Acts_test_3100 success:
'
+
data
);
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
'
Acts_test_3100 failed:
'
+
err
.
code
);
console
.
log
(
'
Acts_test_3100 failed:
'
+
err
.
code
);
expect
(
err
.
code
).
assertEqual
(
2097
215
);
expect
(
err
.
code
).
assertEqual
(
2097
183
);
done
();
done
();
});
});
})
})
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
59975ada
...
@@ -207,7 +207,7 @@ describe('ActsAmsTestThirdScene', function () {
...
@@ -207,7 +207,7 @@ describe('ActsAmsTestThirdScene', function () {
console
.
log
(
'
Acts_test_4700 success:
'
+
data
);
console
.
log
(
'
Acts_test_4700 success:
'
+
data
);
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
'
Acts_test_4700 failed:
'
+
err
.
code
);
console
.
log
(
'
Acts_test_4700 failed:
'
+
err
.
code
);
expect
(
err
.
code
).
assertEqual
(
2097
215
);
expect
(
err
.
code
).
assertEqual
(
2097
183
);
done
();
done
();
});
});
})
})
...
...
aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js
浏览文件 @
59975ada
...
@@ -268,7 +268,7 @@ describe('ActsStServiceAbilityTest', function () {
...
@@ -268,7 +268,7 @@ describe('ActsStServiceAbilityTest', function () {
done
();
done
();
}
}
var
context
=
featureAbility
.
getContext
()
var
context
=
featureAbility
.
getContext
()
var
result
=
context
.
getDisplayOrientation
().
then
((
data
)
=>
{
var
result
=
await
context
.
getDisplayOrientation
().
then
((
data
)
=>
{
clearTimeout
(
currentAlertTimeout
);
clearTimeout
(
currentAlertTimeout
);
console
.
debug
(
"
ACTS_AGetDisplayOrientation_0200====DisplayOrientation>
"
console
.
debug
(
"
ACTS_AGetDisplayOrientation_0200====DisplayOrientation>
"
+
JSON
.
stringify
(
DisplayOrientation
)
+
"
, err=
"
+
err
);
+
JSON
.
stringify
(
DisplayOrientation
)
+
"
, err=
"
+
err
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录