Home
last modified time | relevance | path

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

/test/testfwk/arkxtest/hamock/
Dindex.d.ts46 mockFunc(obj: Object, func: Function): Function
/test/testfwk/arkxtest/
DREADME_zh.md314 | 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 …]
DREADME_en.md139 | 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/
DMockKit.js184 mockFunc(originalObject, originalMethod) { method in MockKit
233 mockedObject[key] = _this.mockFunc(mockedObject, mockedObject[key]);
/test/testfwk/arkxtest/hamock/src/main/mock/
DMockKit.ts188 mockFunc(originalObject:any, originalMethod:any) { method in MockKit
238 mockedObject[key] = _this.mockFunc(mockedObject, mockedObject[key]);
DMockKit.js158 mockFunc(originalObject, originalMethod) { method in MockKit
205 mockedObject[key] = _this.mockFunc(mockedObject, mockedObject[key]);
/test/testfwk/arkxtest/jsunit/
Dindex.d.ts123 mockFunc(obj: Object, func: Function): Function
Dindex.ets118 mockFunc(obj: Object, func: Function): Function