OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:initMocks
(Results
1 - 11
of
11
) sorted by null
/external/mockito/src/org/mockito/
MockitoAnnotations.java
25
* MockitoAnnotations.
initMocks
(this); initializes fields annotated with Mockito annotations.
50
* @Before public void
initMocks
() {
51
* MockitoAnnotations.
initMocks
(this);
58
* <b><code>MockitoAnnotations.
initMocks
(this)</code></b> method has to called to initialize annotated fields.
60
* In above example, <code>
initMocks
()</code> is called in @Before (JUnit4) method of test's base class.
61
* For JUnit3 <code>
initMocks
()</code> can go to <code>setup()</code> method of a base class.
62
* You can also put
initMocks
() in your JUnit runner (@RunWith) or use built-in runner: {@link MockitoJUnitRunner}
89
public static void
initMocks
(Object testClass) {
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/
InCallWakeLockControllerTest.java
50
MockitoAnnotations.
initMocks
(this);
/frameworks/base/core/tests/coretests/src/android/net/
NetworkScorerAppManagerTest.java
54
MockitoAnnotations.
initMocks
(this);
/cts/tests/tests/admin/src/android/admin/cts/
DeviceAdminActivationTest.java
74
MockitoAnnotations.
initMocks
(this);
/packages/apps/Camera/tests/src/com/android/camera/activity/
CameraTestCase.java
121
LittleMock.
initMocks
(this);
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
CameraTestCase.java
121
LittleMock.
initMocks
(this);
/external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java
41
import static com.google.testing.littlemock.LittleMock.
initMocks
;
90
LittleMock.
initMocks
(this);
936
initMocks
(inner);
[
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
Completed in 8210 milliseconds