Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
bd1fabfe
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看板
未验证
提交
bd1fabfe
编写于
6月 15, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 15, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3532 修改xts用例名称,删除相关AR号
Merge pull request !3532 from 李兴阳/master
上级
08a24d71
f485de1d
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
674 addition
and
1344 deletion
+674
-1344
compileruntime/atomics_lib_standard/src/main/js/test/Atomics.test.js
...ime/atomics_lib_standard/src/main/js/test/Atomics.test.js
+17
-2
compileruntime/convertxml_lib_standard/src/main/js/test/convertxml.test.js
...nvertxml_lib_standard/src/main/js/test/convertxml.test.js
+0
-39
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
...ime/process_lib_standard/src/main/js/test/Process.test.js
+70
-130
compileruntime/uri_lib_standard/src/main/js/test/uri.test.js
compileruntime/uri_lib_standard/src/main/js/test/uri.test.js
+60
-111
compileruntime/url_lib_standard/src/main/js/test/url.test.js
compileruntime/url_lib_standard/src/main/js/test/url.test.js
+0
-152
compileruntime/util_lib_standard/src/main/js/test/util.test.js
...leruntime/util_lib_standard/src/main/js/test/util.test.js
+332
-844
compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js
...ntime/worker_lib_standard/src/main/js/test/Worker.test.js
+195
-0
compileruntime/xml_lib_standard/src/main/js/test/xml.test.js
compileruntime/xml_lib_standard/src/main/js/test/xml.test.js
+0
-66
未找到文件。
compileruntime/atomics_lib_standard/src/main/js/test/Atomics.test.js
浏览文件 @
bd1fabfe
...
...
@@ -18,7 +18,7 @@ import app from '@system.app'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
worker
from
"
@ohos.worker
"
describe
(
'
worker
Test
'
,
function
()
{
describe
(
'
Wait
Test
'
,
function
()
{
afterAll
(
function
()
{
console
.
info
(
'
total case over
'
)
...
...
@@ -34,6 +34,11 @@ describe('workerTest', function () {
return
p
}
/**
* @tc.name: testNotify001
* @tc.desc: returns a string which is either "ok", "not-equal", or "timed-out".
* @tc.author: jiangkai
*/
it
(
'
testNotify001
'
,
0
,
async
function
(
done
)
{
var
sab
=
new
SharedArrayBuffer
(
20
);
var
int32
=
new
Int32Array
(
sab
);
...
...
@@ -118,11 +123,16 @@ describe('workerTest', function () {
done
()
})
/**
* @tc.name: testWait001
* @tc.desc: returns a string which is either "ok", "not-equal", or "timed-out".
* @tc.author: jiangkai
*/
it
(
'
testWait001
'
,
0
,
async
function
(
done
)
{
var
sab
=
new
SharedArrayBuffer
(
20
);
var
flag
=
false
;
var
int32
=
new
Int32Array
(
sab
);
var
res
=
0
;
var
res
=
0
;
const
ss
=
new
worker
.
Worker
(
"
workers/worker020.js
"
)
ss
.
onmessage
=
function
(
e
){
...
...
@@ -159,6 +169,11 @@ describe('workerTest', function () {
done
()
})
/**
* @tc.name: testAdd001
* @tc.desc: returns a string which is either "ok", "not-equal", or "timed-out".
* @tc.author: jiangkai
*/
it
(
'
testAdd001
'
,
0
,
async
function
(
done
)
{
var
sab
=
new
SharedArrayBuffer
(
20
);
var
int32
=
new
Uint32Array
(
sab
);
...
...
compileruntime/convertxml_lib_standard/src/main/js/test/convertxml.test.js
浏览文件 @
bd1fabfe
...
...
@@ -19,7 +19,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert001
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert001
'
,
0
,
function
()
{
...
...
@@ -61,7 +60,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert002
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert002
'
,
0
,
function
()
{
...
...
@@ -103,7 +101,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert003
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert003
'
,
0
,
function
()
{
...
...
@@ -143,7 +140,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert004
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert004
'
,
0
,
function
()
{
...
...
@@ -187,7 +183,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert005
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert005
'
,
0
,
function
()
{
...
...
@@ -227,7 +222,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert006
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert006
'
,
0
,
function
()
{
...
...
@@ -270,7 +264,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert007
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert007
'
,
0
,
function
()
{
...
...
@@ -313,7 +306,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert008
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert008
'
,
0
,
function
()
{
...
...
@@ -356,7 +348,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert09
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert09
'
,
0
,
function
()
{
...
...
@@ -399,7 +390,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert010
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert010
'
,
0
,
function
()
{
...
...
@@ -435,7 +425,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert011
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert011
'
,
0
,
function
()
{
...
...
@@ -477,7 +466,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert012
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert012
'
,
0
,
function
()
{
...
...
@@ -523,7 +511,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert013
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert013
'
,
0
,
function
()
{
...
...
@@ -569,7 +556,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert014
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert014
'
,
0
,
function
()
{
...
...
@@ -611,7 +597,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert015
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert015
'
,
0
,
function
()
{
...
...
@@ -656,7 +641,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert016
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert016
'
,
0
,
function
()
{
...
...
@@ -701,7 +685,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert017
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert017
'
,
0
,
function
()
{
...
...
@@ -748,7 +731,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert018
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert018
'
,
0
,
function
()
{
...
...
@@ -790,7 +772,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert019
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert019
'
,
0
,
function
()
{
...
...
@@ -832,7 +813,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert020
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert020
'
,
0
,
function
()
{
...
...
@@ -874,7 +854,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert021
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert021
'
,
0
,
function
()
{
...
...
@@ -893,7 +872,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert022
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert022
'
,
0
,
function
()
{
...
...
@@ -913,7 +891,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert023
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert023
'
,
0
,
function
()
{
...
...
@@ -932,7 +909,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert024
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert024
'
,
0
,
function
()
{
...
...
@@ -953,7 +929,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert025
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert025
'
,
0
,
function
()
{
...
...
@@ -977,7 +952,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert026
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert026
'
,
0
,
function
()
{
...
...
@@ -1001,7 +975,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert027
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert027
'
,
0
,
function
()
{
...
...
@@ -1028,7 +1001,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert028
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert028
'
,
0
,
function
()
{
...
...
@@ -1051,7 +1023,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert029
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert029
'
,
0
,
function
()
{
...
...
@@ -1080,7 +1051,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert030
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert030
'
,
0
,
function
()
{
...
...
@@ -1100,7 +1070,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert031
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert031
'
,
0
,
function
()
{
...
...
@@ -1122,7 +1091,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert032
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert032
'
,
0
,
function
()
{
...
...
@@ -1144,7 +1112,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert033
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert033
'
,
0
,
function
()
{
...
...
@@ -1165,7 +1132,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert034
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert034
'
,
0
,
function
()
{
...
...
@@ -1187,7 +1153,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert035
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert035
'
,
0
,
function
()
{
...
...
@@ -1210,7 +1175,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert036
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert036
'
,
0
,
function
()
{
...
...
@@ -1233,7 +1197,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert037
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert037
'
,
0
,
function
()
{
...
...
@@ -1255,7 +1218,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert038
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert038
'
,
0
,
function
()
{
...
...
@@ -1279,7 +1241,6 @@ describe('XmlTest', function () {
/**
* @tc.name: testConvert039
* @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng
*/
it
(
'
testConvert039
'
,
0
,
function
()
{
...
...
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
浏览文件 @
bd1fabfe
此差异已折叠。
点击以展开。
compileruntime/uri_lib_standard/src/main/js/test/uri.test.js
浏览文件 @
bd1fabfe
此差异已折叠。
点击以展开。
compileruntime/url_lib_standard/src/main/js/test/url.test.js
浏览文件 @
bd1fabfe
此差异已折叠。
点击以展开。
compileruntime/util_lib_standard/src/main/js/test/util.test.js
浏览文件 @
bd1fabfe
此差异已折叠。
点击以展开。
compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js
浏览文件 @
bd1fabfe
...
...
@@ -35,6 +35,11 @@ describe('workerTest', function () {
}
// check worker constructor is ok
/**
* @tc.name: worker_constructor_test_001
* @tc.desc: worker constructor to Creates a worker instance.
* @tc.author: hanyuqing
*/
it
(
'
worker_constructor_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
let
isTerminate
=
false
...
...
@@ -52,6 +57,11 @@ describe('workerTest', function () {
done
()
})
/**
* @tc.name: worker_constructor_test_002
* @tc.desc: worker constructor to Creates a worker instance.
* @tc.author: hanyuqing
*/
it
(
'
worker_constructor_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
,
{
name
:
"
second worker
"
,
shared
:
"
False
"
})
let
isTerminate
=
false
...
...
@@ -69,6 +79,11 @@ describe('workerTest', function () {
done
()
})
/**
* @tc.name: worker_constructor_test_003
* @tc.desc: worker constructor to Creates a worker instance.
* @tc.author: hanyuqing
*/
it
(
'
worker_constructor_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
,
{
type
:
"
classic
"
,
name
:
"
second worker
"
,
shared
:
"
false
"
})
let
isTerminate
=
false
...
...
@@ -86,6 +101,11 @@ describe('workerTest', function () {
done
()
})
/**
* @tc.name: worker_constructor_test_004
* @tc.desc: worker constructor to Creates a worker instance.
* @tc.author: hanyuqing
*/
it
(
'
worker_constructor_test_004
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
,
{
type
:
"
classic
"
,
name
:
"
third worker
"
,
shared
:
"
true
"
})
let
isTerminate
=
false
...
...
@@ -105,6 +125,11 @@ describe('workerTest', function () {
// check postMessage is ok
// main post "hello world", will receive "hello world worker"
/**
* @tc.name: worker_postMessage_test_001
* @tc.desc: Sends a message to the worker thread.
* @tc.author: hanyuqing
*/
it
(
'
worker_postMessage_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_002.js
"
)
...
...
@@ -136,6 +161,11 @@ describe('workerTest', function () {
// check postMessage is ok
// main post 12 , will receive 12 * 2 + 1
/**
* @tc.name: worker_postMessage_test_002
* @tc.desc: Sends a message to the worker thread.
* @tc.author: hanyuqing
*/
it
(
'
worker_postMessage_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_003.js
"
)
...
...
@@ -167,6 +197,11 @@ describe('workerTest', function () {
// check postMessage is ok
// main post {message:"hello world"} , will receive {message:"hello world worker"}
/**
* @tc.name: worker_postMessage_test_003
* @tc.desc: Sends a message to the worker thread.
* @tc.author: hanyuqing
*/
it
(
'
worker_postMessage_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_004.js
"
)
...
...
@@ -197,6 +232,11 @@ describe('workerTest', function () {
})
// check worker name is ok
/**
* @tc.name: worker_postMessage_test_004
* @tc.desc: Sends a message to the worker thread.
* @tc.author: hanyuqing
*/
it
(
'
worker_postMessage_test_004
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_005.js
"
,
{
name
:
"
zhangsan
"
})
...
...
@@ -227,6 +267,11 @@ describe('workerTest', function () {
})
// check worker transfer buffer is ok
/**
* @tc.name: worker_postMessage_test_005
* @tc.desc: Sends a message to the worker thread.
* @tc.author: hanyuqing
*/
it
(
'
worker_postMessage_test_005
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_006.js
"
)
let
isTerminate
=
false
...
...
@@ -263,6 +308,11 @@ describe('workerTest', function () {
})
// check worker handle error is ok
/**
* @tc.name: worker_postMessage_test_006
* @tc.desc: Sends a message to the worker thread.
* @tc.author: hanyuqing
*/
it
(
'
worker_postMessage_test_006
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_007.js
"
)
...
...
@@ -293,6 +343,11 @@ describe('workerTest', function () {
})
// check worker terminate is ok
/**
* @tc.name: worker_terminate_test_001
* @tc.desc: Terminates the worker thread to stop the worker from receiving messages.
* @tc.author: hanyuqing
*/
it
(
'
worker_terminate_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
let
res
=
0
...
...
@@ -313,6 +368,11 @@ describe('workerTest', function () {
})
// check worker terminate is ok
/**
* @tc.name: worker_terminate_test_002
* @tc.desc: Terminates the worker thread to stop the worker from receiving messages.
* @tc.author: hanyuqing
*/
it
(
'
worker_terminate_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
let
res
=
0
...
...
@@ -336,6 +396,11 @@ describe('workerTest', function () {
})
// check worker terminate is ok
/**
* @tc.name: worker_terminate_test_003
* @tc.desc: Terminates the worker thread to stop the worker from receiving messages.
* @tc.author: hanyuqing
*/
it
(
'
worker_terminate_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
let
res
=
0
...
...
@@ -362,6 +427,11 @@ describe('workerTest', function () {
})
// check worker on function is ok
/**
* @tc.name: worker_on_test_001
* @tc.desc: Adds an event listener to the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_on_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -387,6 +457,11 @@ describe('workerTest', function () {
})
// check worker on function is ok
/**
* @tc.name: worker_on_test_002
* @tc.desc: Adds an event listener to the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_on_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -416,6 +491,11 @@ describe('workerTest', function () {
})
// check worker on function is ok
/**
* @tc.name: worker_on_test_003
* @tc.desc: Adds an event listener to the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_on_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -445,6 +525,12 @@ describe('workerTest', function () {
})
// check worker once function is ok
/**
* @tc.name: worker_once_test_001
* @tc.desc: Adds an event listener to the worker and removes the event listener automically
after it is invoked once.
* @tc.author: hanyuqing
*/
it
(
'
worker_once_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -469,6 +555,12 @@ describe('workerTest', function () {
})
// check worker once function is ok
/**
* @tc.name: worker_once_test_002
* @tc.desc: Adds an event listener to the worker and removes the event listener automically
after it is invoked once.
* @tc.author: hanyuqing
*/
it
(
'
worker_once_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -496,6 +588,12 @@ describe('workerTest', function () {
done
()
})
/**
* @tc.name: worker_once_test_003
* @tc.desc: Adds an event listener to the worker and removes the event listener automically
after it is invoked once.
* @tc.author: hanyuqing
*/
it
(
'
worker_once_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -526,6 +624,11 @@ describe('workerTest', function () {
})
// check worker addEventListener function is ok
/**
* @tc.name: worker_addEventListener_test_001
* @tc.desc: Add an event listener to the Worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_addEventListener_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -552,6 +655,11 @@ describe('workerTest', function () {
})
// check worker addEventListener function is ok
/**
* @tc.name: worker_addEventListener_test_002
* @tc.desc: Add an event listener to the Worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_addEventListener_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -581,6 +689,11 @@ describe('workerTest', function () {
})
// check worker addEventListener function is ok
/**
* @tc.name: worker_addEventListener_test_003
* @tc.desc: Add an event listener to the Worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_addEventListener_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -609,6 +722,11 @@ describe('workerTest', function () {
})
// check worker off function is ok
/**
* @tc.name: worker_off_test_001
* @tc.desc: Removes an event listener to the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_off_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -640,6 +758,11 @@ describe('workerTest', function () {
})
// check worker off function is ok
/**
* @tc.name: worker_off_test_002
* @tc.desc: Removes an event listener to the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_off_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -674,6 +797,11 @@ describe('workerTest', function () {
})
// check worker removeEventListener function is ok
/**
* @tc.name: worker_removeListener_test_001
* @tc.desc: Removes an event defined for the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_removeListener_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -705,6 +833,11 @@ describe('workerTest', function () {
})
// check worker removeEventListener function is ok
/**
* @tc.name: worker_removeListener_test_002
* @tc.desc: Removes an event defined for the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_removeListener_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -739,6 +872,11 @@ describe('workerTest', function () {
})
// check worker removeAllListener function is ok
/**
* @tc.name: worker_removeListener_test_003
* @tc.desc: Removes an event defined for the worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_removeListener_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker.js
"
)
...
...
@@ -783,6 +921,11 @@ describe('workerTest', function () {
})
// check parentPort.close is ok
/**
* @tc.name: worker_parentPortClose_test_001
* @tc.desc: Close the worker thread to stop the worker from receiving messages.
* @tc.author: hanyuqing
*/
it
(
'
worker_parentPortClose_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_008.js
"
)
let
res
=
0
...
...
@@ -803,6 +946,11 @@ describe('workerTest', function () {
})
// check parentPort.close is ok
/**
* @tc.name: worker_parentPortClose_test_002
* @tc.desc: Close the worker thread to stop the worker from receiving messages.
* @tc.author: hanyuqing
*/
it
(
'
worker_parentPortClose_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_008.js
"
)
let
res
=
0
...
...
@@ -828,6 +976,12 @@ describe('workerTest', function () {
})
// check onmessageerror is ok
/**
* @tc.name: worker_onmessageerror_test_001
* @tc.desc: The onmessage attribute of the worker specifies the event handler when the worker receives
a message that cannot be serialized. The event handler is executed in the host thread
* @tc.author: hanyuqing
*/
it
(
'
worker_onmessageerror_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_008.js
"
)
let
res
=
0
...
...
@@ -850,6 +1004,12 @@ describe('workerTest', function () {
})
// check onmessageerror is ok
/**
* @tc.name: worker_onmessageerror_test_002
* @tc.desc: The onmessage attribute of the worker specifies the event handler when the worker receives
a message that cannot be serialized. The event handler is executed in the host thread
* @tc.author: hanyuqing
*/
it
(
'
worker_onmessageerror_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_008.js
"
)
let
res
=
0
...
...
@@ -870,6 +1030,11 @@ describe('workerTest', function () {
})
// check new second worker is ok
/**
* @tc.name: worker_new_second_worker_test_001
* @tc.desc: Create a second worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_new_second_worker_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_009.js
"
)
let
flag
=
false
...
...
@@ -909,6 +1074,11 @@ describe('workerTest', function () {
})
// check new third worker is ok
/**
* @tc.name: worker_new_second_worker_test_002
* @tc.desc: Create a third worker.
* @tc.author: hanyuqing
*/
it
(
'
worker_new_second_worker_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_012.js
"
)
let
flag
=
false
...
...
@@ -949,6 +1119,11 @@ describe('workerTest', function () {
})
// check second worker postMessage number is ok
/**
* @tc.name: worker_second_worker_postMessage_test_001
* @tc.desc: Check if the postMessage function of the second worker is ok.
* @tc.author: hanyuqing
*/
it
(
'
worker_second_worker_postMessage_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_010.js
"
)
let
flag
=
false
...
...
@@ -989,6 +1164,11 @@ describe('workerTest', function () {
})
// check second worker postMessage string is ok
/**
* @tc.name: worker_second_worker_postMessage_test_002
* @tc.desc: Check if the postMessage function of the second worker is ok.
* @tc.author: hanyuqing
*/
it
(
'
worker_second_worker_postMessage_test_002
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_013.js
"
)
let
flag
=
false
...
...
@@ -1029,6 +1209,11 @@ describe('workerTest', function () {
})
// check second worker postMessage array is ok
/**
* @tc.name: worker_second_worker_postMessage_test_003
* @tc.desc: Check if the postMessage function of the second worker is ok.
* @tc.author: hanyuqing
*/
it
(
'
worker_second_worker_postMessage_test_003
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_014.js
"
)
let
flag
=
false
...
...
@@ -1070,6 +1255,11 @@ describe('workerTest', function () {
})
// check third worker postMessage is ok
/**
* @tc.name: worker_third_worker_postMessage_test_001
* @tc.desc: Check if the postMessage function of the third worker is ok.
* @tc.author: hanyuqing
*/
it
(
'
worker_third_worker_postMessage_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_015.js
"
)
let
flag
=
false
...
...
@@ -1095,6 +1285,11 @@ describe('workerTest', function () {
})
// check second worker terminate is ok
/**
* @tc.name: worker_second_worker_terminate_test_001
* @tc.desc: Check if the terminate function of the second worker is ok.
* @tc.author: hanyuqing
*/
it
(
'
worker_second_worker_terminate_test_001
'
,
0
,
async
function
(
done
)
{
let
ss
=
new
worker
.
Worker
(
"
workers/worker_011.js
"
)
let
flag
=
false
...
...
compileruntime/xml_lib_standard/src/main/js/test/xml.test.js
浏览文件 @
bd1fabfe
...
...
@@ -19,7 +19,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDeclaration001
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDeclaration001
'
,
0
,
function
()
{
...
...
@@ -38,7 +37,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDeclaration002
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDeclaration002
'
,
0
,
function
()
{
...
...
@@ -57,7 +55,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDeclaration003
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDeclaration003
'
,
0
,
function
()
{
...
...
@@ -76,7 +73,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDeclaration004
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDeclaration004
'
,
0
,
function
()
{
...
...
@@ -95,7 +91,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDeclaration005
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDeclaration005
'
,
0
,
function
()
{
...
...
@@ -114,7 +109,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement001
* @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testStartElement001
'
,
0
,
function
()
{
...
...
@@ -135,7 +129,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement002
* @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testStartElement002
'
,
0
,
function
()
{
...
...
@@ -158,7 +151,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement003
* @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testStartElement003
'
,
0
,
function
()
{
...
...
@@ -181,7 +173,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement004
* @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testStartElement004
'
,
0
,
function
()
{
...
...
@@ -206,7 +197,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement005
* @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testStartElement005
'
,
0
,
function
()
{
...
...
@@ -231,7 +221,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetAttributes001
* @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetAttributes001
'
,
0
,
function
()
{
...
...
@@ -253,7 +242,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetAttributes002
* @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetAttributes002
'
,
0
,
function
()
{
...
...
@@ -276,7 +264,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetAttributes003
* @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetAttributes003
'
,
0
,
function
()
{
...
...
@@ -300,7 +287,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetAttributes004
* @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetAttributes004
'
,
0
,
function
()
{
...
...
@@ -325,7 +311,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetAttributes005
* @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetAttributes005
'
,
0
,
function
()
{
...
...
@@ -350,7 +335,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEndElement001
* @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEndElement001
'
,
0
,
function
()
{
...
...
@@ -371,7 +355,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEndElement002
* @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEndElement002
'
,
0
,
function
()
{
...
...
@@ -393,7 +376,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEndElement003
* @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEndElement003
'
,
0
,
function
()
{
...
...
@@ -415,7 +397,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEndElement004
* @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEndElement004
'
,
0
,
function
()
{
...
...
@@ -438,7 +419,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEndElement005
* @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEndElement005
'
,
0
,
function
()
{
...
...
@@ -460,7 +440,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetText001
* @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetText001
'
,
0
,
function
()
{
...
...
@@ -483,7 +462,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetText002
* @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetText002
'
,
0
,
function
()
{
...
...
@@ -506,7 +484,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetText003
* @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetText003
'
,
0
,
function
()
{
...
...
@@ -529,7 +506,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetText004
* @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetText004
'
,
0
,
function
()
{
...
...
@@ -552,7 +528,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetText005
* @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetText005
'
,
0
,
function
()
{
...
...
@@ -575,7 +550,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testAddEmptyElement001
* @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testAddEmptyElement001
'
,
0
,
function
()
{
...
...
@@ -597,7 +571,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testAddEmptyElement002
* @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testAddEmptyElement002
'
,
0
,
function
()
{
...
...
@@ -619,7 +592,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testAddEmptyElement003
* @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testAddEmptyElement003
'
,
0
,
function
()
{
...
...
@@ -641,7 +613,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testAddEmptyElement004
* @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testAddEmptyElement004
'
,
0
,
function
()
{
...
...
@@ -661,7 +632,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testAddEmptyElement005
* @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testAddEmptyElement005
'
,
0
,
function
()
{
...
...
@@ -684,7 +654,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetNamespace001
* @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetNamespace001
'
,
0
,
function
()
{
...
...
@@ -707,7 +676,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetNamespace002
* @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetNamespace002
'
,
0
,
function
()
{
...
...
@@ -730,7 +698,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetNamespace003
* @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetNamespace003
'
,
0
,
function
()
{
...
...
@@ -753,7 +720,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetNamespace004
* @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetNamespace004
'
,
0
,
function
()
{
...
...
@@ -779,7 +745,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetNamespace005
* @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetNamespace005
'
,
0
,
function
()
{
...
...
@@ -805,7 +770,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetComment001
* @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetComment001
'
,
0
,
function
()
{
...
...
@@ -827,7 +791,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetComment002
* @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetComment002
'
,
0
,
function
()
{
...
...
@@ -849,7 +812,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetComment003
* @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetComment003
'
,
0
,
function
()
{
...
...
@@ -869,7 +831,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetComment004
* @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetComment004
'
,
0
,
function
()
{
...
...
@@ -889,7 +850,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetComment005
* @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetComment005
'
,
0
,
function
()
{
...
...
@@ -911,7 +871,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDocType001
* @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDocType001
'
,
0
,
function
()
{
...
...
@@ -931,7 +890,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDocType002
* @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDocType002
'
,
0
,
function
()
{
...
...
@@ -951,7 +909,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDocType003
* @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDocType003
'
,
0
,
function
()
{
...
...
@@ -973,7 +930,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDocType004
* @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDocType004
'
,
0
,
function
()
{
...
...
@@ -995,7 +951,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetDocType005
* @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetDocType005
'
,
0
,
function
()
{
...
...
@@ -1017,7 +972,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetCDATA001
* @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetCDATA001
'
,
0
,
function
()
{
...
...
@@ -1037,7 +991,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetCDATA002
* @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetCDATA002
'
,
0
,
function
()
{
...
...
@@ -1057,7 +1010,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetCDATA003
* @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetCDATA003
'
,
0
,
function
()
{
...
...
@@ -1079,7 +1031,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetCDATA004
* @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetCDATA004
'
,
0
,
function
()
{
...
...
@@ -1101,7 +1052,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testSetCDATA005
* @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testSetCDATA005
'
,
0
,
function
()
{
...
...
@@ -1123,7 +1073,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testParse001
* @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testParse001
'
,
0
,
function
()
{
...
...
@@ -1193,7 +1142,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testParse002
* @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testParse002
'
,
0
,
function
()
{
...
...
@@ -1260,7 +1208,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testParse003
* @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testParse003
'
,
0
,
function
()
{
...
...
@@ -1328,7 +1275,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testParse004
* @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testParse004
'
,
0
,
function
()
{
...
...
@@ -1373,7 +1319,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testParse005
* @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testParse005
'
,
0
,
function
()
{
...
...
@@ -1418,7 +1363,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType001
* @tc.desc: Gets the START_DOCUMENT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType001
'
,
0
,
function
()
{
...
...
@@ -1429,7 +1373,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType002
* @tc.desc: Gets the END_DOCUMENT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType002
'
,
0
,
function
()
{
...
...
@@ -1440,7 +1383,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType003
* @tc.desc: Gets the START_TAG of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType003
'
,
0
,
function
()
{
...
...
@@ -1451,7 +1393,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType004
* @tc.desc: Gets the END_TAG of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType004
'
,
0
,
function
()
{
...
...
@@ -1462,7 +1403,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType005
* @tc.desc: Gets the TEXT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType005
'
,
0
,
function
()
{
...
...
@@ -1473,7 +1413,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType006
* @tc.desc: Gets the CDSECT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType006
'
,
0
,
function
()
{
...
...
@@ -1484,7 +1423,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType007
* @tc.desc: Gets the COMMENT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType007
'
,
0
,
function
()
{
...
...
@@ -1495,7 +1433,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType008
* @tc.desc: Gets the DOCDECL of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType008
'
,
0
,
function
()
{
...
...
@@ -1506,7 +1443,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType009
* @tc.desc: Gets the INSTRUCTION of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType009
'
,
0
,
function
()
{
...
...
@@ -1517,7 +1453,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType010
* @tc.desc: Gets the ENTITY_REFERENCE of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType010
'
,
0
,
function
()
{
...
...
@@ -1528,7 +1463,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testEventType011
* @tc.desc: Gets the WHITESPACE of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
it
(
'
testEventType011
'
,
0
,
function
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录