diff --git a/compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js index eff21d421cc56ef14e78acefcc6a8ff275f60551..2a25e4cb3e98d7a5827e6d35defc7579f5de766f 100644 --- a/compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/convertxml_lib_standard/src/main/js/default/pages/index/index.js @@ -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: { diff --git a/compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js index b508a903133fe306e232db2d4e6e56f00933905f..0e33931bedcdb1c1f9ea423220b49c3efad2bd76 100644 --- a/compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/process_lib_standard/src/main/js/default/pages/index/index.js @@ -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: { diff --git a/compileruntime/process_lib_standard/src/main/js/test/Process.test.js b/compileruntime/process_lib_standard/src/main/js/test/Process.test.js index 6366482d731c7b8300e20074f1653b6cc872d5f9..4676112ac3f4c7c129cb8953994bd563e32ab2e3 100644 --- a/compileruntime/process_lib_standard/src/main/js/test/Process.test.js +++ b/compileruntime/process_lib_standard/src/main/js/test/Process.test.js @@ -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. diff --git a/compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js index 235baf671486069cea33d4746d310e86962fe25c..b3e2a9019e2372d65eec2af6e96bc44c6bbf30ed 100644 --- a/compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/uri_lib_standard/src/main/js/default/pages/index/index.js @@ -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: { diff --git a/compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js index 22c25be537b1189bfd809f09c4dfd3b22ef8723a..dc029ade093130d2906be55d19567f5d31672972 100644 --- a/compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/url_lib_standard/src/main/js/default/pages/index/index.js @@ -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: { diff --git a/compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js index eff21d421cc56ef14e78acefcc6a8ff275f60551..2a25e4cb3e98d7a5827e6d35defc7579f5de766f 100644 --- a/compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/util_lib_standard/src/main/js/default/pages/index/index.js @@ -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: { diff --git a/compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js index eff21d421cc56ef14e78acefcc6a8ff275f60551..2a25e4cb3e98d7a5827e6d35defc7579f5de766f 100644 --- a/compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/xml_lib_standard/src/main/js/default/pages/index/index.js @@ -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: {