mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-26 17:30:31 +00:00
620dcts
Signed-off-by: wuxiaodan <wuxiaodan5@huawei-partners.com>
This commit is contained in:
parent
4d48bf99b0
commit
a6dcdc600a
@ -184,6 +184,7 @@ export default function kvSyncTestS1() {
|
|||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('catch afterEach err:' + `, error code is ${err.code}, message is ${err.message}`);
|
console.error('catch afterEach err:' + `, error code is ${err.code}, message is ${err.message}`);
|
||||||
|
expect(null).assertFail();
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -190,6 +190,7 @@ export default function kvSyncTestS1Ets() {
|
|||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('catch afterEach err:' + `, error code is ${err.code}, message is ${err.message}`);
|
console.error('catch afterEach err:' + `, error code is ${err.code}, message is ${err.message}`);
|
||||||
|
expect(null).assertFail();
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ export default class Stub extends rpc.RemoteObject {
|
|||||||
resultCall._resultCode = -1;
|
resultCall._resultCode = -1;
|
||||||
resultCall._result = -1;
|
resultCall._result = -1;
|
||||||
}
|
}
|
||||||
console.log(logTag + 'The server's writeSequenceable result is ' + JSON.stringify(resultCall));
|
console.log(logTag + "The server's writeSequenceable result is ' + JSON.stringify(resultCall)");
|
||||||
|
|
||||||
testBundle._apiResult=JSON.stringify(resultCall);
|
testBundle._apiResult=JSON.stringify(resultCall);
|
||||||
console.log(logTag + ' The testBundle is ' + JSON.stringify(testBundle));
|
console.log(logTag + ' The testBundle is ' + JSON.stringify(testBundle));
|
||||||
|
@ -52,7 +52,7 @@ export default class Stub extends rpc.RemoteObject {
|
|||||||
resultCall._resultCode = -1;
|
resultCall._resultCode = -1;
|
||||||
resultCall._result = -1;
|
resultCall._result = -1;
|
||||||
}
|
}
|
||||||
console.log(logTag + ' The server's writeSequenceable result is ' + JSON.stringify(resultCall));
|
console.log(logTag + " The server's writeSequenceable result is ' + JSON.stringify(resultCall)");
|
||||||
|
|
||||||
testBundle._apiResult=JSON.stringify(resultCall);
|
testBundle._apiResult=JSON.stringify(resultCall);
|
||||||
console.log(logTag + ' The testBundle is ' + JSON.stringify(testBundle));
|
console.log(logTag + ' The testBundle is ' + JSON.stringify(testBundle));
|
||||||
|
Loading…
Reference in New Issue
Block a user