Home
last modified time | relevance | path

Searched refs:mismatches (Results 1 – 25 of 55) sorted by relevance

123

/external/mockito/src/test/java/org/mockito/internal/junit/
DArgMismatchFinderTest.java23 … StubbingArgMismatches mismatches = finder.getStubbingArgMismatches((List) asList(mock1, mock2)); in no_interactions() local
26 assertEquals(0, mismatches.size()); in no_interactions()
36 … StubbingArgMismatches mismatches = finder.getStubbingArgMismatches((List) asList(mock1, mock2)); in no_mismatch_when_mock_different() local
39 assertEquals(0, mismatches.size()); in no_mismatch_when_mock_different()
49 … StubbingArgMismatches mismatches = finder.getStubbingArgMismatches((List) asList(mock1, mock2)); in no_mismatch_when_method_different() local
52 assertEquals(0, mismatches.size()); in no_mismatch_when_method_different()
63 … StubbingArgMismatches mismatches = finder.getStubbingArgMismatches((List) asList(mock1, mock2)); in no_mismatch_when_stubbing_used() local
66 assertEquals(0, mismatches.size()); in no_mismatch_when_stubbing_used()
76 … StubbingArgMismatches mismatches = finder.getStubbingArgMismatches((List) asList(mock1, mock2)); in stubbing_mismatch() local
79 assertEquals(1, mismatches.size()); in stubbing_mismatch()
[all …]
DStubbingArgMismatchesTest.java15 StubbingArgMismatches mismatches = new StubbingArgMismatches(); field in StubbingArgMismatchesTest
20 mismatches.format("MyTest.myTestMethod", logger); in no_op_when_no_mismatches()
29 mismatches.add( in logs_mismatch()
34 mismatches.format("MyTest.myTestMethod", logger); in logs_mismatch()
47mismatches.add(new InvocationBuilder().args("x").location("-> at X.java").toInvocation(), stubbing… in multiple_matching_invocations_per_stub_plus_some_other_invocation()
48mismatches.add(new InvocationBuilder().args("y").location("-> at Y.java").toInvocation(), stubbing… in multiple_matching_invocations_per_stub_plus_some_other_invocation()
50 mismatches.add( in multiple_matching_invocations_per_stub_plus_some_other_invocation()
55 mismatches.format("MyTest.myTestMethod", logger); in multiple_matching_invocations_per_stub_plus_some_other_invocation()
/external/mockito/src/main/java/org/mockito/internal/junit/
DStubbingArgMismatches.java20 …final Map<Invocation, Set<Invocation>> mismatches = new LinkedHashMap<Invocation, Set<Invocation>>… field in StubbingArgMismatches
23 Set<Invocation> matchingInvocations = mismatches.get(stubbing); in add()
26 mismatches.put(stubbing, matchingInvocations); in add()
32 if (mismatches.isEmpty()) { in format()
38 for (Map.Entry<Invocation, Set<Invocation>> m : mismatches.entrySet()) { in format()
49 return mismatches.size(); in size()
53 return "" + mismatches; in toString()
DArgMismatchFinder.java17 StubbingArgMismatches mismatches = new StubbingArgMismatches(); in getStubbingArgMismatches() local
26 mismatches.add(i, stubbing.getInvocation()); in getStubbingArgMismatches()
30 return mismatches; in getStubbingArgMismatches()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DRobolectricWiringTest.java18 private List<String> mismatches; field in RobolectricWiringTest
21 mismatches = new ArrayList<String>(); in setUp()
30 …ertEquals("@Implementation method mismatch: " + Join.join("\n", mismatches), 0, mismatches.size()); in testAllImplementationMethodsHaveCorrectSignature()
43 mismatches.add("Missing constructor for " + shadowClass.getSimpleName()); in verifyClass()
63 mismatches.add(shadowMethod.toGenericString() + " doesn't match a real method"); in verifyMethod()
65mismatches.add(shadowMethod.toGenericString() + " doesn't match the staticness of the real method"… in verifyMethod()
68 mismatches.add(shadowMethod.toGenericString() + " should be public"); in verifyMethod()
73mismatches.add(shadowMethod.toGenericString() + " should be annotated @Implementation"); in verifyMethod()
/external/autotest/server/site_tests/network_WiFi_RegDomain/
Dnetwork_WiFi_RegDomain.py150 mismatches = 0
159 mismatches += 1
160 return mismatches
/external/swiftshader/third_party/LLVM/test/Other/
Dlint.ll68 ; CHECK: Call argument count mismatches callee argument count
70 ; CHECK: Call argument count mismatches callee argument count
72 ; CHECK: Call argument type mismatches callee parameter type
158 ; CHECK: Call return type mismatches callee return type
/external/clang/test/SemaObjCXX/
Drelated-result-type-inference.mm19 // Do not infer when instance/class mismatches
57 // Not inferred due to instance/class mismatches
/external/valgrind/memcheck/tests/
Dmismatches.vgtest1 prog: mismatches
DMakefile.in173 mempool2$(EXEEXT) mmaptest$(EXEEXT) mismatches$(EXEEXT) \
509 am_mismatches_OBJECTS = mismatches-mismatches.$(OBJEXT)
1505 mismatches.stderr.exp mismatches.vgtest \
1663 mismatches_SOURCES = mismatches.cpp
2119 mismatches$(EXEEXT): $(mismatches_OBJECTS) $(mismatches_DEPENDENCIES) $(EXTRA_mismatches_DEPENDENCI…
2120 @rm -f mismatches$(EXEEXT)
2508 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mismatches-mismatches.Po@am__quote@
3247 mismatches-mismatches.o: mismatches.cpp
3248mismatches-mismatches.o -MD -MP -MF $(DEPDIR)/mismatches-mismatches.Tpo -c -o mismatches-mismatche…
3249 …_fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mismatches-mismatches.Tpo $(DEPDIR)/mismatches-mis…
[all …]
/external/llvm/test/Other/
Dlint.ll73 ; CHECK: Call argument count mismatches callee argument count
75 ; CHECK: Call argument count mismatches callee argument count
77 ; CHECK: Call argument type mismatches callee parameter type
179 ; CHECK: Call return type mismatches callee return type
/external/clang/test/CodeGenObjC/
Dtry.m6 // __objc_personality_v0 mismatches with an actual one.
/external/autotest/server/site_tests/display_Resolution/
Dcontrol.extended.port_typec10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.mirrored.port_typec10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.mirrored10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.extended10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.4K.extended10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.suspend_resume10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.4K.mirrored10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.reboot10 CRITERIA = "This test will fail if the captured display checksum mismatches."
/external/autotest/server/site_tests/display_ResolutionList/
Dcontrol.extended10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.mirrored10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.4K.extended10 CRITERIA = "This test will fail if the captured display checksum mismatches."
Dcontrol.4K.mirrored10 CRITERIA = "This test will fail if the captured display checksum mismatches."
/external/clang/test/SemaObjC/
Drelated-result-type-inference.m19 // Do not infer when instance/class mismatches
57 // Not inferred due to instance/class mismatches

123