Searched refs:mockInterface (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_test_mock.cpp | 150 ON_CALL(*mockInterface->connMock, ConnSetConnectCallback(_, _)) in ClientFSMCreate() 153 ON_CALL(*mockInterface->hichainMock, InitDeviceAuthService()).WillByDefault(Return(0)); in ClientFSMCreate() 160 ON_CALL(*mockInterface->connMock, ConnPostBytes).WillByDefault(Return(SOFTBUS_OK)); in ClientFSMCreate() 162 ON_CALL(*mockInterface->connMock, ConnGetConnectionInfo) in ClientFSMCreate() 164 ON_CALL(*mockInterface->ledgerMock, LnnGetDeviceName).WillByDefault(Return(DEV_NAME)); in ClientFSMCreate() 166 ON_CALL(*mockInterface->ledgerMock, LnnGetDeviceUdid).WillByDefault(Return(TEST_UDID)); in ClientFSMCreate() 168 ON_CALL(*mockInterface->ledgerMock, LnnGetP2pMac).WillByDefault(Return(TEST_MAC)); in ClientFSMCreate() 171 ON_CALL(*mockInterface->ledgerMock, LnnGetBtMac).WillByDefault(Return(TEST_MAC)); in ClientFSMCreate() 172 ON_CALL(*mockInterface->authMock, SoftBusGetBtState).WillByDefault(Return(BLE_ENABLE)); in ClientFSMCreate() 284 MockInterfaces mockInterface = { variable [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/ |
H A D | CameraService.ts | 56 function mockInterface(): void { 159 mockInterface();
|