/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
controllers_unittests.js | 29 "Mock Builder": unittest.kExampleResultsJSON, 67 "Mock Builder": {
|
/external/littlemock/src/com/google/testing/littlemock/ |
Mock.java | 25 * Use this to inject a mock into your test class. 29 * @Mock private MyInterface mMockMyInterface; 40 public @interface Mock {
|
/external/mockito/src/org/mockito/ |
Mock.java | 15 * Mark a field as a mock.
18 * <li>Allows shorthand mock creation.</li>
19 * <li>Minimizes repetitive mock creation code.</li>
21 * <li>Makes the verification error easier to read because the <b>field name</b> is used to identify the mock.</li>
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;
55 * @see Mockito#mock(Class)
64 public @interface Mock {
[all...] |
MockitoAnnotations.java | 29 * <li>Minimizes repetitive mock creation code.</li> 31 * <li>Makes the verification error easier to read because <b>field name</b> is used to identify the mock.</li> 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; 123 Object mock = annotationEngine.createMockFor(annotation, field); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
crashlogs_unittest.py | 30 from webkitpy.thirdparty.mock import Mock 82 files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150718_quadzen.crash'] = older_mock_crash_report 83 files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150719_quadzen.crash'] = mock_crash_report 84 files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150720_quadzen.crash'] = newer_mock_crash_report 85 files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150721_quadzen.crash'] = None 86 files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150722_quadzen.crash'] = other_process_mock_crash_report 87 files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150723_quadzen.crash'] = misformatted_mock_crash_report
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
manager_unittest.py | 40 from webkitpy.thirdparty.mock import Mock 47 port = Mock() # FIXME: Use a tighter mock. 49 manager = Manager(port, options=MockOptions(http=True, max_locked_shards=1), printer=Mock()) 60 manager = Manager(port, options=MockOptions(http=True, max_locked_shards=1), printer=Mock()) 112 manager = Manager(port, options=MockOptions(test_list=None, http=True, max_locked_shards=1), printer=Mock())
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
json_results_generator_unittest.py | 38 from webkitpy.thirdparty.mock import Mock 92 port = Mock()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/ |
__init__.py | 8 class Mock(object):
|
/external/chromium_org/chrome/third_party/mock4js/ |
mock4js.js | 16 // mock creation
17 object.mock = function(mockedType) {
19 throw new Mock4JSException("Cannot create mock: type to mock cannot be found or is null");
21 var newMock = new Mock(mockedType);
497 * Mock
499 function Mock(mockedType) {
501 throw new Mock4JSException("Unable to create Mock: must create Mock using a class not prototype, eg. 'new Mock(TypeToMock)' or using the convenience method 'mock(TypeToMock)'"); 14 }, function [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
queries_unittest.py | 34 from webkitpy.thirdparty.mock import Mock 102 ('/mock-checkout/LayoutTests/TestExpectations\n'
|
rebaseline_unittest.py | 39 from webkitpy.thirdparty.mock import Mock 45 MOCK_WEB_RESULT = 'MOCK Web result, convert 404 to None=True' 95 # FIXME: crbug.com/279494 - we shouldn't be mixing mock and real builder names. 96 for builder in ['MOCK builder', 'MOCK builder (Debug)', 'WebKit Mac10.7']: 117 "MOCK Leopard": {"port_name": "test-mac-leopard", "specifiers": set(["mock-specifier"])}, 118 "MOCK SnowLeopard": {"port_name": "test-mac-snowleopard", "specifiers": set(["mock-specifier"])} [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
mock.py | 0 # mock.py 6 # mock 0.6.0 7 # http://www.voidspace.org.uk/python/mock/ 55 'Mock', 97 class Mock(object): 123 if isinstance(self._return_value, Mock): 129 self._return_value = Mock() 174 raise AttributeError("Mock object has no attribute '%s'" % name) 182 self._children[name] = Mock(parent=self, name=name, wraps=wraps) 274 new = Mock(spec=spec [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/ |
gardeningserver_unittest.py | 36 from webkitpy.thirdparty.mock import Mock 103 expected_stderr = 'MOCK run_command: [\'svn\', \'cat\', \'http://src.chromium.org/chrome/trunk/src/DEPS\'], cwd=None, input=None\n' 110 print >> sys.stderr, "MOCK run_command: %s, cwd=%s, input=%s" % (args, cwd, input) 118 expected_stderr = "MOCK run_command: ['echo', 'rollout', '--force-clean', '--non-interactive', '2314', 'MOCK rollout reason'], cwd=/mock-checkout\n" 120 self._post_to_path("/rollout?revision=2314&reason=MOCK+rollout+reason", expected_stderr=expected_stderr, expected_stdout=expected_stdout) 123 expected_stderr = "MOCK run_command: ['echo', 'rebaseline-json'], cwd=/mock-checkout, input={\"user-scripts/another-test.html\":{\"%s\": [%s]}}\n [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
base_unittest.py | 40 from webkitpy.thirdparty.mock import Mock 218 port.expectations_files = lambda: ['/mock-checkout/third_party/WebKit/LayoutTests/platform/exists/TestExpectations', '/mock-checkout/third_party/WebKit/LayoutTests/platform/nonexistant/TestExpectations'] 219 port._filesystem.write_text_file('/mock-checkout/third_party/WebKit/LayoutTests/platform/exists/TestExpectations', '') 220 self.assertEqual('\n'.join(port.expectations_dict().keys()), '/mock-checkout/third_party/WebKit/LayoutTests/platform/exists/TestExpectations') 225 port._filesystem.write_text_file('/mock-checkout/third_party/WebKit/LayoutTests/platform/foo/TestExpectations', '')
|
/external/chromium_org/third_party/pymock/ |
mock.py | 0 # mock.py 3 # Copyright (C) 2007-2012 Michael Foord & the mock team 6 # mock 1.0 7 # http://www.voidspace.org.uk/python/mock/ 17 'Mock', 129 # can't use isinstance on Mock objects because they override __class__ 200 def _check_signature(func, mock, skipfirst, instance=False): 214 type(mock)._mock_check_sig = checksig 261 def _set_signature(mock, original, instance=False): 263 # mock. It still does signature checking by calling a lambda with the sam [all...] |
/external/dexmaker/lib/ |
mockito-core-1.9.1-SNAPSHOT.jar | |
/external/robolectric/lib/test/ |
mockito-core-1.8.5.jar | |
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/ |
mockito-all-1.9.5.jar | |
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/ |
mockito-core-1.9.5.jar | |