Home
last modified time | relevance | path

Searched refs:Mock (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/external/google-breakpad/src/testing/test/
Dgmock_link_test.h205 class Mock: public Interface {
207 Mock() {} in Mock() function
220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
243 Mock mock; in TEST()
251 Mock mock; in TEST()
260 Mock mock; in TEST()
268 Mock mock; in TEST()
277 Mock mock; in TEST()
286 Mock mock; in TEST()
295 Mock mock; in TEST()
[all …]
/external/googletest/googlemock/test/
Dgmock_link_test.h205 class Mock: public Interface {
207 Mock() {} in Mock() function
220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
243 Mock mock; in TEST()
251 Mock mock; in TEST()
260 Mock mock; in TEST()
268 Mock mock; in TEST()
277 Mock mock; in TEST()
286 Mock mock; in TEST()
295 Mock mock; in TEST()
[all …]
/external/v8/testing/gmock/test/
Dgmock_link_test.h205 class Mock: public Interface {
207 Mock() {} in Mock() function
220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
243 Mock mock; in TEST()
251 Mock mock; in TEST()
260 Mock mock; in TEST()
268 Mock mock; in TEST()
277 Mock mock; in TEST()
286 Mock mock; in TEST()
295 Mock mock; in TEST()
[all …]
/external/mockito/src/test/java/org/mockitousage/annotation/
DAnnotationsTest.java11 import org.mockito.Mock;
32 @Mock List<?> list;
33 @Mock final Map<Integer, String> map = new HashMap<Integer, String>();
37 @Mock List<?> listTwo;
76 @Mock(answer = Answers.RETURNS_MOCKS, name = "i have a name") IMethods namedAndReturningMocks;
77 @Mock(answer = Answers.RETURNS_DEFAULTS) IMethods returningDefaults;
78 @Mock(extraInterfaces = {List.class}) IMethods hasExtraInterfaces;
79 @Mock() IMethods noExtraConfig;
95 @Mock private IMethods mock;
103 @Mock private IMethods mock;
[all …]
/external/v8/testing/gmock/include/gmock/
Dgmock-generated-nice-strict.h85 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
93 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
98 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
104 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
111 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
118 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
126 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
135 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
144 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
153 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-generated-nice-strict.h85 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
93 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
98 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
104 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
111 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
118 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
126 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
135 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
144 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
153 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockRectF.java21 import mockit.Mock;
33 @Mock
38 @Mock
46 @Mock
56 @Mock
68 @Mock
80 @Mock
85 @Mock
90 @Mock
DMockCanvas.java6 import mockit.Mock;
14 @Mock
19 @Mock
24 @Mock
27 @Mock
32 @Mock
DMockPointF.java4 import mockit.Mock;
12 @Mock
15 @Mock
20 @Mock
/external/googletest/googlemock/
DREADME.md1 ## Google Mock ##
49 the Apache License, which is different from Google Mock's license. argument
57 Google Test, if you choose to use Google Mock with it (recommended).
58 * Read [Google Mock for Dummies](../../master/googlemock/docs/ForDummies.md).
59 * Read the instructions below on how to build Google Mock.
61 You can also watch Zhanyong's [talk](http://www.youtube.com/watch?v=sYpCyLI47rM) on Google Mock's u…
77 ### Using Google Mock Without Google Test ###
79 Google Mock is not a testing framework itself. Instead, it needs a
80 testing framework for writing tests. Google Mock works seamlessly
86 Google Mock is implemented on top of [Google Test](
[all …]
DCHANGES8 * Improvement: Google Mock can now be built as a DLL.
26 * Improvement: the Google Mock Generator can now generate mocks for
30 * Improvement: Google Mock Doctor works better with newer Clang and
45 * Google Mock doctor understands Clang error messages now.
63 * New feature: Google Mock can be safely used in multi-threaded tests
75 * Added GCC 4.0 support for Google Mock Doctor.
76 * Added gmock_all_test.cc for compiling most Google Mock tests
84 need to be updated after upgrading to Google Mock 1.5.0; matchers defined
106 * New feature: a script for fusing all Google Mock and Google Test
108 * Improved the Google Mock doctor to diagnose more diseases.
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-nice-strict.h73 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
81 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
86 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
92 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
99 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
106 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
114 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
123 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
132 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
141 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
[all …]
/external/v8/testing/gmock/
DREADME15 Google Mock:
38 License, which is different from Google Mock's license.
43 Google Mock is implemented on top of the Google Test C++ testing
46 must use the bundled version of Google Test when using Google Mock, or
49 You can also easily configure Google Mock to work with another testing
55 Google Mock depends on advanced C++ features and thus requires a more
56 modern compiler. The following are needed to use Google Mock:
60 These are the base requirements to build and use Google Mock from a source
81 build Google Mock and its own tests from an SVN checkout (described
93 There are two primary ways of getting Google Mock's source code: you
[all …]
/external/google-breakpad/src/testing/
DREADME15 Google Mock:
38 License, which is different from Google Mock's license.
43 Google Mock is implemented on top of the Google Test C++ testing
46 must use the bundled version of Google Test when using Google Mock, or
49 You can also easily configure Google Mock to work with another testing
55 Google Mock depends on advanced C++ features and thus requires a more
56 modern compiler. The following are needed to use Google Mock:
60 These are the base requirements to build and use Google Mock from a source
81 build Google Mock and its own tests from an SVN checkout (described
93 There are two primary ways of getting Google Mock's source code: you
[all …]
DCHANGES11 * Google Mock doctor understands Clang error messages now.
29 * New feature: Google Mock can be safely used in multi-threaded tests
41 * Added GCC 4.0 support for Google Mock Doctor.
42 * Added gmock_all_test.cc for compiling most Google Mock tests
50 need to be updated after upgrading to Google Mock 1.5.0; matchers defined
72 * New feature: a script for fusing all Google Mock and Google Test
74 * Improved the Google Mock doctor to diagnose more diseases.
75 * Improved the Google Mock generator script.
81 * New feature: ability to use Google Mock with any testing framework.
87 * Improved the Google Mock doctor script for diagnosing compiler errors.
[all …]
/external/libmojo/third_party/catapult/devil/devil/android/
Dmd5sum_test.py30 mock.Mock(side_effect=lambda a, device=None: mocked_attrs[a])),
32 new=mock.Mock(return_value=True)),
43 mock_get_cmd_output = mock.Mock(
57 mock_get_cmd_output = mock.Mock(
76 mock_get_cmd_output = mock.Mock(
94 device.RunShellCommand = mock.Mock(side_effect=Exception())
107 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
127 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
151 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
176 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
[all …]
Dlogcat_monitor_test.py22 test_adb.Logcat = mock.Mock(return_value=(l for l in raw_logcat))
65 @mock.patch('time.sleep', mock.Mock())
80 @mock.patch('time.sleep', mock.Mock())
91 @mock.patch('time.sleep', mock.Mock())
106 test_adb.Logcat = mock.Mock(return_value=LogGenerator())
116 @mock.patch('time.sleep', mock.Mock())
140 @mock.patch('time.sleep', mock.Mock())
152 @mock.patch('time.sleep', mock.Mock())
167 @mock.patch('time.sleep', mock.Mock())
182 @mock.patch('time.sleep', mock.Mock())
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py30 mock.Mock(side_effect=lambda a, device=None: mocked_attrs[a])),
32 new=mock.Mock(return_value=True)),
43 mock_get_cmd_output = mock.Mock(
57 mock_get_cmd_output = mock.Mock(
76 mock_get_cmd_output = mock.Mock(
94 device.RunShellCommand = mock.Mock(side_effect=Exception())
107 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
127 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
151 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
176 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
[all …]
Dlogcat_monitor_test.py22 test_adb.Logcat = mock.Mock(return_value=(l for l in raw_logcat))
65 @mock.patch('time.sleep', mock.Mock())
80 @mock.patch('time.sleep', mock.Mock())
91 @mock.patch('time.sleep', mock.Mock())
106 test_adb.Logcat = mock.Mock(return_value=LogGenerator())
116 @mock.patch('time.sleep', mock.Mock())
140 @mock.patch('time.sleep', mock.Mock())
152 @mock.patch('time.sleep', mock.Mock())
167 @mock.patch('time.sleep', mock.Mock())
182 @mock.patch('time.sleep', mock.Mock())
[all …]
/external/googletest/googlemock/docs/v1_7/
DDocumentation.md1 This page lists all documentation wiki pages for Google Mock **(the SVN trunk version)**
2 - **if you use a released version of Google Mock, please read the documentation for that specific v…
4 * [ForDummies](V1_7_ForDummies.md) -- start here if you are new to Google Mock.
6 * [CookBook](V1_7_CookBook.md) -- recipes for doing various tasks using Google Mock.
9 To contribute code to Google Mock, read:
12 …ode.google.com/p/googletest/wiki/PumpManual) -- how we generate some of Google Mock's source files.
/external/googletest/googlemock/docs/v1_5/
DDocumentation.md1 …all documentation wiki pages for Google Mock **version 1.5.0** -- **if you use a different version…
3 * [ForDummies](V1_5_ForDummies.md) -- start here if you are new to Google Mock.
5 * [CookBook](V1_5_CookBook.md) -- recipes for doing various tasks using Google Mock.
8 To contribute code to Google Mock, read:
11 …ode.google.com/p/googletest/wiki/PumpManual) -- how we generate some of Google Mock's source files.
/external/googletest/googlemock/docs/v1_6/
DDocumentation.md1 This page lists all documentation wiki pages for Google Mock **1.6**
2 - **if you use a released version of Google Mock, please read the documentation for that specific v…
4 * [ForDummies](V1_6_ForDummies.md) -- start here if you are new to Google Mock.
6 * [CookBook](V1_6_CookBook.md) -- recipes for doing various tasks using Google Mock.
9 To contribute code to Google Mock, read:
12 …oogle.com/p/googletest/wiki/V1_6_PumpManual) -- how we generate some of Google Mock's source files.
/external/googletest/googlemock/docs/
DDocumentation.md1 This page lists all documentation wiki pages for Google Mock **(the SVN trunk version)**
2 - **if you use a released version of Google Mock, please read the documentation for that specific v…
4 * [ForDummies](ForDummies.md) -- start here if you are new to Google Mock.
6 * [CookBook](CookBook.md) -- recipes for doing various tasks using Google Mock.
9 To contribute code to Google Mock, read:
12 …* [Pump Manual](../googletest/docs/PumpManual.md) -- how we generate some of Google Mock's source …
/external/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices_test.py205 find_usb_devices._GetTtyUSBInfo = mock.Mock(
207 find_usb_devices._GetParsedLSUSBOutput = mock.Mock(
209 find_usb_devices._GetUSBDevicesOutput = mock.Mock(
211 find_usb_devices._GetCommList = mock.Mock(
213 lsusb.raw_lsusb = mock.Mock(
341 serial_mapper = mock.Mock(return_value=serial)
342 tty_mapper = mock.Mock(return_value=tty)
343 battor_lister = mock.Mock(return_value=battor)
344 devtree = mock.Mock(return_value=None)
345 is_battor = mock.Mock(side_effect=lambda x, y: x in battor)
[all …]
/external/libmojo/third_party/catapult/devil/devil/utils/
Dfind_usb_devices_test.py205 find_usb_devices._GetTtyUSBInfo = mock.Mock(
207 find_usb_devices._GetParsedLSUSBOutput = mock.Mock(
209 find_usb_devices._GetUSBDevicesOutput = mock.Mock(
211 find_usb_devices._GetCommList = mock.Mock(
213 lsusb.raw_lsusb = mock.Mock(
341 serial_mapper = mock.Mock(return_value=serial)
342 tty_mapper = mock.Mock(return_value=tty)
343 battor_lister = mock.Mock(return_value=battor)
344 devtree = mock.Mock(return_value=None)
345 is_battor = mock.Mock(side_effect=lambda x, y: x in battor)
[all …]

12345678910>>...14