Signed-off-by: wuxiaodan <wuxiaodan5@huawei-partners.com>
This commit is contained in:
wuxiaodan 2024-06-20 15:41:31 +08:00
parent 4d48bf99b0
commit a6dcdc600a
4 changed files with 4 additions and 2 deletions

View File

@ -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();
} }

View File

@ -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();
} }

View File

@ -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));

View File

@ -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));