Home
last modified time | relevance | path

Searched refs:afterReturnNothing (Results 1 – 8 of 8) sorted by relevance

/test/testfwk/arkxtest/jsunit/src/module/mock/
DExtendInterface.js36 afterReturnNothing() { method in ExtendInterface
/test/testfwk/arkxtest/hamock/src/main/mock/
DExtendInterface.js31 afterReturnNothing() { method in ExtendInterface
DExtendInterface.ts42 afterReturnNothing() { method in ExtendInterface
/test/testfwk/arkxtest/hamock/
Dindex.d.ts28 afterReturnNothing(): undefined
/test/testfwk/arkxtest/jsunit/
Dindex.d.ts106 afterReturnNothing(): undefined method
Dindex.ets99 afterReturnNothing: () => undefined
/test/testfwk/arkxtest/
DREADME_zh.md304 | 4 | afterReturnNothing() | 设定预期没有返回值,即 undefined。 |
382 **示例2: afterReturnNothing 的使用**
414 //4.根据自己需求进行选择 执行完毕后的动作,比如这里选择afterReturnNothing();即不返回任何值
415 when(mockfunc)('test').afterReturnNothing();
419 // 这时候执行的claser.method_1不会再返回'888888',而是设定的afterReturnNothing()生效//不返回任何值;
762 //4.根据自己需求进行选择 执行完毕后的动作,比如这里选择afterReturnNothing();即不返回任何值
DREADME_en.md142 | 4 | afterReturnNothing() | Sets the expected return value to **undefined**, that is, no value wil…
216 Example 2: Use **afterReturnNothing**.
248 …on to be performed when the test case ends. For example, set it to afterReturnNothing(), which ret…
249 when(mockfunc)('test').afterReturnNothing();
253 …// The mocked claser.method_1 does not return '888888'. Instead, afterReturnNothing() takes effect…
592 …on to be performed when the test case ends. For example, set it to afterReturnNothing(), which ret…