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 4da5ad28d9aca4f884b5dc8a69165fc062e0f623..9c24724ad7989cb06c8d7a6e055048b118cd81b7 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 @@ -2114,7 +2114,6 @@ describe('ChildProcessTest', function () { if(pri) { var flag = true -// var flag = new Boolean(true) expect(flag).assertEqual(true) } }) @@ -2133,7 +2132,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2153,7 +2151,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2173,7 +2170,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2193,7 +2189,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2201,7 +2196,8 @@ describe('ChildProcessTest', function () { /** * @tc.name: testGetstartrealtime001 - * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process. + * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of + * the system to the start of the process. * @tc.require: AR000GFB04 * @tc.author: liwenqiang */ @@ -2212,7 +2208,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2220,7 +2215,8 @@ describe('ChildProcessTest', function () { /** * @tc.name: testGetstartrealtime002 - * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process. + * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of + * the system to the start of the process. * @tc.require: AR000GFB04 * @tc.author: liwenqiang */ @@ -2229,14 +2225,14 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) }) /** * @tc.name: testGetstartrealtime003 - * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process. + * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of + * the system to the start of the process. * @tc.require: AR000GFB04 * @tc.author: liwenqiang */ @@ -2247,7 +2243,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2255,7 +2250,8 @@ describe('ChildProcessTest', function () { /** * @tc.name: testGetstartrealtime004 - * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process. + * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of + * the system to the start of the process. * @tc.require: AR000GFB04 * @tc.author: liwenqiang */ @@ -2266,7 +2262,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2274,7 +2269,8 @@ describe('ChildProcessTest', function () { /** * @tc.name: testGetstartrealtime005 - * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process. + * @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of + * the system to the start of the process. * @tc.require: AR000GFB04 * @tc.author: liwenqiang */ @@ -2285,7 +2281,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2304,7 +2299,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2321,7 +2315,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) }) @@ -2339,7 +2332,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2358,7 +2350,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2377,7 +2368,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2395,7 +2385,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) }) @@ -2414,7 +2403,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2434,7 +2422,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2454,7 +2441,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2474,7 +2460,6 @@ describe('ChildProcessTest', function () { if(pri > 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2491,7 +2476,6 @@ describe('ChildProcessTest', function () { if(pri != null) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) }) @@ -2509,7 +2493,6 @@ describe('ChildProcessTest', function () { if(pri != 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2528,7 +2511,6 @@ describe('ChildProcessTest', function () { if(pri != 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2547,7 +2529,6 @@ describe('ChildProcessTest', function () { if(pri != 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2566,7 +2547,6 @@ describe('ChildProcessTest', function () { if(pri != 0) { var flag = true - // var flag = new Boolean(true) } expect(flag).assertEqual(true) } @@ -2582,7 +2562,6 @@ describe('ChildProcessTest', function () { var pri = Process.getEnvironmentVar("USER") if(pri != null) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } }) @@ -2600,7 +2579,6 @@ describe('ChildProcessTest', function () { if(pri != null) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2619,7 +2597,6 @@ describe('ChildProcessTest', function () { if(pri != null) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2638,7 +2615,6 @@ describe('ChildProcessTest', function () { if(pri != null) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } } @@ -2657,7 +2633,6 @@ describe('ChildProcessTest', function () { if(pri != null) { var flag = true - // var flag = new Boolean(true) expect(flag).assertEqual(true) } }