Home
last modified time | relevance | path

Searched refs:verify (Results 1 – 25 of 4564) sorted by relevance

12345678910>>...183

/external/mockito/src/test/java/org/mockitousage/verification/
DBasicVerificationInOrderTest.java47 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyInOrder()
48 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrder()
49 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrder()
50 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrder()
51 inOrder.verify(mockOne).simpleMethod(4); in shouldVerifyInOrder()
57 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldVerifyInOrderUsingAtLeastOnce()
58 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderUsingAtLeastOnce()
59 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderUsingAtLeastOnce()
60 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrderUsingAtLeastOnce()
61 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(4); in shouldVerifyInOrderUsingAtLeastOnce()
[all …]
DRelaxedVerificationInOrderTest.java49 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyInOrderAllInvocations()
50 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderAllInvocations()
51 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderAllInvocations()
52 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrderAllInvocations()
53 inOrder.verify(mockOne).simpleMethod(4); in shouldVerifyInOrderAllInvocations()
59 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderAndBeRelaxed()
60 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderAndBeRelaxed()
67 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldAllowFirstChunkBeforeLastInvocation()
68 inOrder.verify(mockOne).simpleMethod(4); in shouldAllowFirstChunkBeforeLastInvocation()
78 inOrder.verify(mockTwo, times(3)).simpleMethod(2); in shouldAllowAllChunksBeforeLastInvocation()
[all …]
DVerificationInOrderWithCallsTest.java32 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodNotCalled()
40 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenMethodNotCalled()
52 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodCalledTooFewTimes()
61 verifier.verify( mockOne, calls(2)).oneArg( 2 ); in shouldFailWhenMethodCalledTooFewTimes()
73 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence()
81 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence()
93 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenDifferentMethodCallsAreOutOfSequence()
101 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenDifferentMethodCallsAreOutOfSequence()
113 verifier.verify( mockTwo, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence()
121 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence()
[all …]
DVerificationInOrderMixedWithOrdiraryVerificationTest.java44 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldMixVerificationInOrderAndOrdinaryVerification()
45 inOrder.verify(mockThree).simpleMethod(3); in shouldMixVerificationInOrderAndOrdinaryVerification()
46 inOrder.verify(mockThree).simpleMethod(4); in shouldMixVerificationInOrderAndOrdinaryVerification()
47 verify(mockTwo).simpleMethod(2); in shouldMixVerificationInOrderAndOrdinaryVerification()
54 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
56 verify(mockThree).simpleMethod(3); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
57 verify(mockThree).simpleMethod(4); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
58 verify(mockTwo).simpleMethod(2); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
65 verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowRedundantVerifications()
66 verify(mockTwo).simpleMethod(2); in shouldAllowRedundantVerifications()
[all …]
DSelectedMocksInOrderVerificationTest.java42 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyAllInvocationsInOrder()
43 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyAllInvocationsInOrder()
44 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyAllInvocationsInOrder()
45 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyAllInvocationsInOrder()
46 inOrder.verify(mockOne).simpleMethod(4); in shouldVerifyAllInvocationsInOrder()
54 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderMockTwoAndThree()
55 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderMockTwoAndThree()
56 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrderMockTwoAndThree()
64 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyInOrderMockOneAndThree()
65 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderMockOneAndThree()
[all …]
DDescriptiveMessagesWhenVerificationFailsTest.java37 verify(mock).simpleMethod(); in should_print_method_name()
60 verify(mock).threeArgumentMethod(12, new Foo(), "xx"); in should_print_method_name_and_arguments()
72 verify(mock).varargs(1, 1000); in should_print_actual_and_wanted_in_line()
98 verify(mock).varargs("x", "y", "z"); in should_print_actual_and_wanted_in_multiple_lines()
138 verify(mock).simpleMethod(10); in should_print_actual_and_wanted_when_actual_method_name_and_wanted_method_name_are_the_same()
150 verify(mock).twoArgumentMethod(1, 1); in should_print_actual_and_unverified_wanted_when_the_difference_is_about_arguments()
152 verify(mock).twoArgumentMethod(2, 1000); in should_print_actual_and_unverified_wanted_when_the_difference_is_about_arguments()
165 verify(mock).oneArg(true); in should_print_first_unexpected_invocation()
216 verify(mock, atLeastOnce()).twoArgumentMethod(1, 2); in should_print_method_name_when_verifying_at_least_once()
226 verify(mock, atLeastOnce()).twoArgumentMethod(anyInt(), eq(100)); in should_print_method_when_matcher_used()
[all …]
DVerificationWithTimeoutTest.java28 import static org.mockito.Mockito.verify;
64 verify(mock, timeout(100)).oneArg('c'); in shouldVerifyWithTimeout()
65 verify(mock, timeout(100).atLeastOnce()).oneArg('c'); in shouldVerifyWithTimeout()
66 verify(mock, timeout(100).times(1)).oneArg('c'); in shouldVerifyWithTimeout()
67 verify(mock).oneArg('c'); in shouldVerifyWithTimeout()
68 verify(mock, times(1)).oneArg('c'); in shouldVerifyWithTimeout()
77 verify(mock, never()).oneArg('c'); in shouldFailVerificationWithTimeout()
79 verify(mock, timeout(20).atLeastOnce()).oneArg('c'); in shouldFailVerificationWithTimeout()
89 verify(mock, timeout(100).atLeast(1)).oneArg('c'); in shouldAllowMixingOtherModesWithTimeout()
90 verify(mock, timeout(100).times(2)).oneArg('c'); in shouldAllowMixingOtherModesWithTimeout()
[all …]
DExactNumberOfTimesVerificationTest.java35 verify(mock, times(2)).clear(); in shouldDetectTooLittleActualInvocations()
37 verify(mock, times(100)).clear(); in shouldDetectTooLittleActualInvocations()
51 verify(mock, times(2)).clear(); in shouldDetectTooManyActualInvocations()
53 verify(mock, times(1)).clear(); in shouldDetectTooManyActualInvocations()
64 verify(mock, times(0)).clear(); in shouldDetectActualInvocationsCountIsMoreThanZero()
66 verify(mock, times(15)).clear(); in shouldDetectActualInvocationsCountIsMoreThanZero()
76 verify(mock, times(0)).clear(); in shouldDetectActuallyCalledOnce()
85 verify(mock, times(0)).clear(); in shouldPassWhenMethodsActuallyNotCalled()
86 verify(mock, times(0)).add("yes, I wasn't called"); in shouldPassWhenMethodsActuallyNotCalled()
97 verify(mock, times(2)).add("test"); in shouldNotCountInStubbedInvocations()
[all …]
DDescriptiveMessagesOnVerificationInOrderErrorsTest.java45 inOrder.verify(one).simpleMethod(1); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
46 inOrder.verify(two, atLeastOnce()).simpleMethod(2); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
49 inOrder.verify(one, atLeastOnce()).simpleMethod(11); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
79 inOrder.verify(one).differentMethod(); in shouldPrintVerificationInOrderErrorAndShowWantedOnly()
97 inOrder.verify(one).simpleMethod(999); in shouldPrintVerificationInOrderErrorAndShowWantedAndActual()
107 inOrder.verify(three).simpleMethod(3); in shouldNotSayArgumentsAreDifferent()
109 inOrder.verify(one).simpleMethod(999); in shouldNotSayArgumentsAreDifferent()
118 inOrder.verify(one).simpleMethod(1); in shouldPrintMethodThatWasNotInvoked()
119 inOrder.verify(one).simpleMethod(11); in shouldPrintMethodThatWasNotInvoked()
120 inOrder.verify(two, times(2)).simpleMethod(2); in shouldPrintMethodThatWasNotInvoked()
[all …]
DBasicVerificationTest.java29 verify(mock).clear(); in shouldVerify()
32 verify(mock).add("test"); in shouldVerify()
39 verify(mock).clear(); in shouldFailVerification()
47 verify(mock).clear(); in shouldFailVerificationOnMethodArgument()
49 verify(mock).add("bar"); in shouldFailVerificationOnMethodArgument()
61 verify(mock, atLeastOnce()).clear(); in shouldFailOnWrongMethod()
62 verify(mockTwo, atLeastOnce()).add("add"); in shouldFailOnWrongMethod()
64 verify(mockTwo, atLeastOnce()).add("foo"); in shouldFailOnWrongMethod()
75 verify(mock).clear(); in shouldDetectRedundantInvocation()
76 verify(mock).add("foo"); in shouldDetectRedundantInvocation()
[all …]
DVerificationInOrderTest.java44 verify(mockOne).simpleMethod(2); in shouldVerifySingleMockInOrderAndNotInOrder()
45 verify(mockOne).simpleMethod(1); in shouldVerifySingleMockInOrderAndNotInOrder()
47 inOrder.verify(mockOne).simpleMethod(2); in shouldVerifySingleMockInOrderAndNotInOrder()
49 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifySingleMockInOrderAndNotInOrder()
60 inOrder.verify(mockOne, atLeastOnce()).differentMethod(); in shouldMessagesPointToProperMethod()
75 inOrder.verify(mockOne, times(2)).simpleMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
76 inOrder.verify(mockTwo).differentMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
77 inOrder.verify(mockOne, times(2)).simpleMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
79 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
92 verify(mockOne, times(4)).simpleMethod(anyInt()); in shouldVerifyInOrderUsingMatcher()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java41 @Test public void verify() throws Exception { in verify() method in HostnameVerifierTest
43 assertFalse(verifier.verify("localhost", session)); in verify()
76 assertFalse(verifier.verify("foo.com", session)); in verifyCn()
77 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
78 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
111 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
112 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
144 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt()
145 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt()
146 assertTrue(verifier.verify("bar.com", session)); in verifySubjectAlt()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c206 int tls_verify_hash_init(struct tls_verify_hash *verify) in tls_verify_hash_init() argument
208 tls_verify_hash_free(verify); in tls_verify_hash_init()
209 verify->md5_client = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init()
210 verify->md5_server = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init()
211 verify->md5_cert = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init()
212 verify->sha1_client = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
213 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
214 verify->sha1_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
215 if (verify->md5_client == NULL || verify->md5_server == NULL || in tls_verify_hash_init()
216 verify->md5_cert == NULL || verify->sha1_client == NULL || in tls_verify_hash_init()
[all …]
/external/mockito/src/test/java/org/mockitousage/matchers/
DVarargsTest.java12 import static org.mockito.Mockito.verify;
54 verify(mock).varargs(); in shouldMatchVarArgs_noArgs()
62 verify(mock).varargs(isNotNull()); in shouldMatchEmptyVarArgs_noArgsIsNotNull()
70 verify(mock).varargs(isNull()); in shouldMatchEmptyVarArgs_noArgsIsNull()
78 verify(mock).varargs((String[]) isNotNull()); in shouldMatchEmptyVarArgs_noArgsIsNotNullArray()
86 verify(mock).varargs(eq(null)); in shouldMatchVarArgs_oneNullArg_eqNull()
94 verify(mock).varargs(isNull()); in shouldMatchVarArgs_oneNullArg_isNull()
102 verify(mock).varargs(isNull()); in shouldMatchVarArgs_nullArrayArg()
111 verify(mock).varargs(eq("1")); in shouldnotMatchVarArgs_twoArgsOneMatcher()
118 verify(mock).varargs((String[])any()); // any() -> VarargMatcher in shouldMatchVarArgs_emptyVarArgsOneAnyMatcher()
[all …]
/external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/
DMonitorsTest.java129 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_normalProducerMonitorSuccess()
130 order.verify(mockProducerMonitor).methodFinished(); in singleMonitor_normalProducerMonitorSuccess()
131 order.verify(mockProducerMonitor).succeeded(o); in singleMonitor_normalProducerMonitorSuccess()
150 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_normalProducerMonitorFailure()
151 order.verify(mockProducerMonitor).methodFinished(); in singleMonitor_normalProducerMonitorFailure()
152 order.verify(mockProducerMonitor).failed(t); in singleMonitor_normalProducerMonitorFailure()
174 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_throwingProducerMonitorSuccess()
175 order.verify(mockProducerMonitor).methodFinished(); in singleMonitor_throwingProducerMonitorSuccess()
176 order.verify(mockProducerMonitor).succeeded(o); in singleMonitor_throwingProducerMonitorSuccess()
198 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_throwingProducerMonitorFailure()
[all …]
/external/mockito/src/test/java/org/mockitousage/stacktrace/
DPointingStackTraceToActualInvocationInOrderTest.java55 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousVerified()
56 inOrder.verify(mockTwo).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousVerified()
59 inOrder.verify(mock).simpleMethod(999); in shouldPointStackTraceToPreviousVerified()
68 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdMethod()
71 inOrder.verify(mockTwo).simpleMethod(999); in shouldPointToThirdMethod()
80 inOrder.verify(mock).simpleMethod(anyInt()); in shouldPointToSecondMethod()
81 inOrder.verify(mockTwo).simpleMethod(anyInt()); in shouldPointToSecondMethod()
84 inOrder.verify(mockTwo, times(3)).simpleMethod(999); in shouldPointToSecondMethod()
94 inOrder.verify(mock, times(0)).simpleMethod(anyInt()); in shouldPointToFirstMethodBecauseOfTooManyActualInvocations()
103 inOrder.verify(mock).simpleMethod(anyInt()); in shouldPointToSecondMethodBecauseOfTooManyActualInvocations()
[all …]
DModellingDescriptiveMessagesTest.java38 verify(mock); in makeSureStateIsValidatedInTheVeryFirstTestThanksToTheRunner()
43 verify(mock).otherMethod(); in shouldSayWantedButNotInvoked()
51 verify(mock).simpleMethod(); in shouldPointOutInteractionsOnMockWhenOrdinaryVerificationFails()
57 verify(mock).simpleMethod(); in shouldShowActualAndExpected()
63 verify(mock, times(2)).simpleMethod(); in shouldSayTooLittleInvocations()
70 verify(mock, times(1)).simpleMethod(); in shouldSayTooManyInvocations()
78 inOrder.verify(mock).otherMethod(); in shouldSayWantedButNotInvokedInOrder()
79 inOrder.verify(mock).simpleMethod(); in shouldSayWantedButNotInvokedInOrder()
89 inOrder.verify(mock).simpleMethod(); in shouldSayTooLittleInvocationsInOrder()
90 inOrder.verify(mock, times(3)).otherMethod(); in shouldSayTooLittleInvocationsInOrder()
[all …]
DPointingStackTraceToActualInvocationChunkInOrderTest.java58 inOrder.verify(mock, times(2)).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousInvocation()
59 inOrder.verify(mockTwo, times(2)).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousInvocation()
62 inOrder.verify(mock).simpleMethod(999); in shouldPointStackTraceToPreviousInvocation()
71 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdInteractionBecauseAtLeastOnceUsed()
74 inOrder.verify(mockTwo).simpleMethod(999); in shouldPointToThirdInteractionBecauseAtLeastOnceUsed()
83 inOrder.verify(mock, times(2)).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations()
84 inOrder.verify(mockTwo, times(2)).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations()
85 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations()
88 inOrder.verify(mockTwo, times(3)).simpleMethod(999); in shouldPointToThirdChunkWhenTooLittleActualInvocations()
97 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToFourthChunkBecauseTooManyActualInvocations()
[all …]
/external/mockito/src/test/java/org/mockito/verification/
DTimeoutTest.java34 doNothing().when(mode).verify(data); in should_pass_when_verification_passes()
36 t.verify(data); in should_pass_when_verification_passes()
39 inOrder.verify(timer).start(); in should_pass_when_verification_passes()
40 inOrder.verify(timer).isCounting(); in should_pass_when_verification_passes()
51 when(mode).verify(data); in should_fail_because_verification_fails()
54 t.verify(data); in should_fail_because_verification_fails()
58 verify(timer, times(4)).isCounting(); in should_fail_because_verification_fails()
69 when(mode).verify(data); in should_pass_even_if_first_verification_fails()
71 t.verify(data); in should_pass_even_if_first_verification_fails()
72 verify(timer, times(3)).isCounting(); in should_pass_even_if_first_verification_fails()
[all …]
/external/mockito/src/test/java/org/mockitousage/examples/use/
DExampleTest.java36 verify(mockDatabase).updateNumberOfArticles("Guardian", 12); in managerCountsArticlesAndSavesThemInTheDatabase()
37 verify(mockDatabase).updateNumberOfPolishArticles("Guardian", 5); in managerCountsArticlesAndSavesThemInTheDatabase()
38 verify(mockDatabase).updateNumberOfEnglishArticles("Guardian", 7); in managerCountsArticlesAndSavesThemInTheDatabase()
45 verify(mockCalculator).countArticles("Guardian"); in managerCountsArticlesUsingCalculator()
46 verify(mockCalculator).countArticlesInPolish("Guardian"); in managerCountsArticlesUsingCalculator()
53 verify(mockDatabase).updateNumberOfArticles("Guardian", 0); in managerSavesArticlesInTheDatabase()
54 verify(mockDatabase).updateNumberOfPolishArticles("Guardian", 0); in managerSavesArticlesInTheDatabase()
55 verify(mockDatabase).updateNumberOfEnglishArticles("Guardian", 0); in managerSavesArticlesInTheDatabase()
72 verify(mockDatabase).save(articleOne); in managerUpdatesNumberOfRelatedArticles()
73 verify(mockDatabase).save(articleTwo); in managerUpdatesNumberOfRelatedArticles()
[all …]
/external/mockito/src/test/java/org/mockito/internal/verification/
DVerificationOverTimeImplTest.java18 import static org.mockito.Mockito.verify;
37 impl.verify(null); in should_return_on_success()
38 verify(delegate).verify(null); in should_return_on_success()
46 doThrow(toBeThrown).when(delegate).verify(null); in should_throw_mockito_assertion_error()
47 impl.verify(null); in should_throw_mockito_assertion_error()
56 doThrow(toBeThrown).when(delegate).verify(null); in should_deal_with_junit_assertion_error()
57 impl.verify(null); in should_deal_with_junit_assertion_error()
65 doThrow(toBeThrown).when(delegate).verify(null); in should_not_wrap_other_exceptions()
66 impl.verify(null); in should_not_wrap_other_exceptions()
/external/guava/guava-tests/test/com/google/common/cache/
DForwardingLoadingCacheTest.java22 import static org.easymock.EasyMock.verify;
60 verify(mock); in testGet()
67 verify(mock); in testGetUnchecked()
74 verify(mock); in testGetAll()
81 verify(mock); in testApply()
88 verify(mock); in testInvalidate()
95 verify(mock); in testRefresh()
102 verify(mock); in testInvalidateAll()
109 verify(mock); in testSize()
116 verify(mock); in testStats()
[all …]
/external/linux-kselftest/tools/testing/selftests/sysctl/
Dsysctl.sh165 verify() function
208 if ! verify "${TEST_FILE}"; then
216 if verify "${TARGET}"; then
225 if ! verify "${TARGET}"; then
234 if verify "${TARGET}"; then
248 if ! verify "${TARGET}"; then
258 if ! verify "${TARGET}"; then
268 if verify "${TARGET}"; then
279 if verify "${TARGET}"; then
299 if ! verify "${TARGET}"; then
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContentProviderClientTest.java6 import static org.mockito.Mockito.verify;
83 verify(provider).query(URI, PROJECTION, SELECTION, SELECTION_ARGS, SORT_ORDER); in shouldDelegateToContentProvider()
87 verify(provider).query(URI, PROJECTION, SELECTION, SELECTION_ARGS, SORT_ORDER, signal); in shouldDelegateToContentProvider()
90 verify(provider).insert(URI, VALUES); in shouldDelegateToContentProvider()
93 verify(provider).update(URI, VALUES, SELECTION, SELECTION_ARGS); in shouldDelegateToContentProvider()
96 verify(provider).delete(URI, SELECTION, SELECTION_ARGS); in shouldDelegateToContentProvider()
99 verify(provider).getType(URI); in shouldDelegateToContentProvider()
102 verify(provider).openFile(URI, "rw"); in shouldDelegateToContentProvider()
105 verify(provider).openAssetFile(URI, "r"); in shouldDelegateToContentProvider()
109 verify(provider).openTypedAssetFile(URI, MIME_TYPE, opts); in shouldDelegateToContentProvider()
[all …]
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/monitoring/
DMonitoringTest.java87 inOrder.verify(requestDataMonitor).methodStarting(); in basicMonitoring()
88 inOrder.verify(requestDataMonitor).methodFinished(); in basicMonitoring()
89 inOrder.verify(requestDataMonitor).succeeded("Hello, World!"); in basicMonitoring()
90 inOrder.verify(callServer1Monitor).methodStarting(); in basicMonitoring()
91 inOrder.verify(callServer1Monitor).methodFinished(); in basicMonitoring()
95 inOrder.verify(callServer1Monitor).succeeded("server 1 response"); in basicMonitoring()
96 inOrder.verify(callServer2Monitor).methodStarting(); in basicMonitoring()
97 inOrder.verify(callServer2Monitor).methodFinished(); in basicMonitoring()
101 inOrder.verify(callServer2Monitor).succeeded("server 2 response"); in basicMonitoring()
127 inOrder.verify(requestDataMonitor).methodStarting(); in basicMonitoringWithFailure()
[all …]

12345678910>>...183