Searched refs:mock (Results 1 – 16 of 16) sorted by relevance
18 import mock35 @mock.patch('adb.device.get_devices')41 @mock.patch('adb.device.get_devices')48 @mock.patch('adb.device.get_devices')55 @mock.patch('adb.device.get_devices')63 @mock.patch('adb.device.get_devices')69 @mock.patch('adb.device.get_devices')
58 from unittest.mock import patch64 def patch(target, mock): argument68 setattr(obj, attr, mock)
9 LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy android.test.base android.test.mock
31 import com.example.android.wearable.wear.wearnotifications.mock.MockDatabase;
35 import com.example.android.wearable.wear.wearnotifications.mock.MockDatabase;
33 import com.example.android.wearable.wear.wearnotifications.mock.MockDatabase;
32 import com.example.android.wearable.wear.wearnotifications.mock.MockDatabase;
1 package com.example.android.wearable.wear.wearnotifications.mock;
105 ALL_SDK_FILES += $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android.test.mock.stubs_intermed…
172 …j/JAVA_LIBRARIES/android.test.mock.stubs_intermediates/classes.jar platforms/${PLATFORM_NAME}/op…
27 import android.test.mock.MockContentResolver;
45 import com.example.android.wearable.wear.wearnotifications.mock.MockDatabase;
51 import com.example.android.wearable.wear.wearnotifications.mock.MockDatabase;