提交 f485de1d 编写于 作者: L lixingyang

Modify the name of the xts use case and delete the relevant AR number

Signed-off-by: Nlixingyang <lixingyang8@huawei.com>
https://gitee.com/openharmony/xts_acts/issues/I5BYWE
上级 274a8323
...@@ -18,7 +18,7 @@ import app from '@system.app' ...@@ -18,7 +18,7 @@ import app from '@system.app'
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
import worker from "@ohos.worker" import worker from "@ohos.worker"
describe('workerTest', function () { describe('WaitTest', function () {
afterAll(function () { afterAll(function () {
console.info('total case over') console.info('total case over')
...@@ -34,6 +34,11 @@ describe('workerTest', function () { ...@@ -34,6 +34,11 @@ describe('workerTest', function () {
return p 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) { it('testNotify001', 0, async function (done) {
var sab = new SharedArrayBuffer(20); var sab = new SharedArrayBuffer(20);
var int32 = new Int32Array(sab); var int32 = new Int32Array(sab);
...@@ -118,11 +123,16 @@ describe('workerTest', function () { ...@@ -118,11 +123,16 @@ describe('workerTest', function () {
done() 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) { it('testWait001', 0, async function (done) {
var sab = new SharedArrayBuffer(20); var sab = new SharedArrayBuffer(20);
var flag = false; var flag = false;
var int32 = new Int32Array(sab); var int32 = new Int32Array(sab);
var res = 0; var res = 0;
const ss = new worker.Worker("workers/worker020.js") const ss = new worker.Worker("workers/worker020.js")
ss.onmessage = function(e){ ss.onmessage = function(e){
...@@ -159,6 +169,11 @@ describe('workerTest', function () { ...@@ -159,6 +169,11 @@ describe('workerTest', function () {
done() 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) { it('testAdd001', 0, async function (done) {
var sab = new SharedArrayBuffer(20); var sab = new SharedArrayBuffer(20);
var int32 = new Uint32Array(sab); var int32 = new Uint32Array(sab);
......
...@@ -19,7 +19,6 @@ describe('XmlTest', function () { ...@@ -19,7 +19,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert001 * @tc.name: testConvert001
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert001', 0, function () { it('testConvert001', 0, function () {
...@@ -61,7 +60,6 @@ describe('XmlTest', function () { ...@@ -61,7 +60,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert002 * @tc.name: testConvert002
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert002', 0, function () { it('testConvert002', 0, function () {
...@@ -103,7 +101,6 @@ describe('XmlTest', function () { ...@@ -103,7 +101,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert003 * @tc.name: testConvert003
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert003', 0, function () { it('testConvert003', 0, function () {
...@@ -143,7 +140,6 @@ describe('XmlTest', function () { ...@@ -143,7 +140,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert004 * @tc.name: testConvert004
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert004', 0, function () { it('testConvert004', 0, function () {
...@@ -187,7 +183,6 @@ describe('XmlTest', function () { ...@@ -187,7 +183,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert005 * @tc.name: testConvert005
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert005', 0, function () { it('testConvert005', 0, function () {
...@@ -227,7 +222,6 @@ describe('XmlTest', function () { ...@@ -227,7 +222,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert006 * @tc.name: testConvert006
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert006', 0, function () { it('testConvert006', 0, function () {
...@@ -270,7 +264,6 @@ describe('XmlTest', function () { ...@@ -270,7 +264,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert007 * @tc.name: testConvert007
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert007', 0, function () { it('testConvert007', 0, function () {
...@@ -313,7 +306,6 @@ describe('XmlTest', function () { ...@@ -313,7 +306,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert008 * @tc.name: testConvert008
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert008', 0, function () { it('testConvert008', 0, function () {
...@@ -356,7 +348,6 @@ describe('XmlTest', function () { ...@@ -356,7 +348,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert09 * @tc.name: testConvert09
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert09', 0, function () { it('testConvert09', 0, function () {
...@@ -399,7 +390,6 @@ describe('XmlTest', function () { ...@@ -399,7 +390,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert010 * @tc.name: testConvert010
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert010', 0, function () { it('testConvert010', 0, function () {
...@@ -435,7 +425,6 @@ describe('XmlTest', function () { ...@@ -435,7 +425,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert011 * @tc.name: testConvert011
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert011', 0, function () { it('testConvert011', 0, function () {
...@@ -477,7 +466,6 @@ describe('XmlTest', function () { ...@@ -477,7 +466,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert012 * @tc.name: testConvert012
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert012', 0, function () { it('testConvert012', 0, function () {
...@@ -523,7 +511,6 @@ describe('XmlTest', function () { ...@@ -523,7 +511,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert013 * @tc.name: testConvert013
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert013', 0, function () { it('testConvert013', 0, function () {
...@@ -569,7 +556,6 @@ describe('XmlTest', function () { ...@@ -569,7 +556,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert014 * @tc.name: testConvert014
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert014', 0, function () { it('testConvert014', 0, function () {
...@@ -611,7 +597,6 @@ describe('XmlTest', function () { ...@@ -611,7 +597,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert015 * @tc.name: testConvert015
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert015', 0, function () { it('testConvert015', 0, function () {
...@@ -656,7 +641,6 @@ describe('XmlTest', function () { ...@@ -656,7 +641,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert016 * @tc.name: testConvert016
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert016', 0, function () { it('testConvert016', 0, function () {
...@@ -701,7 +685,6 @@ describe('XmlTest', function () { ...@@ -701,7 +685,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert017 * @tc.name: testConvert017
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert017', 0, function () { it('testConvert017', 0, function () {
...@@ -748,7 +731,6 @@ describe('XmlTest', function () { ...@@ -748,7 +731,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert018 * @tc.name: testConvert018
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert018', 0, function () { it('testConvert018', 0, function () {
...@@ -790,7 +772,6 @@ describe('XmlTest', function () { ...@@ -790,7 +772,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert019 * @tc.name: testConvert019
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert019', 0, function () { it('testConvert019', 0, function () {
...@@ -832,7 +813,6 @@ describe('XmlTest', function () { ...@@ -832,7 +813,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert020 * @tc.name: testConvert020
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert020', 0, function () { it('testConvert020', 0, function () {
...@@ -874,7 +854,6 @@ describe('XmlTest', function () { ...@@ -874,7 +854,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert021 * @tc.name: testConvert021
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert021', 0, function () { it('testConvert021', 0, function () {
...@@ -893,7 +872,6 @@ describe('XmlTest', function () { ...@@ -893,7 +872,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert022 * @tc.name: testConvert022
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert022', 0, function () { it('testConvert022', 0, function () {
...@@ -913,7 +891,6 @@ describe('XmlTest', function () { ...@@ -913,7 +891,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert023 * @tc.name: testConvert023
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert023', 0, function () { it('testConvert023', 0, function () {
...@@ -932,7 +909,6 @@ describe('XmlTest', function () { ...@@ -932,7 +909,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert024 * @tc.name: testConvert024
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert024', 0, function () { it('testConvert024', 0, function () {
...@@ -953,7 +929,6 @@ describe('XmlTest', function () { ...@@ -953,7 +929,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert025 * @tc.name: testConvert025
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert025', 0, function () { it('testConvert025', 0, function () {
...@@ -977,7 +952,6 @@ describe('XmlTest', function () { ...@@ -977,7 +952,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert026 * @tc.name: testConvert026
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert026', 0, function () { it('testConvert026', 0, function () {
...@@ -1001,7 +975,6 @@ describe('XmlTest', function () { ...@@ -1001,7 +975,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert027 * @tc.name: testConvert027
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert027', 0, function () { it('testConvert027', 0, function () {
...@@ -1028,7 +1001,6 @@ describe('XmlTest', function () { ...@@ -1028,7 +1001,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert028 * @tc.name: testConvert028
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert028', 0, function () { it('testConvert028', 0, function () {
...@@ -1051,7 +1023,6 @@ describe('XmlTest', function () { ...@@ -1051,7 +1023,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert029 * @tc.name: testConvert029
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert029', 0, function () { it('testConvert029', 0, function () {
...@@ -1080,7 +1051,6 @@ describe('XmlTest', function () { ...@@ -1080,7 +1051,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert030 * @tc.name: testConvert030
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert030', 0, function () { it('testConvert030', 0, function () {
...@@ -1100,7 +1070,6 @@ describe('XmlTest', function () { ...@@ -1100,7 +1070,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert031 * @tc.name: testConvert031
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert031', 0, function () { it('testConvert031', 0, function () {
...@@ -1122,7 +1091,6 @@ describe('XmlTest', function () { ...@@ -1122,7 +1091,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert032 * @tc.name: testConvert032
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert032', 0, function () { it('testConvert032', 0, function () {
...@@ -1144,7 +1112,6 @@ describe('XmlTest', function () { ...@@ -1144,7 +1112,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert033 * @tc.name: testConvert033
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert033', 0, function () { it('testConvert033', 0, function () {
...@@ -1165,7 +1132,6 @@ describe('XmlTest', function () { ...@@ -1165,7 +1132,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert034 * @tc.name: testConvert034
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert034', 0, function () { it('testConvert034', 0, function () {
...@@ -1187,7 +1153,6 @@ describe('XmlTest', function () { ...@@ -1187,7 +1153,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert035 * @tc.name: testConvert035
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert035', 0, function () { it('testConvert035', 0, function () {
...@@ -1210,7 +1175,6 @@ describe('XmlTest', function () { ...@@ -1210,7 +1175,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert036 * @tc.name: testConvert036
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert036', 0, function () { it('testConvert036', 0, function () {
...@@ -1233,7 +1197,6 @@ describe('XmlTest', function () { ...@@ -1233,7 +1197,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert037 * @tc.name: testConvert037
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert037', 0, function () { it('testConvert037', 0, function () {
...@@ -1255,7 +1218,6 @@ describe('XmlTest', function () { ...@@ -1255,7 +1218,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert038 * @tc.name: testConvert038
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert038', 0, function () { it('testConvert038', 0, function () {
...@@ -1279,7 +1241,6 @@ describe('XmlTest', function () { ...@@ -1279,7 +1241,6 @@ describe('XmlTest', function () {
/** /**
* @tc.name: testConvert039 * @tc.name: testConvert039
* @tc.desc: To convert XML text to JavaScript object. * @tc.desc: To convert XML text to JavaScript object.
* @tc.require: AR000GFB5B
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testConvert039', 0, function () { it('testConvert039', 0, function () {
......
...@@ -35,6 +35,11 @@ describe('workerTest', function () { ...@@ -35,6 +35,11 @@ describe('workerTest', function () {
} }
// check worker constructor is ok // 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) { it('worker_constructor_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
let isTerminate = false let isTerminate = false
...@@ -52,6 +57,11 @@ describe('workerTest', function () { ...@@ -52,6 +57,11 @@ describe('workerTest', function () {
done() 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) { it('worker_constructor_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js", {name:"second worker", shared:"False"}) let ss = new worker.Worker("workers/worker.js", {name:"second worker", shared:"False"})
let isTerminate = false let isTerminate = false
...@@ -69,6 +79,11 @@ describe('workerTest', function () { ...@@ -69,6 +79,11 @@ describe('workerTest', function () {
done() 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) { 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 ss = new worker.Worker("workers/worker.js", {type:"classic", name:"second worker", shared:"false"})
let isTerminate = false let isTerminate = false
...@@ -86,6 +101,11 @@ describe('workerTest', function () { ...@@ -86,6 +101,11 @@ describe('workerTest', function () {
done() 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) { 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 ss = new worker.Worker("workers/worker.js", {type:"classic", name:"third worker", shared:"true"})
let isTerminate = false let isTerminate = false
...@@ -105,6 +125,11 @@ describe('workerTest', function () { ...@@ -105,6 +125,11 @@ describe('workerTest', function () {
// check postMessage is ok // check postMessage is ok
// main post "hello world", will receive "hello world worker" // 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) { it('worker_postMessage_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_002.js") let ss = new worker.Worker("workers/worker_002.js")
...@@ -136,6 +161,11 @@ describe('workerTest', function () { ...@@ -136,6 +161,11 @@ describe('workerTest', function () {
// check postMessage is ok // check postMessage is ok
// main post 12 , will receive 12 * 2 + 1 // 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) { it('worker_postMessage_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker_003.js") let ss = new worker.Worker("workers/worker_003.js")
...@@ -167,6 +197,11 @@ describe('workerTest', function () { ...@@ -167,6 +197,11 @@ describe('workerTest', function () {
// check postMessage is ok // check postMessage is ok
// main post {message:"hello world"} , will receive {message:"hello world worker"} // 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) { it('worker_postMessage_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker_004.js") let ss = new worker.Worker("workers/worker_004.js")
...@@ -197,6 +232,11 @@ describe('workerTest', function () { ...@@ -197,6 +232,11 @@ describe('workerTest', function () {
}) })
// check worker name is ok // 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) { it('worker_postMessage_test_004', 0, async function (done) {
let ss = new worker.Worker("workers/worker_005.js", {name: "zhangsan"}) let ss = new worker.Worker("workers/worker_005.js", {name: "zhangsan"})
...@@ -227,6 +267,11 @@ describe('workerTest', function () { ...@@ -227,6 +267,11 @@ describe('workerTest', function () {
}) })
// check worker transfer buffer is ok // 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) { it('worker_postMessage_test_005', 0, async function (done) {
let ss = new worker.Worker("workers/worker_006.js") let ss = new worker.Worker("workers/worker_006.js")
let isTerminate = false let isTerminate = false
...@@ -263,6 +308,11 @@ describe('workerTest', function () { ...@@ -263,6 +308,11 @@ describe('workerTest', function () {
}) })
// check worker handle error is ok // 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) { it('worker_postMessage_test_006', 0, async function (done) {
let ss = new worker.Worker("workers/worker_007.js") let ss = new worker.Worker("workers/worker_007.js")
...@@ -293,6 +343,11 @@ describe('workerTest', function () { ...@@ -293,6 +343,11 @@ describe('workerTest', function () {
}) })
// check worker terminate is ok // 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) { it('worker_terminate_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
let res = 0 let res = 0
...@@ -313,6 +368,11 @@ describe('workerTest', function () { ...@@ -313,6 +368,11 @@ describe('workerTest', function () {
}) })
// check worker terminate is ok // 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) { it('worker_terminate_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
let res = 0 let res = 0
...@@ -336,6 +396,11 @@ describe('workerTest', function () { ...@@ -336,6 +396,11 @@ describe('workerTest', function () {
}) })
// check worker terminate is ok // 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) { it('worker_terminate_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
let res = 0 let res = 0
...@@ -362,6 +427,11 @@ describe('workerTest', function () { ...@@ -362,6 +427,11 @@ describe('workerTest', function () {
}) })
// check worker on function is ok // 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) { it('worker_on_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -387,6 +457,11 @@ describe('workerTest', function () { ...@@ -387,6 +457,11 @@ describe('workerTest', function () {
}) })
// check worker on function is ok // 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) { it('worker_on_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -416,6 +491,11 @@ describe('workerTest', function () { ...@@ -416,6 +491,11 @@ describe('workerTest', function () {
}) })
// check worker on function is ok // 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) { it('worker_on_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -445,6 +525,12 @@ describe('workerTest', function () { ...@@ -445,6 +525,12 @@ describe('workerTest', function () {
}) })
// check worker once function is ok // 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) { it('worker_once_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -469,6 +555,12 @@ describe('workerTest', function () { ...@@ -469,6 +555,12 @@ describe('workerTest', function () {
}) })
// check worker once function is ok // 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) { it('worker_once_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -496,6 +588,12 @@ describe('workerTest', function () { ...@@ -496,6 +588,12 @@ describe('workerTest', function () {
done() 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) { it('worker_once_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -526,6 +624,11 @@ describe('workerTest', function () { ...@@ -526,6 +624,11 @@ describe('workerTest', function () {
}) })
// check worker addEventListener function is ok // 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) { it('worker_addEventListener_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -552,6 +655,11 @@ describe('workerTest', function () { ...@@ -552,6 +655,11 @@ describe('workerTest', function () {
}) })
// check worker addEventListener function is ok // 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) { it('worker_addEventListener_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -581,6 +689,11 @@ describe('workerTest', function () { ...@@ -581,6 +689,11 @@ describe('workerTest', function () {
}) })
// check worker addEventListener function is ok // 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) { it('worker_addEventListener_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -609,6 +722,11 @@ describe('workerTest', function () { ...@@ -609,6 +722,11 @@ describe('workerTest', function () {
}) })
// check worker off function is ok // 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) { it('worker_off_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -640,6 +758,11 @@ describe('workerTest', function () { ...@@ -640,6 +758,11 @@ describe('workerTest', function () {
}) })
// check worker off function is ok // 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) { it('worker_off_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -674,6 +797,11 @@ describe('workerTest', function () { ...@@ -674,6 +797,11 @@ describe('workerTest', function () {
}) })
// check worker removeEventListener function is ok // 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) { it('worker_removeListener_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -705,6 +833,11 @@ describe('workerTest', function () { ...@@ -705,6 +833,11 @@ describe('workerTest', function () {
}) })
// check worker removeEventListener function is ok // 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) { it('worker_removeListener_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -739,6 +872,11 @@ describe('workerTest', function () { ...@@ -739,6 +872,11 @@ describe('workerTest', function () {
}) })
// check worker removeAllListener function is ok // 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) { it('worker_removeListener_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker.js") let ss = new worker.Worker("workers/worker.js")
...@@ -783,6 +921,11 @@ describe('workerTest', function () { ...@@ -783,6 +921,11 @@ describe('workerTest', function () {
}) })
// check parentPort.close is ok // 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) { it('worker_parentPortClose_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_008.js") let ss = new worker.Worker("workers/worker_008.js")
let res = 0 let res = 0
...@@ -803,6 +946,11 @@ describe('workerTest', function () { ...@@ -803,6 +946,11 @@ describe('workerTest', function () {
}) })
// check parentPort.close is ok // 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) { it('worker_parentPortClose_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker_008.js") let ss = new worker.Worker("workers/worker_008.js")
let res = 0 let res = 0
...@@ -828,6 +976,12 @@ describe('workerTest', function () { ...@@ -828,6 +976,12 @@ describe('workerTest', function () {
}) })
// check onmessageerror is ok // 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) { it('worker_onmessageerror_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_008.js") let ss = new worker.Worker("workers/worker_008.js")
let res = 0 let res = 0
...@@ -850,6 +1004,12 @@ describe('workerTest', function () { ...@@ -850,6 +1004,12 @@ describe('workerTest', function () {
}) })
// check onmessageerror is ok // 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) { it('worker_onmessageerror_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker_008.js") let ss = new worker.Worker("workers/worker_008.js")
let res = 0 let res = 0
...@@ -870,6 +1030,11 @@ describe('workerTest', function () { ...@@ -870,6 +1030,11 @@ describe('workerTest', function () {
}) })
// check new second worker is ok // 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) { it('worker_new_second_worker_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_009.js") let ss = new worker.Worker("workers/worker_009.js")
let flag = false let flag = false
...@@ -909,6 +1074,11 @@ describe('workerTest', function () { ...@@ -909,6 +1074,11 @@ describe('workerTest', function () {
}) })
// check new third worker is ok // 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) { it('worker_new_second_worker_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker_012.js") let ss = new worker.Worker("workers/worker_012.js")
let flag = false let flag = false
...@@ -949,6 +1119,11 @@ describe('workerTest', function () { ...@@ -949,6 +1119,11 @@ describe('workerTest', function () {
}) })
// check second worker postMessage number is ok // 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) { it('worker_second_worker_postMessage_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_010.js") let ss = new worker.Worker("workers/worker_010.js")
let flag = false let flag = false
...@@ -989,6 +1164,11 @@ describe('workerTest', function () { ...@@ -989,6 +1164,11 @@ describe('workerTest', function () {
}) })
// check second worker postMessage string is ok // 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) { it('worker_second_worker_postMessage_test_002', 0, async function (done) {
let ss = new worker.Worker("workers/worker_013.js") let ss = new worker.Worker("workers/worker_013.js")
let flag = false let flag = false
...@@ -1029,6 +1209,11 @@ describe('workerTest', function () { ...@@ -1029,6 +1209,11 @@ describe('workerTest', function () {
}) })
// check second worker postMessage array is ok // 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) { it('worker_second_worker_postMessage_test_003', 0, async function (done) {
let ss = new worker.Worker("workers/worker_014.js") let ss = new worker.Worker("workers/worker_014.js")
let flag = false let flag = false
...@@ -1070,6 +1255,11 @@ describe('workerTest', function () { ...@@ -1070,6 +1255,11 @@ describe('workerTest', function () {
}) })
// check third worker postMessage is ok // 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) { it('worker_third_worker_postMessage_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_015.js") let ss = new worker.Worker("workers/worker_015.js")
let flag = false let flag = false
...@@ -1095,6 +1285,11 @@ describe('workerTest', function () { ...@@ -1095,6 +1285,11 @@ describe('workerTest', function () {
}) })
// check second worker terminate is ok // 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) { it('worker_second_worker_terminate_test_001', 0, async function (done) {
let ss = new worker.Worker("workers/worker_011.js") let ss = new worker.Worker("workers/worker_011.js")
let flag = false let flag = false
......
...@@ -19,7 +19,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -19,7 +19,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDeclaration001 * @tc.name: testSetDeclaration001
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>. * @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDeclaration001', 0, function () { it('testSetDeclaration001', 0, function () {
...@@ -38,7 +37,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -38,7 +37,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDeclaration002 * @tc.name: testSetDeclaration002
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>. * @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDeclaration002', 0, function () { it('testSetDeclaration002', 0, function () {
...@@ -57,7 +55,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -57,7 +55,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDeclaration003 * @tc.name: testSetDeclaration003
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>. * @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDeclaration003', 0, function () { it('testSetDeclaration003', 0, function () {
...@@ -76,7 +73,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -76,7 +73,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDeclaration004 * @tc.name: testSetDeclaration004
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>. * @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDeclaration004', 0, function () { it('testSetDeclaration004', 0, function () {
...@@ -95,7 +91,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -95,7 +91,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDeclaration005 * @tc.name: testSetDeclaration005
* @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>. * @tc.desc: Writes xml declaration with encoding. For example: <?xml version="1.0" encoding="utf-8"?>.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDeclaration005', 0, function () { it('testSetDeclaration005', 0, function () {
...@@ -114,7 +109,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -114,7 +109,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testStartElement001 * @tc.name: testStartElement001
* @tc.desc: Writes an elemnet start tag with the given name. * @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testStartElement001', 0, function () { it('testStartElement001', 0, function () {
...@@ -135,7 +129,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -135,7 +129,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testStartElement002 * @tc.name: testStartElement002
* @tc.desc: Writes an elemnet start tag with the given name. * @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testStartElement002', 0, function () { it('testStartElement002', 0, function () {
...@@ -158,7 +151,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -158,7 +151,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testStartElement003 * @tc.name: testStartElement003
* @tc.desc: Writes an elemnet start tag with the given name. * @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testStartElement003', 0, function () { it('testStartElement003', 0, function () {
...@@ -181,7 +173,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -181,7 +173,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testStartElement004 * @tc.name: testStartElement004
* @tc.desc: Writes an elemnet start tag with the given name. * @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testStartElement004', 0, function () { it('testStartElement004', 0, function () {
...@@ -206,7 +197,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -206,7 +197,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testStartElement005 * @tc.name: testStartElement005
* @tc.desc: Writes an elemnet start tag with the given name. * @tc.desc: Writes an elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testStartElement005', 0, function () { it('testStartElement005', 0, function () {
...@@ -231,7 +221,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -231,7 +221,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetAttributes001 * @tc.name: testSetAttributes001
* @tc.desc: Write an attribute. * @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetAttributes001', 0, function () { it('testSetAttributes001', 0, function () {
...@@ -253,7 +242,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -253,7 +242,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetAttributes002 * @tc.name: testSetAttributes002
* @tc.desc: Write an attribute. * @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetAttributes002', 0, function () { it('testSetAttributes002', 0, function () {
...@@ -276,7 +264,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -276,7 +264,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetAttributes003 * @tc.name: testSetAttributes003
* @tc.desc: Write an attribute. * @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetAttributes003', 0, function () { it('testSetAttributes003', 0, function () {
...@@ -300,7 +287,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -300,7 +287,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetAttributes004 * @tc.name: testSetAttributes004
* @tc.desc: Write an attribute. * @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetAttributes004', 0, function () { it('testSetAttributes004', 0, function () {
...@@ -325,7 +311,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -325,7 +311,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetAttributes005 * @tc.name: testSetAttributes005
* @tc.desc: Write an attribute. * @tc.desc: Write an attribute.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetAttributes005', 0, function () { it('testSetAttributes005', 0, function () {
...@@ -350,7 +335,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -350,7 +335,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEndElement001 * @tc.name: testEndElement001
* @tc.desc: Writes end tag of the element. * @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEndElement001', 0, function () { it('testEndElement001', 0, function () {
...@@ -371,7 +355,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -371,7 +355,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEndElement002 * @tc.name: testEndElement002
* @tc.desc: Writes end tag of the element. * @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEndElement002', 0, function () { it('testEndElement002', 0, function () {
...@@ -393,7 +376,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -393,7 +376,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEndElement003 * @tc.name: testEndElement003
* @tc.desc: Writes end tag of the element. * @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEndElement003', 0, function () { it('testEndElement003', 0, function () {
...@@ -415,7 +397,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -415,7 +397,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEndElement004 * @tc.name: testEndElement004
* @tc.desc: Writes end tag of the element. * @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEndElement004', 0, function () { it('testEndElement004', 0, function () {
...@@ -438,7 +419,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -438,7 +419,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEndElement005 * @tc.name: testEndElement005
* @tc.desc: Writes end tag of the element. * @tc.desc: Writes end tag of the element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEndElement005', 0, function () { it('testEndElement005', 0, function () {
...@@ -460,7 +440,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -460,7 +440,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetText001 * @tc.name: testSetText001
* @tc.desc: Writes the text. * @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetText001', 0, function () { it('testSetText001', 0, function () {
...@@ -483,7 +462,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -483,7 +462,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetText002 * @tc.name: testSetText002
* @tc.desc: Writes the text. * @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetText002', 0, function () { it('testSetText002', 0, function () {
...@@ -506,7 +484,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -506,7 +484,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetText003 * @tc.name: testSetText003
* @tc.desc: Writes the text. * @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetText003', 0, function () { it('testSetText003', 0, function () {
...@@ -529,7 +506,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -529,7 +506,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetText004 * @tc.name: testSetText004
* @tc.desc: Writes the text. * @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetText004', 0, function () { it('testSetText004', 0, function () {
...@@ -552,7 +528,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -552,7 +528,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetText005 * @tc.name: testSetText005
* @tc.desc: Writes the text. * @tc.desc: Writes the text.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetText005', 0, function () { it('testSetText005', 0, function () {
...@@ -575,7 +550,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -575,7 +550,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testAddEmptyElement001 * @tc.name: testAddEmptyElement001
* @tc.desc: Add an empty element. * @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testAddEmptyElement001', 0, function () { it('testAddEmptyElement001', 0, function () {
...@@ -597,7 +571,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -597,7 +571,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testAddEmptyElement002 * @tc.name: testAddEmptyElement002
* @tc.desc: Add an empty element. * @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testAddEmptyElement002', 0, function () { it('testAddEmptyElement002', 0, function () {
...@@ -619,7 +592,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -619,7 +592,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testAddEmptyElement003 * @tc.name: testAddEmptyElement003
* @tc.desc: Add an empty element. * @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testAddEmptyElement003', 0, function () { it('testAddEmptyElement003', 0, function () {
...@@ -641,7 +613,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -641,7 +613,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testAddEmptyElement004 * @tc.name: testAddEmptyElement004
* @tc.desc: Add an empty element. * @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testAddEmptyElement004', 0, function () { it('testAddEmptyElement004', 0, function () {
...@@ -661,7 +632,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -661,7 +632,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testAddEmptyElement005 * @tc.name: testAddEmptyElement005
* @tc.desc: Add an empty element. * @tc.desc: Add an empty element.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testAddEmptyElement005', 0, function () { it('testAddEmptyElement005', 0, function () {
...@@ -684,7 +654,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -684,7 +654,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetNamespace001 * @tc.name: testSetNamespace001
* @tc.desc: Writes the namespace of the current element tag. * @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetNamespace001', 0, function () { it('testSetNamespace001', 0, function () {
...@@ -707,7 +676,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -707,7 +676,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetNamespace002 * @tc.name: testSetNamespace002
* @tc.desc: Writes the namespace of the current element tag. * @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetNamespace002', 0, function () { it('testSetNamespace002', 0, function () {
...@@ -730,7 +698,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -730,7 +698,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetNamespace003 * @tc.name: testSetNamespace003
* @tc.desc: Writes the namespace of the current element tag. * @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetNamespace003', 0, function () { it('testSetNamespace003', 0, function () {
...@@ -753,7 +720,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -753,7 +720,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetNamespace004 * @tc.name: testSetNamespace004
* @tc.desc: Writes the namespace of the current element tag. * @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetNamespace004', 0, function () { it('testSetNamespace004', 0, function () {
...@@ -779,7 +745,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -779,7 +745,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetNamespace005 * @tc.name: testSetNamespace005
* @tc.desc: Writes the namespace of the current element tag. * @tc.desc: Writes the namespace of the current element tag.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetNamespace005', 0, function () { it('testSetNamespace005', 0, function () {
...@@ -805,7 +770,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -805,7 +770,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetComment001 * @tc.name: testSetComment001
* @tc.desc: Writes the comment. * @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetComment001', 0, function () { it('testSetComment001', 0, function () {
...@@ -827,7 +791,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -827,7 +791,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetComment002 * @tc.name: testSetComment002
* @tc.desc: Writes the comment. * @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetComment002', 0, function () { it('testSetComment002', 0, function () {
...@@ -849,7 +812,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -849,7 +812,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetComment003 * @tc.name: testSetComment003
* @tc.desc: Writes the comment. * @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetComment003', 0, function () { it('testSetComment003', 0, function () {
...@@ -869,7 +831,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -869,7 +831,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetComment004 * @tc.name: testSetComment004
* @tc.desc: Writes the comment. * @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetComment004', 0, function () { it('testSetComment004', 0, function () {
...@@ -889,7 +850,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -889,7 +850,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetComment005 * @tc.name: testSetComment005
* @tc.desc: Writes the comment. * @tc.desc: Writes the comment.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetComment005', 0, function () { it('testSetComment005', 0, function () {
...@@ -911,7 +871,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -911,7 +871,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDocType001 * @tc.name: testSetDocType001
* @tc.desc: Writes the DOCTYPE. * @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDocType001', 0, function () { it('testSetDocType001', 0, function () {
...@@ -931,7 +890,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -931,7 +890,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDocType002 * @tc.name: testSetDocType002
* @tc.desc: Writes the DOCTYPE. * @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDocType002', 0, function () { it('testSetDocType002', 0, function () {
...@@ -951,7 +909,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -951,7 +909,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDocType003 * @tc.name: testSetDocType003
* @tc.desc: Writes the DOCTYPE. * @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDocType003', 0, function () { it('testSetDocType003', 0, function () {
...@@ -973,7 +930,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -973,7 +930,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDocType004 * @tc.name: testSetDocType004
* @tc.desc: Writes the DOCTYPE. * @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDocType004', 0, function () { it('testSetDocType004', 0, function () {
...@@ -995,7 +951,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -995,7 +951,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetDocType005 * @tc.name: testSetDocType005
* @tc.desc: Writes the DOCTYPE. * @tc.desc: Writes the DOCTYPE.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetDocType005', 0, function () { it('testSetDocType005', 0, function () {
...@@ -1017,7 +972,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1017,7 +972,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetCDATA001 * @tc.name: testSetCDATA001
* @tc.desc: Writes the CDATA. * @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetCDATA001', 0, function () { it('testSetCDATA001', 0, function () {
...@@ -1037,7 +991,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1037,7 +991,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetCDATA002 * @tc.name: testSetCDATA002
* @tc.desc: Writes the CDATA. * @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetCDATA002', 0, function () { it('testSetCDATA002', 0, function () {
...@@ -1057,7 +1010,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1057,7 +1010,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetCDATA003 * @tc.name: testSetCDATA003
* @tc.desc: Writes the CDATA. * @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetCDATA003', 0, function () { it('testSetCDATA003', 0, function () {
...@@ -1079,7 +1031,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1079,7 +1031,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetCDATA004 * @tc.name: testSetCDATA004
* @tc.desc: Writes the CDATA. * @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetCDATA004', 0, function () { it('testSetCDATA004', 0, function () {
...@@ -1101,7 +1052,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1101,7 +1052,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testSetCDATA005 * @tc.name: testSetCDATA005
* @tc.desc: Writes the CDATA. * @tc.desc: Writes the CDATA.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testSetCDATA005', 0, function () { it('testSetCDATA005', 0, function () {
...@@ -1123,7 +1073,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1123,7 +1073,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testParse001 * @tc.name: testParse001
* @tc.desc: Starts parsing the XML file. * @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testParse001', 0, function () { it('testParse001', 0, function () {
...@@ -1193,7 +1142,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1193,7 +1142,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testParse002 * @tc.name: testParse002
* @tc.desc: Starts parsing the XML file. * @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testParse002', 0, function () { it('testParse002', 0, function () {
...@@ -1260,7 +1208,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1260,7 +1208,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testParse003 * @tc.name: testParse003
* @tc.desc: Starts parsing the XML file. * @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testParse003', 0, function () { it('testParse003', 0, function () {
...@@ -1328,7 +1275,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1328,7 +1275,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testParse004 * @tc.name: testParse004
* @tc.desc: Starts parsing the XML file. * @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testParse004', 0, function () { it('testParse004', 0, function () {
...@@ -1373,7 +1319,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1373,7 +1319,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testParse005 * @tc.name: testParse005
* @tc.desc: Starts parsing the XML file. * @tc.desc: Starts parsing the XML file.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testParse005', 0, function () { it('testParse005', 0, function () {
...@@ -1418,7 +1363,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1418,7 +1363,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType001 * @tc.name: testEventType001
* @tc.desc: Gets the START_DOCUMENT of EventType. * @tc.desc: Gets the START_DOCUMENT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType001', 0, function () { it('testEventType001', 0, function () {
...@@ -1429,7 +1373,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1429,7 +1373,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType002 * @tc.name: testEventType002
* @tc.desc: Gets the END_DOCUMENT of EventType. * @tc.desc: Gets the END_DOCUMENT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType002', 0, function () { it('testEventType002', 0, function () {
...@@ -1440,7 +1383,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1440,7 +1383,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType003 * @tc.name: testEventType003
* @tc.desc: Gets the START_TAG of EventType. * @tc.desc: Gets the START_TAG of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType003', 0, function () { it('testEventType003', 0, function () {
...@@ -1451,7 +1393,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1451,7 +1393,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType004 * @tc.name: testEventType004
* @tc.desc: Gets the END_TAG of EventType. * @tc.desc: Gets the END_TAG of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType004', 0, function () { it('testEventType004', 0, function () {
...@@ -1462,7 +1403,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1462,7 +1403,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType005 * @tc.name: testEventType005
* @tc.desc: Gets the TEXT of EventType. * @tc.desc: Gets the TEXT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType005', 0, function () { it('testEventType005', 0, function () {
...@@ -1473,7 +1413,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1473,7 +1413,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType006 * @tc.name: testEventType006
* @tc.desc: Gets the CDSECT of EventType. * @tc.desc: Gets the CDSECT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType006', 0, function () { it('testEventType006', 0, function () {
...@@ -1484,7 +1423,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1484,7 +1423,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType007 * @tc.name: testEventType007
* @tc.desc: Gets the COMMENT of EventType. * @tc.desc: Gets the COMMENT of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType007', 0, function () { it('testEventType007', 0, function () {
...@@ -1495,7 +1433,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1495,7 +1433,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType008 * @tc.name: testEventType008
* @tc.desc: Gets the DOCDECL of EventType. * @tc.desc: Gets the DOCDECL of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType008', 0, function () { it('testEventType008', 0, function () {
...@@ -1506,7 +1443,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1506,7 +1443,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType009 * @tc.name: testEventType009
* @tc.desc: Gets the INSTRUCTION of EventType. * @tc.desc: Gets the INSTRUCTION of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType009', 0, function () { it('testEventType009', 0, function () {
...@@ -1517,7 +1453,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1517,7 +1453,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType010 * @tc.name: testEventType010
* @tc.desc: Gets the ENTITY_REFERENCE of EventType. * @tc.desc: Gets the ENTITY_REFERENCE of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType010', 0, function () { it('testEventType010', 0, function () {
...@@ -1528,7 +1463,6 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -1528,7 +1463,6 @@ describe('XmlSerializerXmlPullParserTest', function () {
/** /**
* @tc.name: testEventType011 * @tc.name: testEventType011
* @tc.desc: Gets the WHITESPACE of EventType. * @tc.desc: Gets the WHITESPACE of EventType.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng * @tc.author: lihucheng
*/ */
it('testEventType011', 0, function () { it('testEventType011', 0, function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册