Searched refs:MockKit (Results 1 – 13 of 13) sorted by relevance
/test/testfwk/arkxtest/hamock/src/main/mock/ |
D | ExtendInterface.ts | 16 import { MockKit } from "./MockKit.js"; 20 private mocker: MockKit 23 constructor(mocker: MockKit) {
|
D | MockKit.ts | 25 mocker: MockKit 28 class MockKit { class 292 MockKit,
|
D | MockKit.js | 18 class MockKit { class 253 export { MockSetup, MockKit, when };
|
/test/testfwk/arkxtest/ |
D | README_zh.md | 329 使用时候必须引入的mock能力模块: MockKit,when 331 例如:`import { describe, expect, it, MockKit, when} from '@ohos/hypium'` 336 import {describe, expect, it, MockKit, when} from '@ohos/hypium'; 343 //1.创建一个mock能力的对象MockKit 344 let mocker: MockKit = new MockKit(); 385 import {describe, expect, it, MockKit, when} from '@ohos/hypium'; 392 //1.创建一个mock能力的对象MockKit 393 let mocker: MockKit = new MockKit(); 436 import {describe, expect, it, MockKit, when, ArgumentMatchers} from '@ohos/hypium'; 443 //1.创建一个mock能力的对象MockKit [all …]
|
D | README_en.md | 167 You must import **MockKit** and **when**. You can import other assertion APIs based on the test cas… 168 Example: `import {describe, expect, it, MockKit, when} from '@ohos/hypium'` 173 import {describe, expect, it, MockKit, when} from '@ohos/hypium'; 180 // 1. Create a MockKit object. 181 let mocker = new MockKit(); 219 import {describe, expect, it, MockKit, when} from '@ohos/hypium'; 226 // 1. Create a MockKit object. 227 let mocker = new MockKit(); 270 import {describe, expect, it, MockKit, when, ArgumentMatchers} from '@ohos/hypium'; 277 // 1. Create a MockKit object. [all …]
|
/test/testfwk/arkxtest/hamock/ |
D | index.ets | 16 export { MockSetup, MockKit, when } from './src/main/mock/MockKit';
|
D | index.ts | 16 export { MockSetup, MockKit, when } from './src/main/mock/MockKit.js';
|
D | index.js | 15 export { MockSetup, MockKit, when } from './src/main/mock/MockKit.js';
|
D | index.d.ts | 44 export class MockKit {
|
/test/testfwk/arkxtest/jsunit/ |
D | index.js | 23 import {MockKit, when} from './src/module/mock/MockKit'; 76 MockKit, when,
|
D | index.d.ts | 120 export class MockKit { class
|
D | index.ets | 114 export declare class MockKit {
|
/test/testfwk/arkxtest/jsunit/src/module/mock/ |
D | MockKit.js | 20 class MockKit { class 256 export {MockKit, when};
|