/external/chromium/base/ |
D | gmock_unittest.cc | 68 MockSampleClass mock; in TEST() local 70 EXPECT_CALL(mock, ReturnSomething()) in TEST() 74 EXPECT_EQ(1, mock.ReturnSomething()); in TEST() 75 EXPECT_EQ(2, mock.ReturnSomething()); in TEST() 76 EXPECT_EQ(3, mock.ReturnSomething()); in TEST() 78 EXPECT_CALL(mock, ReturnNothingConstly()).Times(2); in TEST() 79 mock.ReturnNothingConstly(); in TEST() 80 mock.ReturnNothingConstly(); in TEST() 85 MockSampleClass mock; in TEST() local 87 EXPECT_CALL(mock, OutputParam(_)) in TEST() [all …]
|
/external/chromium/net/proxy/ |
D | single_threaded_proxy_resolver_unittest.cc | 140 MockProxyResolver* mock = new MockProxyResolver; in TEST() local 142 new SingleThreadedProxyResolver(mock)); in TEST() 154 EXPECT_EQ("pac script bytes", mock->last_pac_bytes()); in TEST() 210 EXPECT_EQ(0, mock->purge_count()); in TEST() 218 EXPECT_EQ(1, mock->purge_count()); in TEST() 224 BlockableProxyResolver* mock = new BlockableProxyResolver; in TEST() local 226 new SingleThreadedProxyResolver(mock)); in TEST() 231 mock->Block(); in TEST() 242 mock->WaitUntilBlocked(); in TEST() 270 mock->Unblock(); in TEST() [all …]
|
/external/webkit/WebKitTools/pywebsocket/test/ |
D | test_handshake.py | 41 import mock 381 conn = mock.MockConn('') 383 return mock.MockRequest( 428 mock.MockDispatcher()) 442 mock.MockDispatcher()) 451 mock.MockDispatcher()) 461 mock.MockDispatcher()) 470 mock.MockDispatcher()) 479 mock.MockDispatcher()) 489 mock.MockDispatcher()) [all …]
|
D | test_dispatch.py | 43 import mock 133 request = mock.MockRequest() 143 request = mock.MockRequest(connection=mock.MockConn('')) 151 request = mock.MockRequest(connection=mock.MockConn('')) 158 request = mock.MockRequest(connection=mock.MockConn('')) 165 request = mock.MockRequest(connection=mock.MockConn('')) 176 request = mock.MockRequest(connection=mock.MockConn('')) 189 request = mock.MockRequest(connection=mock.MockConn(''))
|
D | test_mock.py | 40 import mock 45 self._conn = mock.MockConn('ABC\r\nDEFG\r\n\r\nHIJK') 85 conn = mock.MockBlockingConn() 96 table = mock.MockTable({'Key':'Value'}) 101 table = mock.MockTable([('Key', 'Value')]) 106 table = mock.MockTable((('Key', 'Value'),)) 111 table = mock.MockTable()
|
D | test_msgutil.py | 42 import mock 46 return mock.MockRequest(connection=mock.MockConn(read_data)) 49 return mock.MockRequest(connection=mock.MockBlockingConn())
|
/external/easymock/src/org/easymock/ |
D | EasyMock.java | 1546 for (Object mock : mocks) { in replay() 1547 getControl(mock).replay(); in replay() 1559 for (Object mock : mocks) { in reset() 1560 getControl(mock).reset(); in reset() 1573 for (Object mock : mocks) { in resetToNice() 1574 getControl(mock).resetToNice(); in resetToNice() 1587 for (Object mock : mocks) { in resetToDefault() 1588 getControl(mock).resetToDefault(); in resetToDefault() 1601 for (Object mock : mocks) { in resetToStrict() 1602 getControl(mock).resetToStrict(); in resetToStrict() [all …]
|
D | MockControl.java | 38 private final T mock; field in MockControl 44 this.mock = ctrl.createMock(toMock); in MockControl() 101 return mock; in getMock()
|
/external/easymock/src/org/easymock/internal/ |
D | Invocation.java | 33 private final Object mock; field in Invocation 42 public Invocation(Object mock, Method method, Object[] args) { in Invocation() argument 43 this.mock = mock; in Invocation() 77 return mock; in getMock() 95 return this.mock.equals(other.mock) && this.method.equals(other.method) in equals() 136 return this.mock.equals(actual.mock) in matches() 147 String mockName = mock.toString(); in getMockAndMethodName() 149 if (toStringIsDefined(mock) && isJavaIdentifier(mockName)) { in getMockAndMethodName()
|
/external/protobuf/python/ |
D | mox.py | 242 for mock in args: 243 mock._Replay() 253 for mock in args: 254 mock._Verify() 264 for mock in args: 265 mock._Reset()
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
D | patchcollection_unittest.py | 32 from webkitpy.mock import Mock
|
D | credentials_unittest.py | 35 from webkitpy.mock import Mock
|
D | bugzilla_unittest.py | 34 from webkitpy.mock import Mock
|
/external/webkit/WebKitTools/Scripts/webkitpy/steps/ |
D | closebugforlanddiff_unittest.py | 32 from webkitpy.mock import Mock
|
D | updatechangelogswithreview_unittests.py | 32 from webkitpy.mock import Mock
|
D | steps_unittest.py | 35 from webkitpy.mock import Mock
|
/external/webkit/WebKitTools/Scripts/webkitpy/commands/ |
D | commandtest.py | 31 from webkitpy.mock import Mock
|
D | early_warning_system_unittest.py | 33 from webkitpy.mock import Mock
|
D | queries_unittest.py | 32 from webkitpy.mock import Mock
|
D | upload_unittest.py | 31 from webkitpy.mock import Mock
|
D | queuestest.py | 32 from webkitpy.mock import Mock
|
D | download_unittest.py | 31 from webkitpy.mock import Mock
|
/external/webkit/LayoutTests/fast/dom/Geolocation/ |
D | permission-denied-expected.txt | 1 Tests Geolocation when permission is denied, using the mock service.
|
D | success-expected.txt | 1 Tests Geolocation success callback using the mock service.
|
D | error-expected.txt | 1 Tests Geolocation error callback using the mock service.
|