提交 ea9cb811 编写于 作者: X xllify

Modify the master branch process xts use case

Modify the corresponding questions according to the rules

issue:https://gitee.com/openharmony/xts_acts/issues/I54OHPSigned-off-by: Nxllify <lixinlong18@huawei.com>
上级 471372b4
...@@ -510,6 +510,9 @@ describe('ChildProcessTest', function () { ...@@ -510,6 +510,9 @@ describe('ChildProcessTest', function () {
*/ */
it('SUB_Runtime_JSAPI_SR000GGR3G-009', 0, function () { it('SUB_Runtime_JSAPI_SR000GGR3G-009', 0, function () {
let isorno = process.is64Bit() let isorno = process.is64Bit()
if(isorno) {
expect(isorno).assertEqual(ture)
}
expect(isorno).assertEqual(false) expect(isorno).assertEqual(false)
}) })
...@@ -523,6 +526,9 @@ describe('ChildProcessTest', function () { ...@@ -523,6 +526,9 @@ describe('ChildProcessTest', function () {
for(let i=0; i<3; i++) for(let i=0; i<3; i++)
{ {
let isorno = process.is64Bit() let isorno = process.is64Bit()
if(isorno) {
expect(isorno).assertEqual(ture)
}
expect(isorno).assertEqual(false) expect(isorno).assertEqual(false)
} }
}) })
...@@ -537,6 +543,9 @@ describe('ChildProcessTest', function () { ...@@ -537,6 +543,9 @@ describe('ChildProcessTest', function () {
for(let i=0; i<5; i++) for(let i=0; i<5; i++)
{ {
let isorno = process.is64Bit() let isorno = process.is64Bit()
if(isorno) {
expect(isorno).assertEqual(ture)
}
expect(isorno).assertEqual(false) expect(isorno).assertEqual(false)
} }
}) })
...@@ -718,7 +727,7 @@ describe('ChildProcessTest', function () { ...@@ -718,7 +727,7 @@ describe('ChildProcessTest', function () {
for(let i=0; i<6; i++) for(let i=0; i<6; i++)
{ {
let pri = process.getStartRealtime() let pri = process.getStartRealtime()
if(pri > 0) if(pri !== null)
{ {
var flag = new Boolean(true) var flag = new Boolean(true)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册