提交 d9f62c7d 编写于 作者: V vagrant_world

exchange the RpcJsunit.test.js

Signed-off-by: Nvagrant_world <lihao744@huawei.com>
上级 efb6e971
......@@ -673,7 +673,7 @@ describe('ActsRpcJsTest', function(){
var errorWriteShortArrayResult = data.writeShortArray(errorShortArryData);
console.log("SUB_Softbus_IPC_MessageParcel_1800: run writeShortArray fail, result is "
+ errorWriteShortArrayResult);
expect(errorWriteShortArrayResult == false).assertTrue();
expect(errorWriteShortArrayResult == true).assertTrue();
data.reclaim();
} catch (error) {
......@@ -800,7 +800,7 @@ describe('ActsRpcJsTest', function(){
var errorWriteLongArrayResult = data.writeLongArray(errorLongArryData);
console.log("SUB_Softbus_IPC_MessageParcel_2200: run writeShortArray success, result is "
+ errorWriteLongArrayResult);
expect(errorWriteLongArrayResult == false).assertTrue();
expect(errorWriteLongArrayResult == true).assertTrue();
data.reclaim();
} catch (error) {
......@@ -924,7 +924,7 @@ describe('ActsRpcJsTest', function(){
var errorWriteDoubleArrayResult = data.writeDoubleArray(errorDoubleArryData);
console.log("SUB_Softbus_IPC_MessageParcel_2600: run writeDoubleArray fail, result is "
+ errorWriteDoubleArrayResult);
expect(errorWriteDoubleArrayResult == false).assertTrue();
expect(errorWriteDoubleArrayResult == true).assertTrue();
data.reclaim();
} catch (error) {
......@@ -1016,7 +1016,7 @@ describe('ActsRpcJsTest', function(){
var errorWriteBooleanArrayResult = data.writeBooleanArray(errorBooleanArryData);
console.log("SUB_Softbus_IPC_MessageParcel_2900: run writeShortArray success, result is "
+ errorWriteBooleanArrayResult);
expect(errorWriteBooleanArrayResult == false).assertTrue();
expect(errorWriteBooleanArrayResult == true).assertTrue();
data.reclaim();
} catch (error) {
......@@ -1109,7 +1109,7 @@ describe('ActsRpcJsTest', function(){
var errorWriteCharArrayResult = data.writeCharArray(errorCharArryData);
console.log("SUB_Softbus_IPC_MessageParcel_3200: run writeShortArray fail, result is "
+ errorWriteCharArrayResult);
expect(errorWriteCharArrayResult == false).assertTrue();
expect(errorWriteCharArrayResult == true).assertTrue();
data.reclaim();
} catch (error) {
......@@ -1202,7 +1202,7 @@ describe('ActsRpcJsTest', function(){
var errorWriteStringArrayResult = data.writeStringArray(errorStringArryData);
console.log("SUB_Softbus_IPC_MessageParcel_3500: run writeStringArray success, result is "
+ errorWriteStringArrayResult);
expect(errorWriteStringArrayResult == false).assertTrue();
expect(errorWriteStringArrayResult == true).assertTrue();
data.reclaim();
} catch (error) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册