Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c0e1bbed
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看板
未验证
提交
c0e1bbed
编写于
2月 22, 2022
作者:
O
openharmony_ci
提交者:
Gitee
2月 22, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2024 Modify test suite cannot test
Merge pull request !2024 from 史凯/master
上级
5863093a
9dfc483f
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
66 addition
and
118 deletion
+66
-118
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/util_lib_standard/src/main/js/test/ExampleJsunit.test.js
.../util_lib_standard/src/main/js/test/ExampleJsunit.test.js
+1
-1
compileruntime/util_lib_standard/src/main/js/test/List.test.js
...leruntime/util_lib_standard/src/main/js/test/List.test.js
+14
-14
compileruntime/util_lib_standard/src/main/js/test/util.test.js
...leruntime/util_lib_standard/src/main/js/test/util.test.js
+45
-45
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
浏览文件 @
c0e1bbed
...
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
data
:
{
...
...
compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
c0e1bbed
...
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
data
:
{
...
...
compileruntime/process_lib_standard/src/main/js/test/Process.test.js
浏览文件 @
c0e1bbed
...
...
@@ -2287,58 +2287,6 @@ describe('ChildProcessTest', function () {
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.desc: Returns the system value for environment variables.
...
...
compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
c0e1bbed
...
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
data
:
{
...
...
compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
c0e1bbed
...
...
@@ -16,7 +16,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
data
:
{
...
...
compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
c0e1bbed
...
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
data
:
{
...
...
compileruntime/util_lib_standard/src/main/js/test/ExampleJsunit.test.js
浏览文件 @
c0e1bbed
...
...
@@ -14,7 +14,7 @@
*/
import
app
from
'
@system.app
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/
lite
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/
index
'
describe
(
'
appInfoTest
'
,
function
()
{
it
(
'
app_info_test_001
'
,
0
,
function
()
{
...
...
compileruntime/util_lib_standard/src/main/js/test/List.test.js
浏览文件 @
c0e1bbed
...
...
@@ -15,17 +15,17 @@
require
(
'
./ExampleJsunit.test.js
'
);
require
(
'
./util.test.js
'
);
require
(
'
./Deque.test.js
'
);
require
(
'
./ArrayList.test.js
'
);
require
(
'
./Queue.test.js
'
);
require
(
'
./Stack.test.js
'
);
require
(
'
./ContainerList.test.js
'
);
require
(
'
./LinkedList.test.js
'
);
require
(
'
./Vector.test.js
'
);
require
(
'
./LightWeightMap.test.js
'
);
require
(
'
./LightWeightSet.test.js
'
);
require
(
'
./HashMap.test.js
'
);
require
(
'
./HashSet.test.js
'
);
require
(
'
./PlainArray.test.js
'
);
require
(
'
./TreeMap.test.js
'
);
require
(
'
./TreeSet.test.js
'
);
//
require('./Deque.test.js');
//
require('./ArrayList.test.js');
//
require('./Queue.test.js');
//
require('./Stack.test.js');
//
require('./ContainerList.test.js');
//
require('./LinkedList.test.js');
//
require('./Vector.test.js');
//
require('./LightWeightMap.test.js');
//
require('./LightWeightSet.test.js');
//
require('./HashMap.test.js');
//
require('./HashSet.test.js');
//
require('./PlainArray.test.js');
//
require('./TreeMap.test.js');
//
require('./TreeSet.test.js');
compileruntime/util_lib_standard/src/main/js/test/util.test.js
浏览文件 @
c0e1bbed
...
...
@@ -968,7 +968,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetLower001
'
,
0
,
function
()
{
var
result
=
range
.
getLower
()
expect
(
result
).
assertEqual
(
30
)
expect
(
result
.
toString
()).
assertEqual
(
'
30
'
)
})
/**
...
...
@@ -979,7 +979,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetLower002
'
,
0
,
function
()
{
var
result
=
rangeFir
.
getLower
()
expect
(
result
).
assertEqual
(
35
)
expect
(
result
.
toString
()).
assertEqual
(
'
35
'
)
})
/**
...
...
@@ -990,7 +990,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetLower003
'
,
0
,
function
()
{
var
result
=
rangeSec
.
getLower
()
expect
(
result
).
assertEqual
(
20
)
expect
(
result
.
toString
()).
assertEqual
(
'
20
'
)
})
/**
...
...
@@ -1001,7 +1001,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetLower004
'
,
0
,
function
()
{
var
result
=
rangeThi
.
getLower
()
expect
(
result
).
assertEqual
(
20
)
expect
(
result
.
toString
()).
assertEqual
(
'
20
'
)
})
/**
...
...
@@ -1012,7 +1012,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetLower005
'
,
0
,
function
()
{
var
result
=
rangeFif
.
getLower
()
expect
(
result
).
assertEqual
(
35
)
expect
(
result
.
toString
()).
assertEqual
(
'
35
'
)
})
/**
...
...
@@ -1023,7 +1023,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetUpper001
'
,
0
,
function
()
{
var
result
=
range
.
getUpper
()
expect
(
result
).
assertEqual
(
40
)
expect
(
result
.
toString
()).
assertEqual
(
'
40
'
)
})
/**
...
...
@@ -1034,7 +1034,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetUpper002
'
,
0
,
function
()
{
var
result
=
rangeFir
.
getUpper
()
expect
(
result
).
assertEqual
(
39
)
expect
(
result
.
toString
()).
assertEqual
(
'
39
'
)
})
/**
...
...
@@ -1045,7 +1045,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetUpper003
'
,
0
,
function
()
{
var
result
=
rangeSec
.
getUpper
()
expect
(
result
).
assertEqual
(
45
)
expect
(
result
.
toString
()).
assertEqual
(
'
45
'
)
})
/**
...
...
@@ -1056,7 +1056,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetUpper004
'
,
0
,
function
()
{
var
result
=
rangeThi
.
getUpper
()
expect
(
result
).
assertEqual
(
35
)
expect
(
result
.
toString
()).
assertEqual
(
'
35
'
)
})
/**
...
...
@@ -1067,7 +1067,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testGetUpper005
'
,
0
,
function
()
{
var
result
=
rangeFif
.
getUpper
()
expect
(
result
).
assertEqual
(
45
)
expect
(
result
.
toString
()).
assertEqual
(
'
45
'
)
})
/**
...
...
@@ -1078,7 +1078,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testClamp001
'
,
0
,
function
()
{
var
result
=
range
.
clamp
(
tempLess
)
expect
(
result
).
assertEqual
(
30
)
expect
(
result
.
toString
()).
assertEqual
(
'
30
'
)
})
/**
...
...
@@ -1089,7 +1089,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testClamp002
'
,
0
,
function
()
{
var
result
=
range
.
clamp
(
tempMiDF
)
expect
(
result
).
assertEqual
(
35
)
expect
(
result
.
toString
()).
assertEqual
(
'
35
'
)
})
/**
...
...
@@ -1100,7 +1100,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testClamp003
'
,
0
,
function
()
{
var
result
=
range
.
clamp
(
tempMore
)
expect
(
result
).
assertEqual
(
40
)
expect
(
result
.
toString
()).
assertEqual
(
'
40
'
)
})
/**
...
...
@@ -1111,7 +1111,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testClamp004
'
,
0
,
function
()
{
var
result
=
range
.
clamp
(
tempLower
)
expect
(
result
).
assertEqual
(
30
)
expect
(
result
.
toString
()).
assertEqual
(
'
30
'
)
})
/**
...
...
@@ -1122,7 +1122,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testClamp005
'
,
0
,
function
()
{
var
result
=
range
.
clamp
(
tempUpper
)
expect
(
result
).
assertEqual
(
40
)
expect
(
result
.
toString
()).
assertEqual
(
'
40
'
)
})
/**
...
...
@@ -1243,7 +1243,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand001
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempMiDF
,
tempMidS
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1254,7 +1254,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand002
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempLess
,
tempMore
)
expect
(
result
).
assertEqual
(
'
[20, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 45]
'
)
})
/**
...
...
@@ -1265,7 +1265,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand003
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempLess
,
tempMiDF
)
expect
(
result
).
assertEqual
(
'
[20, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 40]
'
)
})
/**
...
...
@@ -1276,7 +1276,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand004
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempMiDF
,
tempMore
)
expect
(
result
).
assertEqual
(
'
[30, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 45]
'
)
})
/**
...
...
@@ -1287,7 +1287,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand005
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempLower
,
tempUpper
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1298,7 +1298,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand001
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
rangeFir
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1309,7 +1309,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand002
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
rangeSec
)
expect
(
result
).
assertEqual
(
'
[20, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 45]
'
)
})
/**
...
...
@@ -1320,7 +1320,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand003
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
rangeThi
)
expect
(
result
).
assertEqual
(
'
[20, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 40]
'
)
})
/**
...
...
@@ -1331,7 +1331,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand004
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
rangeFif
)
expect
(
result
).
assertEqual
(
'
[30, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 45]
'
)
})
/**
...
...
@@ -1342,7 +1342,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand005
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
range
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1353,7 +1353,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand001
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempMiDF
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1364,7 +1364,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand002
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempLess
)
expect
(
result
).
assertEqual
(
'
[20, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 40]
'
)
})
/**
...
...
@@ -1375,7 +1375,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand003
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempMore
)
expect
(
result
).
assertEqual
(
'
[30, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 45]
'
)
})
/**
...
...
@@ -1386,7 +1386,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand004
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempLower
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1397,7 +1397,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testExpand005
'
,
0
,
function
()
{
var
result
=
range
.
expand
(
tempUpper
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1408,7 +1408,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect001
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
rangeFir
)
expect
(
result
).
assertEqual
(
'
[35, 39]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[35, 39]
'
)
})
/**
...
...
@@ -1419,7 +1419,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect002
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
rangeSec
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1430,7 +1430,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect003
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
rangeThi
)
expect
(
result
).
assertEqual
(
'
[30, 35]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 35]
'
)
})
/**
...
...
@@ -1441,7 +1441,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect004
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
rangeFif
)
expect
(
result
).
assertEqual
(
'
[35, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[35, 40]
'
)
})
/**
...
...
@@ -1452,7 +1452,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect005
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
range
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1464,7 +1464,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect001
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
tempMiDF
,
tempMidS
)
expect
(
result
).
assertEqual
(
'
[35, 39]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[35, 39]
'
)
})
/**
...
...
@@ -1476,7 +1476,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect002
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
tempLess
,
tempMore
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1488,7 +1488,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect003
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
tempLess
,
tempMiDF
)
expect
(
result
).
assertEqual
(
'
[30, 35]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 35]
'
)
})
/**
...
...
@@ -1500,7 +1500,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect004
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
tempMiDF
,
tempMore
)
expect
(
result
).
assertEqual
(
'
[35, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[35, 40]
'
)
})
/**
...
...
@@ -1512,7 +1512,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testInstersect005
'
,
0
,
function
()
{
var
result
=
range
.
intersect
(
tempLower
,
tempUpper
)
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1523,7 +1523,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testToString001
'
,
0
,
function
()
{
var
result
=
range
.
toString
()
expect
(
result
).
assertEqual
(
'
[30, 40]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[30, 40]
'
)
})
/**
...
...
@@ -1534,7 +1534,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testToString002
'
,
0
,
function
()
{
var
result
=
rangeFir
.
toString
()
expect
(
result
).
assertEqual
(
'
[35, 39]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[35, 39]
'
)
})
/**
...
...
@@ -1545,7 +1545,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testToString003
'
,
0
,
function
()
{
var
result
=
rangeSec
.
toString
()
expect
(
result
).
assertEqual
(
'
[20, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 45]
'
)
})
/**
...
...
@@ -1556,7 +1556,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testToString004
'
,
0
,
function
()
{
var
result
=
rangeThi
.
toString
()
expect
(
result
).
assertEqual
(
'
[20, 35]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[20, 35]
'
)
})
/**
...
...
@@ -1567,7 +1567,7 @@ describe('ScopeTest', function () {
*/
it
(
'
testToString005
'
,
0
,
function
()
{
var
result
=
rangeFif
.
toString
()
expect
(
result
).
assertEqual
(
'
[35, 45]
'
)
expect
(
result
.
toString
()
).
assertEqual
(
'
[35, 45]
'
)
})
})
...
...
compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js
浏览文件 @
c0e1bbed
...
...
@@ -17,7 +17,7 @@ import file from '@system.file'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
}
from
'
deccjsunit/
lite
'
import
{
Core
}
from
'
deccjsunit/
index
'
export
default
{
data
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录