Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d883fa2f
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看板
提交
d883fa2f
编写于
3月 16, 2022
作者:
X
xdmal
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix bug in xts_acts issue
Signed-off-by:
N
xdmal
<
maxiaodong16@huawei.com
>
上级
c44cc2e1
变更
61
显示空白变更内容
内联
并排
Showing
61 changed file
with
112 addition
and
118 deletion
+112
-118
compileruntime/BUILD.gn
compileruntime/BUILD.gn
+1
-1
compileruntime/convertxml_lib_standard/BUILD.gn
compileruntime/convertxml_lib_standard/BUILD.gn
+1
-1
compileruntime/convertxml_lib_standard/src/main/js/default/app.js
...untime/convertxml_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js
...xml_lib_standard/src/main/js/default/pages/index/index.js
+1
-2
compileruntime/convertxml_lib_standard/src/main/js/test/List.test.js
...ime/convertxml_lib_standard/src/main/js/test/List.test.js
+1
-1
compileruntime/convertxml_lib_standard/src/main/js/test/convertxml.test.js
...nvertxml_lib_standard/src/main/js/test/convertxml.test.js
+1
-1
compileruntime/process_lib_standard/BUILD.gn
compileruntime/process_lib_standard/BUILD.gn
+1
-1
compileruntime/process_lib_standard/src/main/js/default/app.js
...leruntime/process_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js
...ess_lib_standard/src/main/js/default/pages/index/index.js
+2
-3
compileruntime/process_lib_standard/src/main/js/test/List.test.js
...untime/process_lib_standard/src/main/js/test/List.test.js
+1
-1
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
...ime/process_lib_standard/src/main/js/test/Process.test.js
+1
-1
compileruntime/uri_lib_standard/BUILD.gn
compileruntime/uri_lib_standard/BUILD.gn
+1
-1
compileruntime/uri_lib_standard/src/main/js/default/app.js
compileruntime/uri_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js
...uri_lib_standard/src/main/js/default/pages/index/index.js
+2
-3
compileruntime/uri_lib_standard/src/main/js/test/List.test.js
...ileruntime/uri_lib_standard/src/main/js/test/List.test.js
+1
-1
compileruntime/uri_lib_standard/src/main/js/test/uri.test.js
compileruntime/uri_lib_standard/src/main/js/test/uri.test.js
+1
-1
compileruntime/url_lib_standard/BUILD.gn
compileruntime/url_lib_standard/BUILD.gn
+1
-1
compileruntime/url_lib_standard/src/main/js/default/app.js
compileruntime/url_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js
...url_lib_standard/src/main/js/default/pages/index/index.js
+3
-3
compileruntime/url_lib_standard/src/main/js/test/List.test.js
...ileruntime/url_lib_standard/src/main/js/test/List.test.js
+1
-1
compileruntime/url_lib_standard/src/main/js/test/url.test.js
compileruntime/url_lib_standard/src/main/js/test/url.test.js
+1
-1
compileruntime/util_lib_standard/BUILD.gn
compileruntime/util_lib_standard/BUILD.gn
+1
-1
compileruntime/util_lib_standard/src/main/js/default/app.js
compileruntime/util_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js
...til_lib_standard/src/main/js/default/pages/index/index.js
+2
-3
compileruntime/util_lib_standard/src/main/js/test/List.test.js
...leruntime/util_lib_standard/src/main/js/test/List.test.js
+1
-1
compileruntime/util_lib_standard/src/main/js/test/util.test.js
...leruntime/util_lib_standard/src/main/js/test/util.test.js
+1
-1
compileruntime/worker_lib_standard/BUILD.gn
compileruntime/worker_lib_standard/BUILD.gn
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/app.js
...ileruntime/worker_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/pages/index/index.js
...ker_lib_standard/src/main/js/default/pages/index/index.js
+4
-5
compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.js
...r_lib_standard/src/main/js/default/pages/second/second.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker.js
...worker_lib_standard/src/main/js/default/workers/worker.js
+4
-5
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_002.js
...er_lib_standard/src/main/js/default/workers/worker_002.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_003.js
...er_lib_standard/src/main/js/default/workers/worker_003.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_004.js
...er_lib_standard/src/main/js/default/workers/worker_004.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_005.js
...er_lib_standard/src/main/js/default/workers/worker_005.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_006.js
...er_lib_standard/src/main/js/default/workers/worker_006.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_007.js
...er_lib_standard/src/main/js/default/workers/worker_007.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_008.js
...er_lib_standard/src/main/js/default/workers/worker_008.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_009.js
...er_lib_standard/src/main/js/default/workers/worker_009.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0091.js
...r_lib_standard/src/main/js/default/workers/worker_0091.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_010.js
...er_lib_standard/src/main/js/default/workers/worker_010.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0101.js
...r_lib_standard/src/main/js/default/workers/worker_0101.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_011.js
...er_lib_standard/src/main/js/default/workers/worker_011.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0111.js
...r_lib_standard/src/main/js/default/workers/worker_0111.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_012.js
...er_lib_standard/src/main/js/default/workers/worker_012.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0121.js
...r_lib_standard/src/main/js/default/workers/worker_0121.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0122.js
...r_lib_standard/src/main/js/default/workers/worker_0122.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_013.js
...er_lib_standard/src/main/js/default/workers/worker_013.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0131.js
...r_lib_standard/src/main/js/default/workers/worker_0131.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_014.js
...er_lib_standard/src/main/js/default/workers/worker_014.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0141.js
...r_lib_standard/src/main/js/default/workers/worker_0141.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_015.js
...er_lib_standard/src/main/js/default/workers/worker_015.js
+1
-1
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0151.js
...r_lib_standard/src/main/js/default/workers/worker_0151.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0152.js
...r_lib_standard/src/main/js/default/workers/worker_0152.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/test/List.test.js
...runtime/worker_lib_standard/src/main/js/test/List.test.js
+2
-2
compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js
...ntime/worker_lib_standard/src/main/js/test/Worker.test.js
+1
-1
compileruntime/xml_lib_standard/BUILD.gn
compileruntime/xml_lib_standard/BUILD.gn
+1
-1
compileruntime/xml_lib_standard/src/main/js/default/app.js
compileruntime/xml_lib_standard/src/main/js/default/app.js
+1
-1
compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js
...xml_lib_standard/src/main/js/default/pages/index/index.js
+3
-3
compileruntime/xml_lib_standard/src/main/js/test/List.test.js
...ileruntime/xml_lib_standard/src/main/js/test/List.test.js
+1
-1
compileruntime/xml_lib_standard/src/main/js/test/xml.test.js
compileruntime/xml_lib_standard/src/main/js/test/xml.test.js
+24
-24
未找到文件。
compileruntime/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/convertxml_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/convertxml_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -21,7 +20,7 @@ import {Core} from 'deccjsunit/index'
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
compileruntime/convertxml_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/convertxml_lib_standard/src/main/js/test/convertxml.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License')
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/process_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/process_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -21,7 +20,7 @@ import {Core} from 'deccjsunit/index'
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
compileruntime/process_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/uri_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/uri_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -21,7 +20,7 @@ import {Core} from 'deccjsunit/index'
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
compileruntime/uri_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/uri_lib_standard/src/main/js/test/uri.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License')
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/url_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/url_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -20,7 +20,7 @@ import {Core} from 'deccjsunit/index'
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
compileruntime/url_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/url_lib_standard/src/main/js/test/url.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License')
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/util_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/util_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -21,7 +20,7 @@ import {Core} from 'deccjsunit/index'
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
compileruntime/util_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/util_lib_standard/src/main/js/test/util.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License')
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -22,7 +21,7 @@ import {Core, Constant, ExpectExtend, ReportExtend, InstrumentLog} from 'deccjsu
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
@@ -36,11 +35,11 @@ export default {
},
onclick
:
function
()
{
router
.
replace
({
uri
:
"
pages/second/second
"
uri
:
'
pages/second/second
'
})
},
touchMove
(
e
)
{
if
(
e
.
direction
==
"
right
"
)
{
if
(
e
.
direction
==
=
'
right
'
)
{
this
.
appExit
();
}
},
...
...
compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -23,7 +23,7 @@ parentPort.onclose = function() {
}
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
console
.
info
(
"
worker:: worker thread worker data is
"
+
data
.
data
);
switch
(
data
.
type
)
{
case
"
normal
"
:
...
...
@@ -33,7 +33,6 @@ parentPort.onmessage = function(e) {
break
;
case
"
error
"
:
throw
new
Error
(
"
123
"
);
break
;
case
"
buffer
"
:
console
.
info
(
"
worker:: worker.js receive buffer length is
"
+
data
.
data
.
byteLength
);
parentPort
.
postMessage
(
data
,
[
data
.
data
]);
...
...
@@ -45,12 +44,12 @@ parentPort.onmessage = function(e) {
}
}
//
反序列错误
//
Deserialization error
parentPort
.
onmessageerror
=
function
()
{
console
.
info
(
"
worker:: worker.js onmessageerror
"
);
}
// js
执行异常
// js
execution error
parentPort
.
onerror
=
function
(
data
)
{
console
.
info
(
"
worker:: worker.js onerror
"
+
data
.
lineno
+
"
, msg =
"
+
data
.
message
+
"
, filename =
"
+
data
.
filename
+
"
, colno =
"
+
data
.
colno
);
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_002.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -18,6 +18,6 @@ const parentPort = worker.parentPort;
parentPort
.
onmessage
=
function
(
e
)
{
console
.
log
(
"
worker:: worker receive data
"
+
e
.
data
);
var
data
=
e
.
data
+
"
worker
"
;
let
data
=
e
.
data
+
"
worker
"
;
parentPort
.
postMessage
(
data
)
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_003.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -17,6 +17,6 @@ import worker from '@ohos.worker';
const
parentPort
=
worker
.
parentPort
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
*
2
+
1
let
data
=
e
.
data
*
2
+
1
parentPort
.
postMessage
(
data
)
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_004.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -17,7 +17,7 @@ import worker from '@ohos.worker';
const
parentPort
=
worker
.
parentPort
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
data
.
message
=
"
hello world
"
+
"
worker
"
parentPort
.
postMessage
(
data
)
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_005.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_006.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_007.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_008.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_009.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -19,7 +19,7 @@ const parentPort = worker.parentPort;
var
ss
=
undefined
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0091.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0091.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_010.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -21,7 +21,7 @@ var backValue = undefined;
var
flag
=
false
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0101.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0101.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -17,6 +17,6 @@ import worker from "@ohos.worker"
const
parentPort
=
worker
.
parentPort
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
// 12
let
data
=
e
.
data
;
// 12
parentPort
.
postMessage
(
data
*
2
+
1
);
// 25
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_011.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -21,7 +21,7 @@ var backValue = undefined;
var
flag
=
false
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0111.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0111.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_012.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -21,7 +21,7 @@ var backValue = undefined;
var
flag
=
false
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0121.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0121.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -21,7 +21,7 @@ var backValue = undefined;
var
flag
=
false
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0122.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0122.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_013.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0131.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -17,6 +17,6 @@ import worker from "@ohos.worker"
const
parentPort
=
worker
.
parentPort
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
// hello world
let
data
=
e
.
data
;
// hello world
parentPort
.
postMessage
(
data
+
"
worker
"
);
// hello world worker
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_014.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -21,7 +21,7 @@ var backValue = undefined;
var
flag
=
false
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0141.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0141.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -17,7 +17,7 @@ import worker from "@ohos.worker"
const
parentPort
=
worker
.
parentPort
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
data
[
0
]
+=
1
parentPort
.
postMessage
(
data
);
// [2, 2]
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_015.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0151.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -21,7 +21,7 @@ var backValue = undefined;
var
flag
=
false
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
switch
(
data
.
type
)
{
case
"
new
"
:
ss
=
new
worker
.
Worker
(
"
workers/worker_0152.js
"
);
...
...
compileruntime/worker_lib_standard/src/main/js/default/workers/worker_0152.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -17,6 +17,6 @@ import worker from "@ohos.worker"
const
parentPort
=
worker
.
parentPort
;
parentPort
.
onmessage
=
function
(
e
)
{
var
data
=
e
.
data
;
let
data
=
e
.
data
;
parentPort
.
postMessage
(
data
+
3
);
// 16
}
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -13,4 +13,4 @@
* limitations under the License.
*/
require
(
"
./Worker.test.js
"
)
\ No newline at end of file
require
(
'
./Worker.test.js
'
)
\ No newline at end of file
compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License')
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/xml_lib_standard/BUILD.gn
浏览文件 @
d883fa2f
# Copyright (C) 202
1
Huawei Device Co., Ltd.
# Copyright (C) 202
2
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
compileruntime/xml_lib_standard/src/main/js/default/app.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
...
...
@@ -21,7 +21,7 @@ import {Core} from 'deccjsunit/index'
export
default
{
data
:
{
title
:
""
title
:
''
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
...
...
compileruntime/xml_lib_standard/src/main/js/test/List.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
compileruntime/xml_lib_standard/src/main/js/test/xml.test.js
浏览文件 @
d883fa2f
/*
* Copyright (C) 202
1
Huawei Device Co., Ltd.
* Copyright (C) 202
2
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -113,7 +113,7 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement001
* @tc.desc: Writes a elemnet start tag with the given name.
* @tc.desc: Writes a
n
elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
...
...
@@ -134,7 +134,7 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement002
* @tc.desc: Writes a elemnet start tag with the given name.
* @tc.desc: Writes a
n
elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
...
...
@@ -157,7 +157,7 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement003
* @tc.desc: Writes a elemnet start tag with the given name.
* @tc.desc: Writes a
n
elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
...
...
@@ -180,7 +180,7 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement004
* @tc.desc: Writes a elemnet start tag with the given name.
* @tc.desc: Writes a
n
elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
...
...
@@ -205,7 +205,7 @@ describe('XmlSerializerXmlPullParserTest', function () {
/**
* @tc.name: testStartElement005
* @tc.desc: Writes a elemnet start tag with the given name.
* @tc.desc: Writes a
n
elemnet start tag with the given name.
* @tc.require: AR000GGRB8
* @tc.author: lihucheng
*/
...
...
@@ -1136,8 +1136,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
<company>John & Hans</company>
'
+
'
<title>Happy</title>
'
+
'
<title>Happy</title>
'
+
'
<
todo>Work</todo
>
'
+
'
<
todo>Play</todo
>
'
+
'
<
lens>Work</lens
>
'
+
'
<
lens>Play</lens
>
'
+
'
<?go there?>
'
+
'
<a><b/></a>
'
+
'
<h:table xmlns:h="http://www.w3.org/TR/html4/">
'
+
...
...
@@ -1175,8 +1175,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
falsefalsekey:925170amp;amp;falsetruekey:425670 Hansfalsefalsekey:326670companyfalsetruekey:1017070
'
+
'
falsetruekey:227770titlefalsetruekey:428270 Happyfalsefalsekey:329070titlefalsetruekey:1019470
'
+
'
falsetruekey:2210170titlefalsetruekey:4210670 Happyfalsefalsekey:3211470titlefalsetruekey:10111870
'
+
'
falsetruekey:2212470
todofalsetruekey:4212870 Workfalsefalsekey:3213570todo
falsetruekey:10113970
'
+
'
falsetruekey:2214570
todofalsetruekey:4214970 Playfalsefalsekey:3215670todo
falsetruekey:10116070
'
+
'
falsetruekey:2212470
lensfalsetruekey:4212870 Workfalsefalsekey:3213570lens
falsetruekey:10113970
'
+
'
falsetruekey:2214570
lensfalsetruekey:4214970 Playfalsefalsekey:3215670lens
falsetruekey:10116070
'
+
'
falsetruekey:8117270go therefalsetruekey:10117670 falsetruekey:2217970afalsetruekey:
'
+
'
2318370btruetruekey:3318370bfalsetruekey:3218770afalsetruekey:10119170 falsetruekey:2223870table
'
+
'
http://www.w3.org/TR/html4/hfalsefalsekey:10224670
'
+
...
...
@@ -1206,8 +1206,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
<company>John & Hans</company>
'
+
'
<title>Happy</title>
'
+
'
<title>Happy</title>
'
+
'
<
todo>Work</todo
>
'
+
'
<
todo>Play</todo
>
'
+
'
<
lens>Work</lens
>
'
+
'
<
lens>Play</lens
>
'
+
'
<?go there?>
'
+
'
<a><b/></a>
'
+
'
<h:table xmlns:h="http://www.w3.org/TR/html4/">
'
+
...
...
@@ -1245,8 +1245,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
John falsefalsekey:925170amp;amp;falsetruekey:425670 Hansfalsefalsekey:326670companyfalsetruekey:1017070
'
+
'
falsetruekey:227770titlefalsetruekey:428270 Happyfalsefalsekey:329070titlefalsetruekey:1019470
'
+
'
falsetruekey:2210170titlefalsetruekey:4210670 Happyfalsefalsekey:3211470titlefalsetruekey:10111870
'
+
'
falsetruekey:2212470
todofalsetruekey:4212870 Workfalsefalsekey:3213570todo
falsetruekey:10113970
'
+
'
falsetruekey:2214570
todofalsetruekey:4214970 Playfalsefalsekey:3215670todo
falsetruekey:10116070
'
+
'
falsetruekey:2212470
lensfalsetruekey:4212870 Workfalsefalsekey:3213570lens
falsetruekey:10113970
'
+
'
falsetruekey:2214570
lensfalsetruekey:4214970 Playfalsefalsekey:3215670lens
falsetruekey:10116070
'
+
'
falsetruekey:8117270go therefalsetruekey:10117670 falsetruekey:2217970afalsetruekey:
'
+
'
2318370btruetruekey:3318370bfalsetruekey:3218770afalsetruekey:10119170 falsetruekey:
'
+
'
2223871h:tablefalsefalsekey:10224670 falsetruekey:2325270h:trfalsetruekey:10326470
'
+
...
...
@@ -1273,8 +1273,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
<company>John & Hans</company>
'
+
'
<title>Happy</title>
'
+
'
<title>Happy</title>
'
+
'
<
todo>Work</todo
>
'
+
'
<
todo>Play</todo
>
'
+
'
<
lens>Work</lens
>
'
+
'
<
lens>Play</lens
>
'
+
'
<?go there?>
'
+
'
<a><b/></a>
'
+
'
<h:table xmlns:h="http://www.w3.org/TR/html4/">
'
+
...
...
@@ -1311,9 +1311,9 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
:1013270 falsetruekey:224170companyfalsetruekey:424670 John falsefalsekey:925170amp;amp;falsetruekey
'
+
'
:425670 Hansfalsefalsekey:326670companyfalsetruekey:1017070 falsetruekey:227770titlefalsetruekey:428
'
+
'
270 Happyfalsefalsekey:329070titlefalsetruekey:1019470 falsetruekey:2210170titlefalsetruekey:4210670
'
+
'
Happyfalsefalsekey:3211470titlefalsetruekey:10111870 falsetruekey:2212470
todo
falsetruekey:4212870
'
+
'
Workfalsefalsekey:3213570
todofalsetruekey:10113970 falsetruekey:2214570todo
falsetruekey:4214970
'
+
'
Playfalsefalsekey:3215670
todo
falsetruekey:10116070 falsetruekey:8117270go therefalsetruekey
'
+
'
Happyfalsefalsekey:3211470titlefalsetruekey:10111870 falsetruekey:2212470
lens
falsetruekey:4212870
'
+
'
Workfalsefalsekey:3213570
lensfalsetruekey:10113970 falsetruekey:2214570lens
falsetruekey:4214970
'
+
'
Playfalsefalsekey:3215670
lens
falsetruekey:10116070 falsetruekey:8117270go therefalsetruekey
'
+
'
:10117670 falsetruekey:2217970afalsetruekey:2318370btruetruekey:3318370bfalsetruekey
'
+
'
:3218770afalsetruekey:10119170 falsetruekey:2223871h:tablefalsefalsekey:10224670
'
+
'
falsetruekey:2325270h:trfalsetruekey:10326470 falsetruekey:
'
+
...
...
@@ -1341,8 +1341,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
<company>John & Hans</company>
'
+
'
<title>Happy</title>
'
+
'
<title>Happy</title>
'
+
'
<
todo>Work</todo
>
'
+
'
<
todo>Play</todo
>
'
+
'
<
lens>Work</lens
>
'
+
'
<
lens>Play</lens
>
'
+
'
<?go there?>
'
+
'
<a><b/></a>
'
+
'
<h:table xmlns:h="http://www.w3.org/TR/html4/">
'
+
...
...
@@ -1386,8 +1386,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
'
<company>John & Hans</company>
'
+
'
<title>Happy</title>
'
+
'
<title>Happy</title>
'
+
'
<
todo>Work</todo
>
'
+
'
<
todo>Play</todo
>
'
+
'
<
lens>Work</lens
>
'
+
'
<
lens>Play</lens
>
'
+
'
<?go there?>
'
+
'
<a><b/></a>
'
+
'
<h:table xmlns:h="http://www.w3.org/TR/html4/">
'
+
...
...
@@ -1411,7 +1411,7 @@ describe('XmlSerializerXmlPullParserTest', function () {
}
var
options
=
{
supportDoctype
:
true
,
ignoreNameSpace
:
true
,
tagValueCallbackFunction
:
func1
}
that
.
parse
(
options
);
var
str3
=
'
note:company:title:title:
todo:todo
:a:b:h:table:h:tr:h:td:h:td:
'
var
str3
=
'
note:company:title:title:
lens:lens
:a:b:h:table:h:tr:h:td:h:td:
'
expect
(
str1
).
assertEqual
(
str3
)
})
})
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录