Home
last modified time | relevance | path

Searched refs:stubOnly (Results 1 – 10 of 10) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java35 protected boolean stubOnly; field in CreationSettings
55 this.stubOnly = copy.stubOnly; in CreationSettings()
156 return stubOnly; in isStubOnly()
/external/mockito/src/test/java/org/mockitousage/annotation/
DAnnotationsTest.java81 @Mock(stubOnly=true) IMethods stubOnly; field in AnnotationsTest
92 assertTrue(Mockito.mockingDetails(stubOnly).getMockCreationSettings().isStubOnly()); in shouldInitMocksWithGivenSettings()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DMockAnnotationProcessor.java35 if(annotation.stubOnly()){ in processAnnotationForMock()
36 mockSettings.stubOnly(); in processAnnotationForMock()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java113 public MockSettingsImpl<T> stubOnly() { in stubOnly() method in MockSettingsImpl
114 this.stubOnly = true; in stubOnly()
163 return this.stubOnly; in isStubOnly()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DBasicStubbingTest.java104 IMethods localMock = mock(IMethods.class, withSettings().stubOnly()); in test_stub_only_not_verifiable()
122 IMethods localMock = mock(IMethods.class, withSettings().stubOnly()); in test_stub_only_not_verifiable_fail_fast()
/external/mockito/src/test/java/org/mockitousage/performance/
DStubOnlyAvoidMemoryConsumptionTest.java16 Object obj = mock(Object.class, withSettings().stubOnly()); in using_stub_only_wont_thrown_an_OutOfMemoryError()
/external/mockito/src/main/java/org/mockito/
DMock.java72 boolean stubOnly() default false; in stubOnly() method
DMockSettings.java253 MockSettings stubOnly(); in stubOnly() method
/external/mockito/src/test/java/org/mockito/internal/stubbing/
DInvocationContainerImplTest.java30 new InvocationContainerImpl( (MockCreationSettings) new MockSettingsImpl().stubOnly());
DInvocationContainerImplStubbingTest.java39 new InvocationContainerImpl( new MockSettingsImpl().stubOnly()); in setup()