Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
8ed20e78
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,发现更多精彩内容 >>
提交
8ed20e78
编写于
10月 14, 2021
作者:
O
openharmony_ci
提交者:
Gitee
10月 14, 2021
浏览文件
操作
浏览文件
下载
差异文件
!882 Update js test code
Merge pull request !882 from blackleon/master_1013
上级
65d99275
5b88c99e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
74 addition
and
74 deletion
+74
-74
appexecfwk/ams_standard/serviceability/actsparticleabilitytest/entry/src/main/js/test/ActsParticleAbilityTest.test.js
...st/entry/src/main/js/test/ActsParticleAbilityTest.test.js
+61
-61
notification/ans_standard/actsansslottest/actsansgetslottestcallback/entry/src/main/js/test/ExampleJsunit.test.js
...testcallback/entry/src/main/js/test/ExampleJsunit.test.js
+4
-4
notification/ans_standard/actsansslottest/actsansgetslottestpromise/entry/src/main/js/test/ExampleJsunit.test.js
...ttestpromise/entry/src/main/js/test/ExampleJsunit.test.js
+4
-4
notification/ans_standard/actsansslottest/actsansremoveslottest/entry/src/main/js/test/ExampleJsunit.test.js
...moveslottest/entry/src/main/js/test/ExampleJsunit.test.js
+1
-1
notification/ans_standard/publish_test/getactive/getactivenormal/sub/entry/src/main/config.json
.../getactive/getactivenormal/sub/entry/src/main/config.json
+2
-2
notification/ans_standard/publish_test/publishcontentype/entry/src/main/config.json
...publish_test/publishcontentype/entry/src/main/config.json
+2
-2
未找到文件。
appexecfwk/ams_standard/serviceability/actsparticleabilitytest/entry/src/main/js/test/ActsParticleAbilityTest.test.js
浏览文件 @
8ed20e78
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
import
commonEvent
from
"
@ohos.commonevent
"
import
commonEvent
from
"
@ohos.commonevent
"
import
rpc
from
"
@ohos.rpc
"
import
rpc
from
"
@ohos.rpc
"
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
const
TIMEOUT
=
9000
;
const
TIMEOUT
=
9000
;
const
START_ABILITY_TIMEOUT
=
5000
;
const
START_ABILITY_TIMEOUT
=
5000
;
...
@@ -27,7 +27,7 @@ var subscriberInfoStartAbility_0200 = {
...
@@ -27,7 +27,7 @@ var subscriberInfoStartAbility_0200 = {
events
:
[
"
ACTS_Particle_StartAbility_0200_CommonEvent
"
],
events
:
[
"
ACTS_Particle_StartAbility_0200_CommonEvent
"
],
};
};
describe
(
'
Acts
StServic
eAbilityTest
'
,
function
()
{
describe
(
'
Acts
Particl
eAbilityTest
'
,
function
()
{
let
bundleName
=
"
com.example.particletestserver
"
;
let
bundleName
=
"
com.example.particletestserver
"
;
let
abilityName
=
"
com.example.particletestserver.MainAbility
"
;
let
abilityName
=
"
com.example.particletestserver.MainAbility
"
;
var
mRemote
;
var
mRemote
;
...
@@ -55,10 +55,10 @@ describe('ActsStServiceAbilityTest', function () {
...
@@ -55,10 +55,10 @@ describe('ActsStServiceAbilityTest', function () {
}
}
/*
/*
* @tc.number: ACTS_ParticleAbility_startAbility_0100
* @tc.number: ACTS_ParticleAbility_startAbility_0100
* @tc.name: ConnectAbility : Connects an ability to a Service abilit
y.
* @tc.name: ConnectAbility : Connects an ability to a Service ability and use service to test startAbilti
y.
* @tc.desc: Check the return value of the interface (by P
romise)
* @tc.desc: Check the event of the interface startAbiltiy (by p
romise)
*/
*/
it
(
'
ACTS_ParticleAbility_startAbility_0100
'
,
0
,
async
function
(
done
)
{
it
(
'
ACTS_ParticleAbility_startAbility_0100
'
,
0
,
async
function
(
done
)
{
console
.
log
(
'
ACTS_ParticleAbility_startAbility_0100====<begin
'
);
console
.
log
(
'
ACTS_ParticleAbility_startAbility_0100====<begin
'
);
console
.
log
(
'
========StartConnect called
'
);
console
.
log
(
'
========StartConnect called
'
);
...
@@ -118,68 +118,68 @@ describe('ActsStServiceAbilityTest', function () {
...
@@ -118,68 +118,68 @@ describe('ActsStServiceAbilityTest', function () {
},
TIMEOUT
);
},
TIMEOUT
);
})
})
/*
/*
* @tc.number: ACTS_ParticleAbility_startAbility_0200
* @tc.number: ACTS_ParticleAbility_startAbility_0200
* @tc.name: ConnectAbility : Connects an ability to a Service ability.
* @tc.name: ConnectAbility : Connects an ability to a Service ability
and use service to test startAbiltiy
.
* @tc.desc: Check the
return value of the interface (by Promise
)
* @tc.desc: Check the
event of the interface startAbiltiy (by callback
)
*/
*/
it
(
'
ACTS_ParticleAbility_startAbility_0200
'
,
0
,
async
function
(
done
)
{
it
(
'
ACTS_ParticleAbility_startAbility_0200
'
,
0
,
async
function
(
done
)
{
console
.
log
(
'
ACTS_ParticleAbility_startAbility_0200====<begin
'
);
console
.
log
(
'
ACTS_ParticleAbility_startAbility_0200====<begin
'
);
console
.
log
(
'
========StartConnect called
'
);
console
.
log
(
'
========StartConnect called
'
);
var
subscriber
;
var
subscriber
;
let
id
;
let
id
;
let
connId
;
let
connId
;
function
subscribeCallBack
(
err
,
data
)
{
function
subscribeCallBack
(
err
,
data
)
{
clearTimeout
(
id
);
clearTimeout
(
id
);
expect
(
data
.
event
).
assertEqual
(
"
ACTS_Particle_StartAbility_0200_CommonEvent
"
);
expect
(
data
.
event
).
assertEqual
(
"
ACTS_Particle_StartAbility_0200_CommonEvent
"
);
console
.
debug
(
"
====>Subscribe CallBack data:====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>Subscribe CallBack data:====>
"
+
JSON
.
stringify
(
data
));
var
result
=
featureAbility
.
disconnectAbility
(
var
result
=
featureAbility
.
disconnectAbility
(
connId
,
connId
,
(
error
,
data
)
=>
{
(
error
,
data
)
=>
{
console
.
log
(
'
featureAbilityTest DisconnectAbility result errCode :
'
+
error
.
code
+
"
data:
"
+
data
)
console
.
log
(
'
featureAbilityTest DisconnectAbility result errCode :
'
+
error
.
code
+
"
data:
"
+
data
)
},
},
);
);
console
.
log
(
'
DisconnectNative ConnectAbility result :
'
+
result
);
console
.
log
(
'
DisconnectNative ConnectAbility result :
'
+
result
);
commonEvent
.
unsubscribe
(
subscriber
,
unSubscribeCallback
)
commonEvent
.
unsubscribe
(
subscriber
,
unSubscribeCallback
)
done
();
done
();
}
}
commonEvent
.
createSubscriber
(
subscriberInfoStartAbility_0200
).
then
(
async
(
data
)
=>
{
commonEvent
.
createSubscriber
(
subscriberInfoStartAbility_0200
).
then
(
async
(
data
)
=>
{
console
.
debug
(
"
====>Create Subscriber====>
"
);
console
.
debug
(
"
====>Create Subscriber====>
"
);
subscriber
=
data
;
subscriber
=
data
;
await
commonEvent
.
subscribe
(
subscriber
,
subscribeCallBack
);
await
commonEvent
.
subscribe
(
subscriber
,
subscribeCallBack
);
})
function
unSubscribeCallback
()
{
console
.
debug
(
"
====>UnSubscribe CallBack====>
"
);
done
();
}
function
timeout
()
{
expect
().
assertFail
();
console
.
debug
(
'
ACTS_ParticleAbility_startAbility_0200 timeout
'
);
commonEvent
.
unsubscribe
(
subscriber
,
unSubscribeCallback
)
done
();
}
id
=
setTimeout
(
timeout
,
START_ABILITY_TIMEOUT
);
connId
=
await
featureAbility
.
connectAbility
(
{
bundleName
:
bundleName
,
abilityName
:
abilityName
,
action
:
"
StartAbilityCallback
"
},
{
onConnect
:
onConnectCallback
,
onDisconnect
:
onDisconnectCallback
,
onFailed
:
onFailedCallback
,
},
);
console
.
log
(
'
StartConnectNative ConnectAbility connId :
'
+
connId
);
setTimeout
(
function
()
{
console
.
log
(
'
StartConnectNative ConnectAbility timeout
'
)
},
TIMEOUT
);
})
})
function
unSubscribeCallback
()
{
console
.
debug
(
"
====>UnSubscribe CallBack====>
"
);
done
();
}
function
timeout
()
{
expect
().
assertFail
();
console
.
debug
(
'
ACTS_ParticleAbility_startAbility_0200 timeout
'
);
commonEvent
.
unsubscribe
(
subscriber
,
unSubscribeCallback
)
done
();
}
id
=
setTimeout
(
timeout
,
START_ABILITY_TIMEOUT
);
connId
=
await
featureAbility
.
connectAbility
(
{
bundleName
:
bundleName
,
abilityName
:
abilityName
,
action
:
"
StartAbilityCallback
"
},
{
onConnect
:
onConnectCallback
,
onDisconnect
:
onDisconnectCallback
,
onFailed
:
onFailedCallback
,
},
);
console
.
log
(
'
StartConnectNative ConnectAbility connId :
'
+
connId
);
setTimeout
(
function
()
{
console
.
log
(
'
StartConnectNative ConnectAbility timeout
'
)
},
TIMEOUT
);
})
})
})
\ No newline at end of file
notification/ans_standard/actsansslottest/actsansgetslottestcallback/entry/src/main/js/test/ExampleJsunit.test.js
浏览文件 @
8ed20e78
...
@@ -63,7 +63,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
...
@@ -63,7 +63,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
expect
(
err
.
code
).
assertEqual
(
0
);
expect
(
err
.
code
).
assertEqual
(
0
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0100 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0100 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
SOCIAL_COMMUNICATION
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
SOCIAL_COMMUNICATION
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
4
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
@@ -127,7 +127,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
...
@@ -127,7 +127,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
expect
(
err
.
code
).
assertEqual
(
0
);
expect
(
err
.
code
).
assertEqual
(
0
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0300 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0300 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
CONTENT_INFORMATION
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
CONTENT_INFORMATION
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
2
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
@@ -161,7 +161,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
...
@@ -161,7 +161,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
expect
(
err
.
code
).
assertEqual
(
0
);
expect
(
err
.
code
).
assertEqual
(
0
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0400 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0400 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
1
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
@@ -195,7 +195,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
...
@@ -195,7 +195,7 @@ describe('ActsAnsGetSlotTestCallback', function () {
expect
(
err
.
code
).
assertEqual
(
0
);
expect
(
err
.
code
).
assertEqual
(
0
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0500 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestCallback_0500 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
1
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
...
notification/ans_standard/actsansslottest/actsansgetslottestpromise/entry/src/main/js/test/ExampleJsunit.test.js
浏览文件 @
8ed20e78
...
@@ -32,7 +32,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
...
@@ -32,7 +32,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 enter====>
"
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 enter====>
"
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
SOCIAL_COMMUNICATION
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
SOCIAL_COMMUNICATION
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
4
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
@@ -99,7 +99,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
...
@@ -99,7 +99,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
console
.
debug
(
"
====>getSlotPromise CONTENT_INFORMATION ActsAnsGetSlotTestPromise_0300 enter====>
"
);
console
.
debug
(
"
====>getSlotPromise CONTENT_INFORMATION ActsAnsGetSlotTestPromise_0300 enter====>
"
);
console
.
debug
(
"
====>getSlotPromise ActsAnsGetSlotTestPromise_0300 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotPromise ActsAnsGetSlotTestPromise_0300 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
CONTENT_INFORMATION
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
CONTENT_INFORMATION
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
2
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
@@ -133,7 +133,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
...
@@ -133,7 +133,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
console
.
debug
(
"
====>getSlotPromise OTHER_TYPES ActsAnsGetSlotTestPromise_0400 enter====>
"
);
console
.
debug
(
"
====>getSlotPromise OTHER_TYPES ActsAnsGetSlotTestPromise_0400 enter====>
"
);
console
.
debug
(
"
====>getSlotPromise ActsAnsGetSlotTestPromise_0400 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotPromise ActsAnsGetSlotTestPromise_0400 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
1
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
@@ -167,7 +167,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
...
@@ -167,7 +167,7 @@ describe('ActsAnsGetSlotTestPromise', function () {
console
.
debug
(
"
====>getSlotPromise UNKNOWN_TYPE ActsAnsGetSlotTestPromise_0500 enter====>
"
);
console
.
debug
(
"
====>getSlotPromise UNKNOWN_TYPE ActsAnsGetSlotTestPromise_0500 enter====>
"
);
console
.
debug
(
"
====>getSlotPromise ActsAnsGetSlotTestPromise_0500 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotPromise ActsAnsGetSlotTestPromise_0500 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
OTHER_TYPES
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
1
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
...
notification/ans_standard/actsansslottest/actsansremoveslottest/entry/src/main/js/test/ExampleJsunit.test.js
浏览文件 @
8ed20e78
...
@@ -32,7 +32,7 @@ describe('ActsAnsRemoveSlotTest', function () {
...
@@ -32,7 +32,7 @@ describe('ActsAnsRemoveSlotTest', function () {
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 enter====>
"
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 enter====>
"
);
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 data====>
"
+
JSON
.
stringify
(
data
));
console
.
debug
(
"
====>getSlotActsAnsGetSlotTestPromise_0100 data====>
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
SOCIAL_COMMUNICATION
);
expect
(
data
.
type
).
assertEqual
(
notification
.
SlotType
.
SOCIAL_COMMUNICATION
);
expect
(
data
.
level
).
assertEqual
(
3
);
expect
(
data
.
level
).
assertEqual
(
4
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
desc
).
assertEqual
(
""
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
badgeFlag
).
assertEqual
(
true
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
expect
(
data
.
bypassDnd
).
assertEqual
(
false
);
...
...
notification/ans_standard/publish_test/getactive/getactivenormal/sub/entry/src/main/config.json
浏览文件 @
8ed20e78
{
{
"app"
:
{
"app"
:
{
"bundleName"
:
"com.
neu
.actsansactivesubscribertest"
,
"bundleName"
:
"com.
example
.actsansactivesubscribertest"
,
"vendor"
:
"example"
,
"vendor"
:
"example"
,
"version"
:
{
"version"
:
{
"code"
:
1
,
"code"
:
1
,
...
@@ -59,4 +59,4 @@
...
@@ -59,4 +59,4 @@
}
}
]
]
}
}
}
}
\ No newline at end of file
notification/ans_standard/publish_test/publishcontentype/entry/src/main/config.json
浏览文件 @
8ed20e78
{
{
"app"
:
{
"app"
:
{
"bundleName"
:
"com.
neu
.actsansnotificationtest"
,
"bundleName"
:
"com.
example
.actsansnotificationtest"
,
"vendor"
:
"example"
,
"vendor"
:
"example"
,
"version"
:
{
"version"
:
{
"code"
:
1
,
"code"
:
1
,
...
@@ -59,4 +59,4 @@
...
@@ -59,4 +59,4 @@
}
}
]
]
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录