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

!2017 修改软总线xts RpcJsunit.test.js用例

Merge pull request !2017 from 忘忧天涯/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册