未验证 提交 c0e1bbed 编写于 作者: O openharmony_ci 提交者: Gitee

!2024 Modify test suite cannot test

Merge pull request !2024 from 史凯/master
...@@ -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: {
......
...@@ -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: {
......
...@@ -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.
......
...@@ -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: {
......
...@@ -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: {
......
...@@ -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: {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
*/ */
import app from '@system.app' 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 () { describe('appInfoTest', function () {
it('app_info_test_001', 0, function () { it('app_info_test_001', 0, function () {
......
...@@ -15,17 +15,17 @@ ...@@ -15,17 +15,17 @@
require('./ExampleJsunit.test.js'); require('./ExampleJsunit.test.js');
require('./util.test.js'); require('./util.test.js');
require('./Deque.test.js'); // require('./Deque.test.js');
require('./ArrayList.test.js'); // require('./ArrayList.test.js');
require('./Queue.test.js'); // require('./Queue.test.js');
require('./Stack.test.js'); // require('./Stack.test.js');
require('./ContainerList.test.js'); // require('./ContainerList.test.js');
require('./LinkedList.test.js'); // require('./LinkedList.test.js');
require('./Vector.test.js'); // require('./Vector.test.js');
require('./LightWeightMap.test.js'); // require('./LightWeightMap.test.js');
require('./LightWeightSet.test.js'); // require('./LightWeightSet.test.js');
require('./HashMap.test.js'); // require('./HashMap.test.js');
require('./HashSet.test.js'); // require('./HashSet.test.js');
require('./PlainArray.test.js'); // require('./PlainArray.test.js');
require('./TreeMap.test.js'); // require('./TreeMap.test.js');
require('./TreeSet.test.js'); // require('./TreeSet.test.js');
...@@ -968,7 +968,7 @@ describe('ScopeTest', function () { ...@@ -968,7 +968,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetLower001', 0, function () { it('testGetLower001', 0, function () {
var result = range.getLower() var result = range.getLower()
expect(result).assertEqual(30) expect(result.toString()).assertEqual('30')
}) })
/** /**
...@@ -979,7 +979,7 @@ describe('ScopeTest', function () { ...@@ -979,7 +979,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetLower002', 0, function () { it('testGetLower002', 0, function () {
var result = rangeFir.getLower() var result = rangeFir.getLower()
expect(result).assertEqual(35) expect(result.toString()).assertEqual('35')
}) })
/** /**
...@@ -990,7 +990,7 @@ describe('ScopeTest', function () { ...@@ -990,7 +990,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetLower003', 0, function () { it('testGetLower003', 0, function () {
var result = rangeSec.getLower() var result = rangeSec.getLower()
expect(result).assertEqual(20) expect(result.toString()).assertEqual('20')
}) })
/** /**
...@@ -1001,7 +1001,7 @@ describe('ScopeTest', function () { ...@@ -1001,7 +1001,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetLower004', 0, function () { it('testGetLower004', 0, function () {
var result = rangeThi.getLower() var result = rangeThi.getLower()
expect(result).assertEqual(20) expect(result.toString()).assertEqual('20')
}) })
/** /**
...@@ -1012,7 +1012,7 @@ describe('ScopeTest', function () { ...@@ -1012,7 +1012,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetLower005', 0, function () { it('testGetLower005', 0, function () {
var result = rangeFif.getLower() var result = rangeFif.getLower()
expect(result).assertEqual(35) expect(result.toString()).assertEqual('35')
}) })
/** /**
...@@ -1023,7 +1023,7 @@ describe('ScopeTest', function () { ...@@ -1023,7 +1023,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetUpper001', 0, function () { it('testGetUpper001', 0, function () {
var result = range.getUpper() var result = range.getUpper()
expect(result).assertEqual(40) expect(result.toString()).assertEqual('40')
}) })
/** /**
...@@ -1034,7 +1034,7 @@ describe('ScopeTest', function () { ...@@ -1034,7 +1034,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetUpper002', 0, function () { it('testGetUpper002', 0, function () {
var result = rangeFir.getUpper() var result = rangeFir.getUpper()
expect(result).assertEqual(39) expect(result.toString()).assertEqual('39')
}) })
/** /**
...@@ -1045,7 +1045,7 @@ describe('ScopeTest', function () { ...@@ -1045,7 +1045,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetUpper003', 0, function () { it('testGetUpper003', 0, function () {
var result = rangeSec.getUpper() var result = rangeSec.getUpper()
expect(result).assertEqual(45) expect(result.toString()).assertEqual('45')
}) })
/** /**
...@@ -1056,7 +1056,7 @@ describe('ScopeTest', function () { ...@@ -1056,7 +1056,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetUpper004', 0, function () { it('testGetUpper004', 0, function () {
var result = rangeThi.getUpper() var result = rangeThi.getUpper()
expect(result).assertEqual(35) expect(result.toString()).assertEqual('35')
}) })
/** /**
...@@ -1067,7 +1067,7 @@ describe('ScopeTest', function () { ...@@ -1067,7 +1067,7 @@ describe('ScopeTest', function () {
*/ */
it('testGetUpper005', 0, function () { it('testGetUpper005', 0, function () {
var result = rangeFif.getUpper() var result = rangeFif.getUpper()
expect(result).assertEqual(45) expect(result.toString()).assertEqual('45')
}) })
/** /**
...@@ -1078,7 +1078,7 @@ describe('ScopeTest', function () { ...@@ -1078,7 +1078,7 @@ describe('ScopeTest', function () {
*/ */
it('testClamp001', 0, function () { it('testClamp001', 0, function () {
var result =range.clamp(tempLess) var result =range.clamp(tempLess)
expect(result).assertEqual(30) expect(result.toString()).assertEqual('30')
}) })
/** /**
...@@ -1089,7 +1089,7 @@ describe('ScopeTest', function () { ...@@ -1089,7 +1089,7 @@ describe('ScopeTest', function () {
*/ */
it('testClamp002', 0, function () { it('testClamp002', 0, function () {
var result =range.clamp(tempMiDF) var result =range.clamp(tempMiDF)
expect(result).assertEqual(35) expect(result.toString()).assertEqual('35')
}) })
/** /**
...@@ -1100,7 +1100,7 @@ describe('ScopeTest', function () { ...@@ -1100,7 +1100,7 @@ describe('ScopeTest', function () {
*/ */
it('testClamp003', 0, function () { it('testClamp003', 0, function () {
var result =range.clamp(tempMore) var result =range.clamp(tempMore)
expect(result).assertEqual(40) expect(result.toString()).assertEqual('40')
}) })
/** /**
...@@ -1111,7 +1111,7 @@ describe('ScopeTest', function () { ...@@ -1111,7 +1111,7 @@ describe('ScopeTest', function () {
*/ */
it('testClamp004', 0, function () { it('testClamp004', 0, function () {
var result =range.clamp(tempLower) var result =range.clamp(tempLower)
expect(result).assertEqual(30) expect(result.toString()).assertEqual('30')
}) })
/** /**
...@@ -1122,7 +1122,7 @@ describe('ScopeTest', function () { ...@@ -1122,7 +1122,7 @@ describe('ScopeTest', function () {
*/ */
it('testClamp005', 0, function () { it('testClamp005', 0, function () {
var result =range.clamp(tempUpper) var result =range.clamp(tempUpper)
expect(result).assertEqual(40) expect(result.toString()).assertEqual('40')
}) })
/** /**
...@@ -1243,7 +1243,7 @@ describe('ScopeTest', function () { ...@@ -1243,7 +1243,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand001', 0, function () { it('testExpand001', 0, function () {
var result = range.expand(tempMiDF, tempMidS) var result = range.expand(tempMiDF, tempMidS)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1254,7 +1254,7 @@ describe('ScopeTest', function () { ...@@ -1254,7 +1254,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand002', 0, function () { it('testExpand002', 0, function () {
var result = range.expand(tempLess, tempMore) var result = range.expand(tempLess, tempMore)
expect(result).assertEqual('[20, 45]') expect(result.toString()).assertEqual('[20, 45]')
}) })
/** /**
...@@ -1265,7 +1265,7 @@ describe('ScopeTest', function () { ...@@ -1265,7 +1265,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand003', 0, function () { it('testExpand003', 0, function () {
var result = range.expand(tempLess, tempMiDF) var result = range.expand(tempLess, tempMiDF)
expect(result).assertEqual('[20, 40]') expect(result.toString()).assertEqual('[20, 40]')
}) })
/** /**
...@@ -1276,7 +1276,7 @@ describe('ScopeTest', function () { ...@@ -1276,7 +1276,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand004', 0, function () { it('testExpand004', 0, function () {
var result = range.expand(tempMiDF, tempMore) var result = range.expand(tempMiDF, tempMore)
expect(result).assertEqual('[30, 45]') expect(result.toString()).assertEqual('[30, 45]')
}) })
/** /**
...@@ -1287,7 +1287,7 @@ describe('ScopeTest', function () { ...@@ -1287,7 +1287,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand005', 0, function () { it('testExpand005', 0, function () {
var result = range.expand(tempLower, tempUpper) var result = range.expand(tempLower, tempUpper)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1298,7 +1298,7 @@ describe('ScopeTest', function () { ...@@ -1298,7 +1298,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand001', 0, function () { it('testExpand001', 0, function () {
var result = range.expand(rangeFir) var result = range.expand(rangeFir)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1309,7 +1309,7 @@ describe('ScopeTest', function () { ...@@ -1309,7 +1309,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand002', 0, function () { it('testExpand002', 0, function () {
var result = range.expand(rangeSec) var result = range.expand(rangeSec)
expect(result).assertEqual('[20, 45]') expect(result.toString()).assertEqual('[20, 45]')
}) })
/** /**
...@@ -1320,7 +1320,7 @@ describe('ScopeTest', function () { ...@@ -1320,7 +1320,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand003', 0, function () { it('testExpand003', 0, function () {
var result = range.expand(rangeThi) var result = range.expand(rangeThi)
expect(result).assertEqual('[20, 40]') expect(result.toString()).assertEqual('[20, 40]')
}) })
/** /**
...@@ -1331,7 +1331,7 @@ describe('ScopeTest', function () { ...@@ -1331,7 +1331,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand004', 0, function () { it('testExpand004', 0, function () {
var result = range.expand(rangeFif) var result = range.expand(rangeFif)
expect(result).assertEqual('[30, 45]') expect(result.toString()).assertEqual('[30, 45]')
}) })
/** /**
...@@ -1342,7 +1342,7 @@ describe('ScopeTest', function () { ...@@ -1342,7 +1342,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand005', 0, function () { it('testExpand005', 0, function () {
var result = range.expand(range) var result = range.expand(range)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1353,7 +1353,7 @@ describe('ScopeTest', function () { ...@@ -1353,7 +1353,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand001', 0, function () { it('testExpand001', 0, function () {
var result = range.expand(tempMiDF) var result = range.expand(tempMiDF)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1364,7 +1364,7 @@ describe('ScopeTest', function () { ...@@ -1364,7 +1364,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand002', 0, function () { it('testExpand002', 0, function () {
var result = range.expand(tempLess) var result = range.expand(tempLess)
expect(result).assertEqual('[20, 40]') expect(result.toString()).assertEqual('[20, 40]')
}) })
/** /**
...@@ -1375,7 +1375,7 @@ describe('ScopeTest', function () { ...@@ -1375,7 +1375,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand003', 0, function () { it('testExpand003', 0, function () {
var result = range.expand(tempMore) var result = range.expand(tempMore)
expect(result).assertEqual('[30, 45]') expect(result.toString()).assertEqual('[30, 45]')
}) })
/** /**
...@@ -1386,7 +1386,7 @@ describe('ScopeTest', function () { ...@@ -1386,7 +1386,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand004', 0, function () { it('testExpand004', 0, function () {
var result = range.expand(tempLower) var result = range.expand(tempLower)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1397,7 +1397,7 @@ describe('ScopeTest', function () { ...@@ -1397,7 +1397,7 @@ describe('ScopeTest', function () {
*/ */
it('testExpand005', 0, function () { it('testExpand005', 0, function () {
var result = range.expand(tempUpper) var result = range.expand(tempUpper)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1408,7 +1408,7 @@ describe('ScopeTest', function () { ...@@ -1408,7 +1408,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect001', 0, function () { it('testInstersect001', 0, function () {
var result = range.intersect(rangeFir) var result = range.intersect(rangeFir)
expect(result).assertEqual('[35, 39]') expect(result.toString()).assertEqual('[35, 39]')
}) })
/** /**
...@@ -1419,7 +1419,7 @@ describe('ScopeTest', function () { ...@@ -1419,7 +1419,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect002', 0, function () { it('testInstersect002', 0, function () {
var result = range.intersect(rangeSec) var result = range.intersect(rangeSec)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1430,7 +1430,7 @@ describe('ScopeTest', function () { ...@@ -1430,7 +1430,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect003', 0, function () { it('testInstersect003', 0, function () {
var result = range.intersect(rangeThi) var result = range.intersect(rangeThi)
expect(result).assertEqual('[30, 35]') expect(result.toString()).assertEqual('[30, 35]')
}) })
/** /**
...@@ -1441,7 +1441,7 @@ describe('ScopeTest', function () { ...@@ -1441,7 +1441,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect004', 0, function () { it('testInstersect004', 0, function () {
var result = range.intersect(rangeFif) var result = range.intersect(rangeFif)
expect(result).assertEqual('[35, 40]') expect(result.toString()).assertEqual('[35, 40]')
}) })
/** /**
...@@ -1452,7 +1452,7 @@ describe('ScopeTest', function () { ...@@ -1452,7 +1452,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect005', 0, function () { it('testInstersect005', 0, function () {
var result = range.intersect(range) var result = range.intersect(range)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1464,7 +1464,7 @@ describe('ScopeTest', function () { ...@@ -1464,7 +1464,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect001', 0, function () { it('testInstersect001', 0, function () {
var result = range.intersect(tempMiDF, tempMidS) var result = range.intersect(tempMiDF, tempMidS)
expect(result).assertEqual('[35, 39]') expect(result.toString()).assertEqual('[35, 39]')
}) })
/** /**
...@@ -1476,7 +1476,7 @@ describe('ScopeTest', function () { ...@@ -1476,7 +1476,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect002', 0, function () { it('testInstersect002', 0, function () {
var result = range.intersect(tempLess, tempMore) var result = range.intersect(tempLess, tempMore)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1488,7 +1488,7 @@ describe('ScopeTest', function () { ...@@ -1488,7 +1488,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect003', 0, function () { it('testInstersect003', 0, function () {
var result = range.intersect(tempLess, tempMiDF) var result = range.intersect(tempLess, tempMiDF)
expect(result).assertEqual('[30, 35]') expect(result.toString()).assertEqual('[30, 35]')
}) })
/** /**
...@@ -1500,7 +1500,7 @@ describe('ScopeTest', function () { ...@@ -1500,7 +1500,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect004', 0, function () { it('testInstersect004', 0, function () {
var result = range.intersect(tempMiDF, tempMore) var result = range.intersect(tempMiDF, tempMore)
expect(result).assertEqual('[35, 40]') expect(result.toString()).assertEqual('[35, 40]')
}) })
/** /**
...@@ -1512,7 +1512,7 @@ describe('ScopeTest', function () { ...@@ -1512,7 +1512,7 @@ describe('ScopeTest', function () {
*/ */
it('testInstersect005', 0, function () { it('testInstersect005', 0, function () {
var result = range.intersect(tempLower, tempUpper) var result = range.intersect(tempLower, tempUpper)
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1523,7 +1523,7 @@ describe('ScopeTest', function () { ...@@ -1523,7 +1523,7 @@ describe('ScopeTest', function () {
*/ */
it('testToString001', 0, function () { it('testToString001', 0, function () {
var result = range.toString() var result = range.toString()
expect(result).assertEqual('[30, 40]') expect(result.toString()).assertEqual('[30, 40]')
}) })
/** /**
...@@ -1534,7 +1534,7 @@ describe('ScopeTest', function () { ...@@ -1534,7 +1534,7 @@ describe('ScopeTest', function () {
*/ */
it('testToString002', 0, function () { it('testToString002', 0, function () {
var result = rangeFir.toString() var result = rangeFir.toString()
expect(result).assertEqual('[35, 39]') expect(result.toString()).assertEqual('[35, 39]')
}) })
/** /**
...@@ -1545,7 +1545,7 @@ describe('ScopeTest', function () { ...@@ -1545,7 +1545,7 @@ describe('ScopeTest', function () {
*/ */
it('testToString003', 0, function () { it('testToString003', 0, function () {
var result = rangeSec.toString() var result = rangeSec.toString()
expect(result).assertEqual('[20, 45]') expect(result.toString()).assertEqual('[20, 45]')
}) })
/** /**
...@@ -1556,7 +1556,7 @@ describe('ScopeTest', function () { ...@@ -1556,7 +1556,7 @@ describe('ScopeTest', function () {
*/ */
it('testToString004', 0, function () { it('testToString004', 0, function () {
var result = rangeThi.toString() var result = rangeThi.toString()
expect(result).assertEqual('[20, 35]') expect(result.toString()).assertEqual('[20, 35]')
}) })
/** /**
...@@ -1567,7 +1567,7 @@ describe('ScopeTest', function () { ...@@ -1567,7 +1567,7 @@ describe('ScopeTest', function () {
*/ */
it('testToString005', 0, function () { it('testToString005', 0, function () {
var result = rangeFif.toString() var result = rangeFif.toString()
expect(result).assertEqual('[35, 45]') expect(result.toString()).assertEqual('[35, 45]')
}) })
}) })
......
...@@ -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.
先完成此消息的编辑!
想要评论请 注册