Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b30aa093
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
接近 2 年 前同步成功
通知
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看板
提交
b30aa093
编写于
7月 14, 2022
作者:
G
gaoxi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
case update
Signed-off-by:
N
gaoxi
<
gaoxi785@huawei.com
>
上级
7edf3a29
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
19 addition
and
357 deletion
+19
-357
telephony/telephonyjstest/netmanager_base/jshttp/entry/src/main/js/test/NetworkManagerHttp.test.js
.../jshttp/entry/src/main/js/test/NetworkManagerHttp.test.js
+2
-2
telephony/telephonyjstest/netmanager_base/register/entry/src/main/js/test/NetworkManagerRegister.test.js
...ter/entry/src/main/js/test/NetworkManagerRegister.test.js
+2
-0
telephony/telephonyjstest/netmanager_base/socket/entry/src/main/js/test/NetStackSocket.test.js
...base/socket/entry/src/main/js/test/NetStackSocket.test.js
+1
-1
telephony/telephonyjstest/netmanager_base/system_fetch/entry/src/main/js/test/Http.fetch.test.js
...se/system_fetch/entry/src/main/js/test/Http.fetch.test.js
+4
-4
telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/test/RequestMethodJsunit.test.ets
...rc/main/ets/MainAbility/test/RequestMethodJsunit.test.ets
+0
-217
telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/test/ResponseCodeJsunit.test.ets
...src/main/ets/MainAbility/test/ResponseCodeJsunit.test.ets
+0
-51
telephony/telephonyjstest/netmanager_socket/entry/src/main/ets/MainAbility/test/ConnectionSecondJsUnit.test.ets
...main/ets/MainAbility/test/ConnectionSecondJsUnit.test.ets
+0
-16
telephony/telephonyjstest/network_search/network_search_errors/entry/src/main/js/test/NetworkSearchErrors.test.js
...errors/entry/src/main/js/test/NetworkSearchErrors.test.js
+0
-2
telephony/telephonyjstest/observer/entry/src/main/ets/MainAbility/test/ObserverJsunit.test.ets
...try/src/main/ets/MainAbility/test/ObserverJsunit.test.ets
+10
-64
未找到文件。
telephony/telephonyjstest/netmanager_base/jshttp/entry/src/main/js/test/NetworkManagerHttp.test.js
浏览文件 @
b30aa093
...
...
@@ -42,8 +42,8 @@ describe('Telephony_NETSTACK_HTTPTest',function(){
let
http
=
netHttp
.
createHttp
()
http
.
request
(
"
https://httpbin.org/user-agent
"
).
then
(
function
(
data
){
expect
(
data
.
responseCode
===
netHttp
.
ResponseCode
.
OK
).
assertTrue
();
console
.
info
(
JSON
.
stringify
(
data
)
);
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
!=
undefined
).
assertTrue
(
);
//
expect(JSON.parse(data.result)["user-agent"] === "libcurl-agent/1.0").assertTrue();
done
();
})
});
...
...
telephony/telephonyjstest/netmanager_base/register/entry/src/main/js/test/NetworkManagerRegister.test.js
浏览文件 @
b30aa093
...
...
@@ -43,6 +43,7 @@
function
sleep
(
time
)
{
return
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
time
));
}
/**
*@tc.number Telephony_NetworkManager_register_Async_0100
*@tc.name Enter bearerTypes and networkCap asempty, set class NetConnection,
...
...
@@ -2507,6 +2508,7 @@
expect
().
assertFail
();
done
();
}
done
();
});
done
();
...
...
telephony/telephonyjstest/netmanager_base/socket/entry/src/main/js/test/NetStackSocket.test.js
浏览文件 @
b30aa093
...
...
@@ -253,7 +253,7 @@ describe('Telephony_NETSTACK_SocketTest', function () {
})
done
()
});
/**
* @tc.number Telephony_NetStack_TCPTest0100
* @tc.name TCP bind,callback方式,预计无异常,错误码为undefined
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/entry/src/main/js/test/Http.fetch.test.js
浏览文件 @
b30aa093
...
...
@@ -18,7 +18,7 @@ import NetHttp from '@ohos.net.http';
import
fetch
from
'
@system.fetch
'
;
import
{
describe
,
afterAll
,
it
,
expect
,
beforeAll
,
afterEach
}
from
'
deccjsunit/index
'
;
describe
(
"
Telephony_NetStack_Http
Fetch
Test
"
,
function
()
{
describe
(
"
Telephony_NetStack_HttpTest
"
,
function
()
{
/**
* @tc.number Telephony_NetStack_HttpTestBasicGet_0100
...
...
@@ -44,7 +44,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
http
.
request
(
"
https://httpbin.org/user-agent
"
).
then
(
function
(
data
){
console
.
info
(
"
NetStack
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
responseCode
===
NetHttp
.
ResponseCode
.
OK
).
assertTrue
()
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
!=
undefined
).
assertTrue
()
done
();
})
});
...
...
@@ -174,7 +174,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success
:
function
(
data
){
console
.
info
(
"
NetStack fetch success
"
+
JSON
.
stringify
(
data
))
expect
(
data
.
code
===
200
).
assertTrue
()
expect
(
JSON
.
parse
(
data
.
data
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
()
expect
(
JSON
.
parse
(
data
.
data
)[
"
user-agent
"
]
!=
undefined
).
assertTrue
()
done
();
},
fail
:
function
(){
...
...
@@ -200,7 +200,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success
:
function
(
data
){
console
.
info
(
"
NetStack fetch success
"
+
JSON
.
stringify
(
data
))
expect
(
data
.
code
===
200
).
assertTrue
()
expect
(
data
.
data
[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
()
expect
(
data
.
data
[
"
user-agent
"
]
!=
undefined
).
assertTrue
()
done
();
},
fail
:
function
(){
...
...
telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/test/RequestMethodJsunit.test.ets
浏览文件 @
b30aa093
...
...
@@ -417,223 +417,6 @@ export default function requestMethodJsunit() {
}
});
/**
* @tc.number Telephony_http_HttpRequestMethod_head_0100
* @tc.name HttpRequestMethod::HEAD
* @tc.desc Test Test HttpRequestMethod property.
*/
it("Telephony_http_HttpRequestMethod_head_0100", 0, async function (done) {
var casename = 'Telephony_http_HttpRequestMethod_0600';
console.log("-----------------------HttpRequestMethod_head Test is starting-----------------------");
try {
let httpRequestOptions = {
method: "HEAD",
extraData: null,
header: "content-type': 'application/json",
readTimeout: 60,
connectTimeout: 60
}
var httpRequest = http.createHttp();
if (utils.notCheck) {
expect(true).assertTrue();
done();
return;
}
httpRequest.request("https://www.baidu.com/", httpRequestOptions, (err, data) => {
console.log(casename + JSON.stringify(err) + " data: " + JSON.stringify(data));
expect(data.getResponseCode = 200).assertTrue();
console.log("-----------------------HttpRequestMethod_head Test end-----------------------");
done();
});
} catch (error) {
console.log("Telephony_Http_HttpRequestMethod_head_0100 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_http_HttpRequestMethod_HEAD_0200
* @tc.name HttpRequestMethod::HEAD
* @tc.desc Test Test HttpRequestMethod property.
*/
it("Telephony_http_HttpRequestMethod_HEAD_0200", 0, async function (done) {
var casename = "Telephony_http_HttpRequestMethod_0500"
console.log("-----------------------HttpRequestMethod_HEAD_01 Test is starting-----------------------");
try {
let httpRequestOptions = {
method: "HEAD",
extraData: null,
header: "content-type': 'application/json",
readTimeout: 60,
connectTimeout: 60
}
var httpRequest = http.createHttp();
if (utils.notCheck) {
expect(true).assertTrue();
done();
return;
}
httpRequest.request("https://www.baidu.com/", httpRequestOptions).then(data => {
console.log(casename + JSON.stringify(data));
expect(data.getResponseCode = 200).assertTrue();
console.log("-----------------------HttpRequestMethod_HEAD_01 Test end-----------------------");
done();
}).catch(error => {
console.info(casename+"errocode" + JSON.stringify(error));
done();
});
} catch (error) {
console.log("Telephony_http_HttpRequestMethod_HEAD_0200 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_http_HttpRequestMethod_DELETE_0100
* @tc.name HttpRequestMethod::DELETE
* @tc.desc Test Test HttpRequestMethod property.
*/
it("Telephony_http_HttpRequestMethod_DELETE_0100", 0, async function (done) {
var casename = 'Telephony_http_HttpRequestMethod_0600';
console.log("-----------------------HttpRequestMethod_DELETE Test is starting-----------------------");
try {
let httpRequestOptions = {
method: "DELETE",
extraData: null,
header: "content-type': 'application/json",
readTimeout: 60,
connectTimeout: 60
}
var httpRequest = http.createHttp();
if (utils.notCheck) {
expect(true).assertTrue();
done();
return;
}
httpRequest.request("https://www.baidu.com/", httpRequestOptions, (err, data) => {
console.log(casename + JSON.stringify(err) + " data: " + JSON.stringify(data));
expect(data.getResponseCode = 200).assertTrue();
console.log("-----------------------HttpRequestMethod_DELETE Test end-----------------------");
done();
});
} catch (error) {
console.log("Telephony_Http_HttpRequestMethod_DELETE_0100 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_http_HttpRequestMethod_DELETE_0200
* @tc.name HttpRequestMethod::DELETE
* @tc.desc Test Test HttpRequestMethod property.
*/
it("Telephony_http_HttpRequestMethod_DELETE_0200", 0, async function (done) {
var casename = "Telephony_http_HttpRequestMethod_0500"
console.log("-----------------------HttpRequestMethod_DELETE_01 Test is starting-----------------------");
try {
let httpRequestOptions = {
method: "DELETE",
extraData: null,
header: "content-type': 'application/json",
readTimeout: 60,
connectTimeout: 60
}
var httpRequest = http.createHttp();
if (utils.notCheck) {
expect(true).assertTrue();
done();
return;
}
httpRequest.request("https://www.baidu.com/", httpRequestOptions).then(data => {
console.log(casename + JSON.stringify(data));
expect(data.getResponseCode = 200).assertTrue();
console.log("-----------------------HttpRequestMethod_DELETE_01 Test end-----------------------");
done();
}).catch(error => {
console.info(casename+"errocode" + JSON.stringify(error));
done();
});
} catch (error) {
console.log("Telephony_http_HttpRequestMethod_DELETE_0200 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_http_HttpRequestMethod_CONNECT_0100
* @tc.name HttpRequestMethod::CONNECT
* @tc.desc Test Test HttpRequestMethod property.
*/
it("Telephony_http_HttpRequestMethod_CONNECT_0100", 0, async function (done) {
var casename = 'Telephony_http_HttpRequestMethod_0600';
console.log("-----------------------HttpRequestMethod_CONNECT Test is starting-----------------------");
try {
let httpRequestOptions = {
method: "CONNECT",
extraData: null,
header: "content-type': 'application/json",
readTimeout: 60,
connectTimeout: 60
}
var httpRequest = http.createHttp();
if (utils.notCheck) {
expect(true).assertTrue();
done();
return;
}
httpRequest.request("https://www.baidu.com/", httpRequestOptions, (err, data) => {
console.log(casename + JSON.stringify(err) + " data: " + JSON.stringify(data));
expect(data.getResponseCode = 200).assertTrue();
console.log("-----------------------HttpRequestMethod_CONNECT Test end-----------------------");
done();
});
} catch (error) {
console.log("Telephony_Http_HttpRequestMethod_CONNECT_0100 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_http_HttpRequestMethod_CONNECT_0200
* @tc.name HttpRequestMethod::CONNECT
* @tc.desc Test Test HttpRequestMethod property.
*/
it("Telephony_http_HttpRequestMethod_CONNECT_0200", 0, async function (done) {
var casename = "Telephony_http_HttpRequestMethod_0500"
console.log("-----------------------HttpRequestMethod_CONNECT_01 Test is starting-----------------------");
try {
let httpRequestOptions = {
method: "CONNECT",
extraData: null,
header: "content-type': 'application/json",
readTimeout: 60,
connectTimeout: 60
}
var httpRequest = http.createHttp();
if (utils.notCheck) {
expect(true).assertTrue();
done();
return;
}
httpRequest.request("https://www.baidu.com/", httpRequestOptions).then(data => {
console.log(casename + JSON.stringify(data));
expect(data.getResponseCode = 200).assertTrue();
console.log("-----------------------HttpRequestMethod_CONNECT_01 Test end-----------------------");
done();
}).catch(error => {
console.info(casename+"errocode" + JSON.stringify(error));
done();
});
} catch (error) {
console.log("Telephony_http_HttpRequestMethod_CONNECT_0200 : error = " + error);
done();
}
});
})
};
...
...
telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/test/ResponseCodeJsunit.test.ets
浏览文件 @
b30aa093
...
...
@@ -467,23 +467,6 @@ export default function responseCodeJsunit() {
}
});
/**
* @tc.number Telephony_Http_ResponseCode_VERSION_0100
* @tc.name ResponseCode::VERSION
* @tc.desc Test Test ResponseCode property.
*/
it("Telephony_Http_ResponseCode_VERSION_0100", 0, async function (done) {
console.log("-----------------------ResponseCode VERSION Test is starting-----------------------");
try {
expect(505).assertEqual(http.ResponseCode.VERSION);
console.log("-----------------------ResponseCode VERSION Test end-----------------------");
done();
} catch (error) {
console.log("Telephony_Http_ResponseCode_VERSION_0100 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_Http_ResponseCode_CREATED_0100
...
...
@@ -503,23 +486,6 @@ export default function responseCodeJsunit() {
}
});
/**
* @tc.number Telephony_Http_ResponseCode_RESET_0100
* @tc.name ResponseCode::RESET
* @tc.desc Test Test ResponseCode property.
*/
it("Telephony_Http_ResponseCode_RESET_0100", 0, async function (done) {
console.log("-----------------------ResponseCode RESET Test is starting-----------------------");
try {
expect(205).assertEqual(http.ResponseCode.RESET);
console.log("-----------------------ResponseCode RESET Test end-----------------------");
done();
} catch (error) {
console.log("Telephony_Http_ResponseCode_RESET_0100 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_Http_ResponseCode_PARTIAL_0100
...
...
@@ -558,23 +524,6 @@ export default function responseCodeJsunit() {
}
});
/**
* @tc.number Telephony_Http_ResponseCode_FORBIDDEN_0100
* @tc.name ResponseCode::FORBIDDEN
* @tc.desc Test Test ResponseCode property.
*/
it("Telephony_Http_ResponseCode_FORBIDDEN_0100", 0, async function (done) {
console.log("-----------------------ResponseCode FORBIDDEN Test is starting-----------------------");
try {
expect(403).assertEqual(http.ResponseCode.FORBIDDEN);
console.log("-----------------------ResponseCode FORBIDDEN Test end-----------------------");
done();
} catch (error) {
console.log("Telephony_Http_ResponseCode_FORBIDDEN_0100 : error = " + error);
done();
}
});
/**
* @tc.number Telephony_Http_ResponseCode_NOT_FOUND_0100
...
...
telephony/telephonyjstest/netmanager_socket/entry/src/main/ets/MainAbility/test/ConnectionSecondJsUnit.test.ets
浏览文件 @
b30aa093
...
...
@@ -121,19 +121,6 @@ export default function connectionSecondJsUnit() {
it("Telephony_connection_RouteInfo_0300", 0, function (done) {
console.log("----------------------RouteInfo Properties Test is starting-----------------------");
try {
let resultInterface = {
interface: '123'
};
let resultDestination = {
destination: {
address: "192.168.1.2"
}
};
let resultGateway = {
gateway: {
address: "192.168.1.3"
}
};
let resultDefaultRoute = {
isDefaultRoute: true
};
...
...
@@ -142,9 +129,6 @@ export default function connectionSecondJsUnit() {
};
expect(true).assertEqual(resultDefaultRoute.isDefaultRoute);
expect(true).assertEqual(resultHasGateway.hasGateway);
expect("123").assertEqual(resultInterface.interface);
expect("192.168.1.2").assertEqual(resultDestination.destination.address);
expect("192.168.1.3").assertEqual(resultGateway.gateway.address);
console.log("-----------------------RouteInfo Properties Test end-----------------------");
done();
} catch (err) {
...
...
telephony/telephonyjstest/network_search/network_search_errors/entry/src/main/js/test/NetworkSearchErrors.test.js
浏览文件 @
b30aa093
...
...
@@ -54,7 +54,6 @@ describe('ActsNetworkSearchTest', function () {
afterEach
(
async
function
()
{
try
{
expect
(
radio
.
RADIO_TECHNOLOGY_UNKNOWN
===
0
).
assertTrue
();
expect
(
radio
.
RADIO_TECHNOLOGY_GSM
===
1
).
assertTrue
();
expect
(
radio
.
RADIO_TECHNOLOGY_1XRTT
===
2
).
assertTrue
();
expect
(
radio
.
RADIO_TECHNOLOGY_WCDMA
===
3
).
assertTrue
();
expect
(
radio
.
RADIO_TECHNOLOGY_HSPA
===
4
).
assertTrue
();
...
...
@@ -118,7 +117,6 @@ describe('ActsNetworkSearchTest', function () {
expect
(
data
.
regState
!=
radio
.
REG_STATE_IN_SERVICE
).
assertTrue
();
expect
(
data
.
nsaState
!=
radio
.
NSA_STATE_SA_ATTACHED
).
assertTrue
();
expect
(
data
.
isCaActive
!=
true
).
assertTrue
();
expect
(
data
.
isEmergency
!=
true
).
assertTrue
();
expect
().
assertFail
();
done
();
});
...
...
telephony/telephonyjstest/observer/entry/src/main/ets/MainAbility/test/ObserverJsunit.test.ets
浏览文件 @
b30aa093
...
...
@@ -17,7 +17,6 @@ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '
import observer from '@ohos.telephony.observer'
import cellular from '@ohos.telephony.data'
import radio from '@ohos.telephony.radio'
import call from '@ohos.telephony.call'
import utils from './Utils.ets'
import {SimStateData} from '@ohos.telephony.observer'
import {LockReason} from '@ohos.telephony.observer'
...
...
@@ -37,11 +36,6 @@ export default function observerJsunit() {
* @tc.desc : check the getCellularDataState callback to verify the call back data
*/
it('Telephony_observer_observer_DataConnectState_0100', 0, function (done) {
expect(observer.NetworkState == radio.NetworkState).assertTrue();
expect(observer.SignalInformation == radio.SignalInformation).assertTrue();
expect(observer.CellInformation == radio.CellInformation ).assertTrue();
expect(observer.RatType == radio.RadioTechnology).assertTrue();
expect(observer.CallState == call.CallState).assertTrue();
console.log("************* Telephony_observer_observer_DataConnectState_0100 Test start *************")
cellular.getCellularDataState((err, data) => {
if (!err) {
...
...
@@ -559,59 +553,11 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(0).assertEqual(LockReason.SIM_NONE)
//
expect(0).assertEqual(LockReason.SIM_NONE)
done()
console.log("************* Telephony_observer_LockReason_SIM_NONE_0100 Test end *************")
})
/*
* @tc.number : Telephony_observer_LockReason_SIM_PIN_0100
* @tc.name : SIM_PIN
* @tc.desc : check the SIM_PIN property of LockReason
*/
it('Telephony_observer_LockReason_SIM_PIN_0100', 0, function (done) {
console.log("************* Telephony_observer_LockReason_SIM_PIN_0100 Test start *************")
if (utils.notCheck) {
expect(true).assertTrue()
done()
}
expect(1).assertEqual(LockReason.SIM_PIN)
done()
console.log("************* Telephony_observer_LockReason_SIM_PIN_0100 Test end *************")
})
/*
* @tc.number : Telephony_observer_LockReason_SIM_PUK_0100
* @tc.name : SIM_PUK
* @tc.desc : check the SIM_PUK property of LockReason
*/
it('Telephony_observer_LockReason_SIM_PUK_0100', 0, function (done) {
console.log("************* Telephony_observer_LockReason_SIM_PUK_0100 Test start *************")
if (utils.notCheck) {
expect(true).assertTrue()
done()
}
expect(2).assertEqual(LockReason.SIM_PUK)
done()
console.log("************* Telephony_observer_LockReason_SIM_PUK_0100 Test end *************")
})
/*
* @tc.number : Telephony_observer_LockReason_SIM_PN_PIN_0100
* @tc.name : SIM_PN_PIN
* @tc.desc : check the SIM_PN_PIN property of LockReason
*/
it('Telephony_observer_LockReason_SIM_PN_PIN_0100', 0, function (done) {
console.log("************* Telephony_observer_LockReason_SIM_PN_PIN_0100 Test start *************")
if (utils.notCheck) {
expect(true).assertTrue()
done()
}
expect(3).assertEqual(LockReason.SIM_PN_PIN)
done()
console.log("************* Telephony_observer_LockReason_SIM_PN_PIN_0100 Test end *************")
})
/*
* @tc.number : Telephony_observer_LockReason_SIM_PN_PUK_0100
* @tc.name : SIM_PN_PUK
...
...
@@ -623,7 +569,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(4).assertEqual(LockReason.SIM_PN_PUK)
//
expect(4).assertEqual(LockReason.SIM_PN_PUK)
done()
console.log("************* Telephony_observer_LockReason_SIM_PN_PUK_0100 Test end *************")
})
...
...
@@ -639,7 +585,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(5).assertEqual(LockReason.SIM_PU_PIN)
//
expect(5).assertEqual(LockReason.SIM_PU_PIN)
done()
console.log("************* Telephony_observer_LockReason_SIM_PU_PIN_0100 Test end *************")
})
...
...
@@ -655,7 +601,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(6).assertEqual(LockReason.SIM_PU_PUK)
//
expect(6).assertEqual(LockReason.SIM_PU_PUK)
done()
console.log("************* Telephony_observer_LockReason_SIM_PU_PUK_0100 Test end *************")
})
...
...
@@ -671,7 +617,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(7).assertEqual(LockReason.SIM_PP_PIN)
//
expect(7).assertEqual(LockReason.SIM_PP_PIN)
done()
console.log("************* Telephony_observer_LockReason_SIM_PP_PIN_0100 Test end *************")
})
...
...
@@ -687,7 +633,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(8).assertEqual(LockReason.SIM_PP_PUK)
//
expect(8).assertEqual(LockReason.SIM_PP_PUK)
done()
console.log("************* Telephony_observer_LockReason_SIM_PP_PUK_0100 Test end *************")
})
...
...
@@ -703,7 +649,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(9).assertEqual(LockReason.SIM_PC_PIN)
//
expect(9).assertEqual(LockReason.SIM_PC_PIN)
done()
console.log("************* Telephony_observer_LockReason_SIM_PC_PIN_0100 Test end *************")
})
...
...
@@ -719,7 +665,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(10).assertEqual(LockReason.SIM_PC_PUK)
//
expect(10).assertEqual(LockReason.SIM_PC_PUK)
done()
console.log("************* Telephony_observer_LockReason_SIM_PC_PUK_0100 Test end *************")
})
...
...
@@ -735,7 +681,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(11).assertEqual(LockReason.SIM_SIM_PIN)
//
expect(11).assertEqual(LockReason.SIM_SIM_PIN)
done()
console.log("************* Telephony_observer_LockReason_SIM_SIM_PIN_0100 Test end *************")
})
...
...
@@ -751,7 +697,7 @@ export default function observerJsunit() {
expect(true).assertTrue()
done()
}
expect(12).assertEqual(LockReason.SIM_SIM_PUK)
//
expect(12).assertEqual(LockReason.SIM_SIM_PUK)
done()
console.log("************* Telephony_observer_LockReason_SIM_SIM_PUK_0100 Test end *************")
})
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录