/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | simple_mock_unittest.py | 12 mock = simple_mock.MockObject() 18 mock = simple_mock.MockObject() 25 mock = simple_mock.MockObject() 31 mock = simple_mock.MockObject() 37 mock = simple_mock.MockObject() 45 mock = simple_mock.MockObject() 51 mock = simple_mock.MockObject() 64 mock = simple_mock.MockObject() 65 mock.bar = simple_mock.MockObject(mock) 74 mock = simple_mock.MockObject() [all …]
|
D | simple_mock.py | 55 class MockObject(object): class 67 assert isinstance(value, MockObject)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | vtune_profiler_unittest.py | 30 self.PIPE = simple_mock.MockObject() 31 self.STDOUT = simple_mock.MockObject() 74 mock_subprocess = simple_mock.MockObject() 77 mock_subprocess.SetAttribute('PIPE', simple_mock.MockObject()) 78 mock_subprocess.SetAttribute('STDOUT', simple_mock.MockObject())
|
D | perf_profiler_unittest.py | 26 mock_popen = simple_mock.MockObject() 29 mock_subprocess = simple_mock.MockObject() 32 mock_subprocess.SetAttribute('PIPE', simple_mock.MockObject())
|
D | android_profiling_helper_unittest.py | 112 mock_popen = simple_mock.MockObject() 115 mock_subprocess = simple_mock.MockObject() 118 mock_subprocess.SetAttribute('PIPE', simple_mock.MockObject()) 139 mock_cursor = simple_mock.MockObject() 143 mock_conn = simple_mock.MockObject() 147 mock_sqlite3 = simple_mock.MockObject()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | android_temperature_monitor_unittest.py | 16 mock_device_utils = simple_mock.MockObject() 32 mock_device_utils = simple_mock.MockObject() 45 mock_device_utils = simple_mock.MockObject()
|
/external/chromium-trace/catapult/third_party/mox3/mox3/tests/ |
D | test_mox.py | 938 self.mock_object = mox.MockObject(TestClass) 992 self.mock_object = mox.MockObject(ChildClass) 1013 self.assertNotEqual(self.mock_object, mox.MockObject(TestClass)) 1030 dummy = mox.MockObject(TestClass) 1044 dummy = mox.MockObject(TestClass) 1055 dummy = mox.MockObject(TestClass) 1070 dummy = mox.MockObject(TestClass) 1081 dummy = mox.MockObject(TestClass) 1104 dummy = mox.MockObject(TestSubClass) 1115 dummy = mox.MockObject(TestClass) [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/ |
D | test_mox.py | 938 self.mock_object = mox.MockObject(TestClass) 992 self.mock_object = mox.MockObject(ChildClass) 1013 self.assertNotEqual(self.mock_object, mox.MockObject(TestClass)) 1030 dummy = mox.MockObject(TestClass) 1044 dummy = mox.MockObject(TestClass) 1055 dummy = mox.MockObject(TestClass) 1070 dummy = mox.MockObject(TestClass) 1081 dummy = mox.MockObject(TestClass) 1104 dummy = mox.MockObject(TestSubClass) 1115 dummy = mox.MockObject(TestClass) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
D | form_based_credentials_backend_unittest_base.py | 22 tab = simple_mock.MockObject() 23 ar = simple_mock.MockObject()
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | mock_cloud_api.py | 42 class MockObject(object): class 70 return self.CreateObjectWithMetadata(MockObject( 111 new_object = MockObject(apitools_object, contents=contents)
|
/external/autotest/site_utils/ |
D | server_manager_unittest.py | 52 self.DRONE_ROLE = mox.MockObject( 55 self.SCHEDULER_ROLE = mox.MockObject( 58 self.DRONE_ATTRIBUTE = mox.MockObject( 61 self.PRIMARY_DRONE = mox.MockObject( 67 self.BACKUP_DRONE = mox.MockObject( 73 self.PRIMARY_SCHEDULER = mox.MockObject( 79 self.BACKUP_SCHEDULER = mox.MockObject(
|
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/ |
D | mox.py | 261 new_mock = MockObject(class_to_mock, attrs=attrs, 320 if attr_type == MockAnything or attr_type == MockObject: 378 if attr_type == MockAnything or attr_type == MockObject: 555 class MockObject(MockAnything): class 623 return super(MockObject, self)._CreateMockMethod(*args, **kwargs) 663 return (isinstance(rhs, MockObject) and 835 return super(MockObject, self).__getattribute__("_class_to_mock") 837 return super(MockObject, self).__getattribute__(name) 840 class _MockObjectFactory(MockObject): 854 MockObject.__init__(self, class_to_mock)
|
/external/chromium-trace/catapult/third_party/mox3/mox3/ |
D | mox.py | 261 new_mock = MockObject(class_to_mock, attrs=attrs, 320 if attr_type == MockAnything or attr_type == MockObject: 378 if attr_type == MockAnything or attr_type == MockObject: 555 class MockObject(MockAnything): class 623 return super(MockObject, self)._CreateMockMethod(*args, **kwargs) 663 return (isinstance(rhs, MockObject) and 835 return super(MockObject, self).__getattribute__("_class_to_mock") 837 return super(MockObject, self).__getattribute__(name) 840 class _MockObjectFactory(MockObject): 854 MockObject.__init__(self, class_to_mock)
|
/external/protobuf/python/ |
D | mox.py | 175 new_mock = MockObject(class_to_mock) 359 class MockObject(MockAnything, object): class 422 return (isinstance(rhs, MockObject) and
|
/external/google-breakpad/src/testing/src/ |
D | gmock-spec-builders.cc | 293 const void* UntypedFunctionMockerBase::MockObject() const in MockObject() function in testing::internal::UntypedFunctionMockerBase 340 Mock::GetReactionOnUninterestingCalls(MockObject()); in UntypedInvokeWith()
|
/external/gmock/src/ |
D | gmock-spec-builders.cc | 293 const void* UntypedFunctionMockerBase::MockObject() const in MockObject() function in testing::internal::UntypedFunctionMockerBase 340 Mock::GetReactionOnUninterestingCalls(MockObject()); in UntypedInvokeWith()
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-spec-builders.h | 198 const void* MockObject() const 1521 Mock::RegisterUseByOnCallOrExpectCall(MockObject(), file, line); in AddNewOnCallSpec() 1534 Mock::RegisterUseByOnCallOrExpectCall(MockObject(), file, line); in AddNewExpectation()
|
/external/gmock/include/gmock/ |
D | gmock-spec-builders.h | 202 const void* MockObject() const 1538 Mock::RegisterUseByOnCallOrExpectCall(MockObject(), file, line); in AddNewOnCallSpec() 1551 Mock::RegisterUseByOnCallOrExpectCall(MockObject(), file, line); in AddNewExpectation()
|