/external/littlemock/src/com/google/testing/littlemock/ |
H A D | Mock.java | 29 * @Mock private MyInterface mMockMyInterface; 40 public @interface Mock { interface
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sqs/ |
H A D | test_queue.py | 23 from mock import Mock namespace 33 connection = Mock() 42 connection = Mock()
|
/external/mockito/src/org/mockito/ |
H A D | Mock.java | 27 * @Mock private ArticleCalculator calculator;
28 * @Mock(name = "database") private ArticleDatabase dbMock;
29 * @Mock(answer = RETURNS_MOCKS) private UserProvider userProvider;
30 * @Mock(extraInterfaces = {Queue.class, Observer.class}) private articleMonitor;
64 public @interface Mock {
interface
|
H A D | MockitoAnnotations.java | 37 * @Mock private ArticleCalculator calculator; 38 * @Mock private ArticleDatabase database; 39 * @Mock private UserProvider userProvider; 67 * Use top-level {@link org.mockito.Mock} annotation instead 69 * When @Mock annotation was implemented as an inner class then users experienced problems with autocomplete features in IDEs. 70 * Hence @Mock was made a top-level class. 73 * Typically, you can just <b>search:</b> import org.mockito.MockitoAnnotations.Mock; <b>and replace with:</b> import org.mockito.Mock; 81 public @interface Mock {} interface in class:MockitoAnnotations 85 * @{@link org.mockito.Mock}, [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/auth/ |
H A D | test_stsanon.py | 23 from mock import Mock namespace 32 self.provider = Mock() 55 Mock(), self.provider) 64 Mock(), self.provider) 72 Mock(), self.provider)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/swf/ |
H A D | test_layer2_actors.py | 4 from mock import Mock namespace 10 boto.swf.layer2.Layer1 = Mock() 13 self.worker._swf = Mock() 14 self.decider._swf = Mock()
|
H A D | test_layer2_base.py | 4 from mock import Mock namespace 7 MOCK_DOMAIN = 'Mock' 10 MOCK_REGION = 'Mock Region' 18 boto.swf.layer2.Layer1 = Mock()
|
H A D | test_layer2_domain.py | 4 from mock import Mock namespace 10 boto.swf.layer2.Layer1 = Mock()
|
H A D | test_layer2_types.py | 4 from mock import Mock, ANY namespace 10 boto.swf.layer2.Layer1 = Mock()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/ |
H A D | test_layer2.py | 25 from mock import Mock namespace 49 self.api = Mock()
|
/external/autotest/client/common_lib/cros/graphite/ |
H A D | es_utils.py | 75 logging.debug('Failed to import elasticsearch. Mock classes will be used ' namespace
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/testing/ |
H A D | mock.py | 249 """Mock an apitools client.""" 252 """Mock an apitools API, given its class. 275 return self.Mock() 277 def Mock(self): member in class:Client
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sns/ |
H A D | test_connection.py | 26 from mock import Mock namespace 51 queue = Mock() 76 queue = Mock()
|
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/ |
H A D | test_formatter.py | 7 class Mock(object): class in inherits:object 12 class Supplement(Mock):
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/ |
H A D | test_bucket.py | 29 from mock import patch, Mock namespace
|
/external/gmock/test/ |
H A D | gmock-nice-strict_test.cc | 40 // clash with ::testing::Mock. 41 class Mock { class 43 Mock() {} function in class:Mock 48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 241 // Tests that NiceMock<Mock> compiles where Mock is a user-defined 242 // class (as opposed to ::testing::Mock). We had to work around an 243 // MSVC 8.0 bug that caused the symbol Mock used in the definition of 250 NiceMock< ::Mock> nice; 334 // Tests that NaggyMock<Mock> compile [all...] |
H A D | gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 104 // This test requires identical definitions of Interface and Mock to be 109 // definitions of Interface and Mock tests MUST be kept in the SAME 205 class Mock: public Interface { class in inherits:Interface 207 Mock() {} function in class:Mock 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; 251 Mock mock; 260 Mock mock; 268 Mock moc [all...] |
/external/google-breakpad/src/testing/test/ |
H A D | gmock-nice-strict_test.cc | 40 // clash with ::testing::Mock. 41 class Mock { class 43 Mock() {} function in class:Mock 48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 194 // Tests that NiceMock<Mock> compiles where Mock is a user-defined 195 // class (as opposed to ::testing::Mock). We had to workaround an 196 // MSVC 8.0 bug that caused the symbol Mock used in the definition of 203 NiceMock< ::Mock> nice; 268 // Tests that StrictMock<Mock> compile [all...] |
H A D | gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 104 // This test requires identical definitions of Interface and Mock to be 109 // definitions of Interface and Mock tests MUST be kept in the SAME 205 class Mock: public Interface { class in inherits:Interface 207 Mock() {} function in class:Mock 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; 251 Mock mock; 260 Mock mock; 268 Mock moc [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudformation/ |
H A D | test_connection.py | 4 from mock import Mock namespace
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/ |
H A D | test_layer2.py | 26 from mock import call, Mock, patch, sentinel namespace 149 self.mock_layer1 = Mock(spec=Layer1) 181 self.mock_layer1.list_vaults = Mock(side_effect=return_paginated_vaults_resp) 279 mock_list_parts = Mock()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/ |
H A D | test_connection.py | 5 from mock import MagicMock, Mock namespace 945 self.https_connection = Mock(spec=httplib.HTTPSConnection) 947 Mock(return_value=self.https_connection), ())
|
/external/chromium-trace/catapult/telemetry/third_party/mock/ |
H A D | mock.py | 17 'Mock', 129 # can't use isinstance on Mock objects because they override __class__ 466 """A non-callable version of `Mock`""" 658 raise AttributeError("Mock object has no attribute %r" % name) 761 raise AttributeError("Mock object has no attribute '%s'" % name) 767 raise AttributeError("Mock object has no attribute '%s'" % name) 898 Subclasses of Mock may want to override this to customize the way 908 klass = Mock 1031 class Mock(CallableMixin, NonCallableMock): class in inherits:CallableMixin, NonCallableMock 1033 Create a new `Mock` objec [all...] |
/external/chromium-trace/catapult/third_party/mock/ |
H A D | mock.py | 17 'Mock', 129 # can't use isinstance on Mock objects because they override __class__ 466 """A non-callable version of `Mock`""" 658 raise AttributeError("Mock object has no attribute %r" % name) 761 raise AttributeError("Mock object has no attribute '%s'" % name) 767 raise AttributeError("Mock object has no attribute '%s'" % name) 898 Subclasses of Mock may want to override this to customize the way 908 klass = Mock 1031 class Mock(CallableMixin, NonCallableMock): class in inherits:CallableMixin, NonCallableMock 1033 Create a new `Mock` objec [all...] |
/external/skia/tests/ |
H A D | ResourceCacheTest.cpp | 334 class Mock { class 336 Mock(int maxCnt, size_t maxBytes) { function in class:Mock 354 Mock mock(10, 30000); 410 Mock mock(10, 300); 494 Mock mock(10, 30000); 559 Mock mock(10, 300); 618 Mock mock(5, 30000); 663 Mock mock(5, 30000); 722 Mock mock(5, 30000); 781 Mock moc [all...] |