Searched refs:mockFunc (Results 1 – 8 of 8) sorted by relevance
/test/testfwk/arkxtest/hamock/ |
D | index.d.ts | 46 mockFunc(obj: Object, func: Function): Function
|
/test/testfwk/arkxtest/ |
D | README_zh.md | 314 | 1 | mockFunc(obj: object, f:function()) | mock某个类的对象obj的函数f,那么需要传两个参数:obj和f,支持使用异步函数(说明:对mock而言原函… 372 let mockfunc: Function = mocker.mockFunc(claser, claser.method_1); 414 let mockfunc: Function = mocker.mockFunc(claser, claser.method_1); 456 let mockfunc: Function = mocker.mockFunc(claser, claser.method_1); 497 let mockfunc: Function = mocker.mockFunc(claser, claser.method_1); 533 let mockfunc: Function = mocker.mockFunc(claser, claser.method_1); 569 mocker.mockFunc(claser, claser.method_1); 570 mocker.mockFunc(claser, claser.method_2); 612 let func_1: Function = mocker.mockFunc(claser, claser.method_1); 613 let func_2: Function = mocker.mockFunc(claser, claser.method_2); [all …]
|
D | README_en.md | 139 | 1 | mockFunc(obj: object, f: function())| Mocks a function in the object of a class. The paramete… 200 let mockfunc = mocker.mockFunc(claser, claser.method_1); 246 let mockfunc = mocker.mockFunc(claser, claser.method_1); 297 let mockfunc = mocker.mockFunc(claser, claser.method_1); 346 let mockfunc = mocker.mockFunc(claser, claser.method_1); 392 let mockfunc = mocker.mockFunc(claser, claser.method_1); 437 mocker.mockFunc(claser, claser.method_1); 438 mocker.mockFunc(claser, claser.method_2); 490 let func_1 = mocker.mockFunc(claser, claser.method_1); 491 let func_2 = mocker.mockFunc(claser, claser.method_2); [all …]
|
/test/testfwk/arkxtest/jsunit/src/module/mock/ |
D | MockKit.js | 184 mockFunc(originalObject, originalMethod) { method in MockKit 233 mockedObject[key] = _this.mockFunc(mockedObject, mockedObject[key]);
|
/test/testfwk/arkxtest/hamock/src/main/mock/ |
D | MockKit.ts | 188 mockFunc(originalObject:any, originalMethod:any) { method in MockKit 238 mockedObject[key] = _this.mockFunc(mockedObject, mockedObject[key]);
|
D | MockKit.js | 158 mockFunc(originalObject, originalMethod) { method in MockKit 205 mockedObject[key] = _this.mockFunc(mockedObject, mockedObject[key]);
|
/test/testfwk/arkxtest/jsunit/ |
D | index.d.ts | 123 mockFunc(obj: Object, func: Function): Function
|
D | index.ets | 118 mockFunc(obj: Object, func: Function): Function
|