Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
62fe177b
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
11 个月 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
62fe177b
编写于
2月 22, 2022
作者:
S
shikai-123
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Modify test suite cannot test
上级
ee9149d0
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
6 addition
and
58 deletion
+6
-58
compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js
...xml_lib_standard/src/main/js/default/pages/index/index.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
+1
-1
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
...ime/process_lib_standard/src/main/js/test/Process.test.js
+0
-52
compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js
...uri_lib_standard/src/main/js/default/pages/index/index.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
+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
+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
+1
-1
未找到文件。
compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
62fe177b
...
@@ -17,7 +17,7 @@ import file from '@system.file'
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
export
default
{
data
:
{
data
:
{
...
...
compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
62fe177b
...
@@ -17,7 +17,7 @@ import file from '@system.file'
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
export
default
{
data
:
{
data
:
{
...
...
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
浏览文件 @
62fe177b
...
@@ -2287,58 +2287,6 @@ describe('ChildProcessTest', function () {
...
@@ -2287,58 +2287,6 @@ describe('ChildProcessTest', function () {
expect
(
Boolean
(
flag
)).
assertEqual
(
true
)
expect
(
Boolean
(
flag
)).
assertEqual
(
true
)
})
})
/**
* @tc.name: testGetAvailableCores001
* @tc.desc: Returns cpu cores available for the current process on a multi-core device.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
it
(
'
testGetAvailableCores001
'
,
0
,
function
()
{
var
pri
=
process
.
getAvailableCores
()
if
(
pri
!=
null
)
{
var
flag
=
new
Boolean
(
true
)
}
expect
(
Boolean
(
flag
)).
assertEqual
(
true
)
})
/**
* @tc.name: testGetAvailableCores002
* @tc.desc: Returns cpu cores available for the current process on a multi-core device.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
it
(
'
testGetAvailableCores002
'
,
0
,
function
()
{
for
(
var
i
=
0
;
i
<
10
;
i
++
)
{
var
pri
=
process
.
getAvailableCores
()
if
(
pri
!=
0
)
{
var
flag
=
new
Boolean
(
true
)
}
expect
(
Boolean
(
flag
)).
assertEqual
(
true
)
}
})
/**
* @tc.name: testGetAvailableCores003
* @tc.desc: Returns cpu cores available for the current process on a multi-core device.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
it
(
'
testGetAvailableCores003
'
,
0
,
function
()
{
for
(
var
i
=
0
;
i
<
100
;
i
++
)
{
var
pri
=
process
.
getAvailableCores
()
if
(
pri
!=
0
)
{
var
flag
=
new
Boolean
(
true
)
}
expect
(
Boolean
(
flag
)).
assertEqual
(
true
)
}
})
/**
/**
* @tc.name: testGetEnvironmentVar001
* @tc.name: testGetEnvironmentVar001
* @tc.desc: Returns the system value for environment variables.
* @tc.desc: Returns the system value for environment variables.
...
...
compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
62fe177b
...
@@ -17,7 +17,7 @@ import file from '@system.file'
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
export
default
{
data
:
{
data
:
{
...
...
compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
62fe177b
...
@@ -16,7 +16,7 @@ import file from '@system.file'
...
@@ -16,7 +16,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
export
default
{
data
:
{
data
:
{
...
...
compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
62fe177b
...
@@ -17,7 +17,7 @@ import file from '@system.file'
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
export
default
{
data
:
{
data
:
{
...
...
compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
62fe177b
...
@@ -17,7 +17,7 @@ import file from '@system.file'
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
export
default
{
data
:
{
data
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录