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