Home
last modified time | relevance | path

Searched defs:mock2 (Results 1 – 25 of 26) sorted by relevance

12

/aosp_15_r20/external/perfetto/ui/src/base/
H A Dasync_limiter_unittest.ts24 const mock2 = jest.fn(); constant
35 const mock2 = jest.fn(); constant
48 const mock2 = jest.fn(); constant
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/verification/
H A DVerificationStartedListenerTest.java38 …List mock2 = mock(List.class, Mockito.withSettings().verificationStartedListeners(new Verification… in verified_mock_can_be_replaced() local
81 …List mock2 = mock(List.class, Mockito.withSettings().verificationStartedListeners(new Verification… in listeners_are_executed_in_sequence() local
H A DOnlyVerificationTest.java25 @Mock private List<Object> mock2; field in OnlyVerificationTest
H A DFindingRedundantInvocationsInOrderTest.java24 @Mock private IMethods mock2; field in FindingRedundantInvocationsInOrderTest
H A DVerificationInOrderWithTimeoutTest.java32 @Mock private IMethods mock2; field in VerificationInOrderWithTimeoutTest
/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/loader/
H A DClasspathSdkHttpServiceProviderTest.java82 SdkHttpService mock2 = mock(SdkHttpService.class); in multipleSyncImplementationsFound_ReturnHighestPriority() local
98 SdkAsyncHttpService mock2 = mock(SdkAsyncHttpService.class); in multipleAsyncImplementationsFound_ReturnHighestPriority() local
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/bugs/
H A DNPEWhenMockingThrowablesTest.java19 @Mock DummyException mock2; field in NPEWhenMockingThrowablesTest
H A DCovariantOverrideTest.java53 ReturnsObject mock2 = mock; // Switch to base type to call covariant override in returnFoo4() local
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/junitrunner/
H A DUnusedStubsExceptionMessageTest.java28 IMethods mock2 = when(mock(IMethods.class).simpleMethod(2)).thenReturn("2").getMock(); field in UnusedStubsExceptionMessageTest.HasUnnecessaryStubs
H A DSilentRunnerTest.java120 IMethods mock2 = when(mock(IMethods.class).simpleMethod(2)).thenReturn("2").getMock(); field in SilentRunnerTest.HasUnnecessaryStubs
H A DStrictRunnerTest.java134 IMethods mock2 = mock(IMethods.class); field in StrictRunnerTest.WithUnrelatedAssertionFailure
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/junitrule/
H A DStrictJUnitRuleTest.java32 @Mock IMethods mock2; field in StrictJUnitRuleTest
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/internal/junit/
H A DUnusedStubbingsFinderTest.java32 @Mock IMethods mock2; field in UnusedStubbingsFinderTest
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/junit/
H A DArgMismatchFinderTest.java20 @Mock IMethods mock2; field in ArgMismatchFinderTest
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/framework/
H A DDefaultMockitoFrameworkTest.java80 Set mock2 = mock(Set.class); in adds_creation_listener() local
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DEnumTest.java236 MockEnum2 mock2 = new MockEnum2(); in testSerializationSelf() local
/aosp_15_r20/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
H A DMultiReportVisitorTest.java121 IReportVisitor mock2 = new MockVisitor(); in testMultiFormatter() local
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/util/collections/
H A DHashCodeAndEqualsSafeSetTest.java46 UnmockableHashCodeAndEquals mock2 = mock(UnmockableHashCodeAndEquals.class); in mock_with_failing_equals_method_can_be_used() local
/aosp_15_r20/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
H A DCompositeReadableBufferTest.java306 ReadableBuffer mock2 = mock(ReadableBuffer.class); in closeShouldCloseBuffers() local
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
H A DConstraintChangeTest.kt36 val mock2: ConstraintChange = mock() in testSumNonNull() constant
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/session/
H A DMockitoSessionTest.java192 IMethods mock2 = Mockito.mock(IMethods.class, "manual mock"); field in MockitoSessionTest.SessionWithManuallyInitializedMock
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/basicapi/
H A DMocksSerializationTest.java216 IMethods mock2 = mock(IMethods.class, withSettings().serializable()); in should_verify_call_order_for_serialized_mock() local
/aosp_15_r20/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py233 def test(this1, this2, mock1, mock2): argument
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/unittest/test/testmock/
H A Dtestpatch.py233 def test(this1, this2, mock1, mock2): argument
/aosp_15_r20/prebuilts/module_sdk/art/1/test-exports/java/
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...

12