Home
last modified time | relevance | path

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

1234

/external/mockito/src/test/java/org/mockito/internal/junit/
DArgMismatchFinderTest.java25 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_interactions() local
28 assertEquals(0, mismatches.size()); in no_interactions()
38 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_mismatch_when_mock_different() local
41 assertEquals(0, mismatches.size()); in no_mismatch_when_mock_different()
51 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_mismatch_when_method_different() local
54 assertEquals(0, mismatches.size()); in no_mismatch_when_method_different()
65 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_mismatch_when_stubbing_used() local
68 assertEquals(0, mismatches.size()); in no_mismatch_when_stubbing_used()
78 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in stubbing_mismatch() local
81 assertEquals(1, mismatches.size()); in stubbing_mismatch()
[all …]
DStubbingArgMismatchesTest.java19 StubbingArgMismatches mismatches = new StubbingArgMismatches(); field in StubbingArgMismatchesTest
24 mismatches.format("MyTest.myTestMethod", logger); in no_op_when_no_mismatches()
33 mismatches.add( in logs_mismatch()
38 mismatches.format("MyTest.myTestMethod", logger); in logs_mismatch()
51mismatches.add(new InvocationBuilder().args("x").location("-> at X.java").toInvocation(), stubbing… in multiple_matching_invocations_per_stub_plus_some_other_invocation()
52mismatches.add(new InvocationBuilder().args("y").location("-> at Y.java").toInvocation(), stubbing… in multiple_matching_invocations_per_stub_plus_some_other_invocation()
54 mismatches.add( in multiple_matching_invocations_per_stub_plus_some_other_invocation()
59 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/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test_utils.cc303 void PrintMismatch(int64_t* mismatches, const ErrorGenerator& err_generator) { in PrintMismatch() argument
310 (*mismatches)++; in PrintMismatch()
311 if (*mismatches < kMaxMismatchesLoggedToGunit) { in PrintMismatch()
313 } else if (*mismatches < kMaxMismatchesLoggedToErr || VLOG_IS_ON(2)) { in PrintMismatch()
315 } else if (*mismatches == kMaxMismatchesLoggedToErr) { in PrintMismatch()
351 int64_t mismatches = 0; in ExpectNear() local
378 PrintMismatch(&mismatches, [&] { in ExpectNear()
440 PrintMismatch(&mismatches, [mismatch] { return mismatch; }); in ExpectNear()
442 EXPECT_EQ(mismatches, 0); in ExpectNear()
Dliteral_test_util.cc52 const LiteralSlice& mismatches, in OnMiscompare() argument
62 WriteLiteralToTempFile(mismatches, "mismatches"); in OnMiscompare()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/cuda/
Dredzone_allocator_test.cc79 int64_t mismatches = 0; in TEST() local
81 if (mismatches == kMaxMismatches) { in TEST()
86 ++mismatches; in TEST()
/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/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/setupcompat/
Dproguard.flags2 # and need to have the same class names to avoid (de)serialization errors/mismatches.
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.h54 const LiteralSlice& mismatches, const ShapeIndex& shape_index,
/external/tensorflow/tensorflow/compiler/xla/tools/
Drun_hlo_module.cc81 const LiteralSlice& mismatches, in OnMiscompare() argument
91 WriteLiteralToTempFile(mismatches, "mismatches"); in OnMiscompare()
/external/python/setuptools/setuptools/tests/
Dtest_manifest.py129 for pattern, matches, mismatches in translate_specs
139 zip(itertools.repeat(pattern), mismatches)
140 for pattern, matches, mismatches in translate_specs
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dlinkage.test57 desc "legal vertex to fragment shader varying type mismatches (vec4 to vec3)"
85 desc "legal vertex to fragment shader varying type mismatches (vec4 to vec2)"
113 desc "legal vertex to fragment shader varying type mismatches (vec4 to float)"
141 desc "legal vertex to fragment shader varying type mismatches (vec3 to vec2)"
168 desc "legal vertex to fragment shader varying type mismatches (vec3 to float)"
195 desc "legal vertex to fragment shader varying type mismatches (vec2 to float)"
221 desc "legal vertex to fragment shader varying type mismatches (ivec4 to ivec3)"
252 desc "legal vertex to fragment shader varying type mismatches (ivec4 to ivec2)"
283 desc "legal vertex to fragment shader varying type mismatches (ivec4 to int)"
314 desc "legal vertex to fragment shader varying type mismatches (ivec3 to ivec2)"
[all …]
/external/autotest/server/site_tests/display_Resolution/
Dcontrol.mirrored10 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.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.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.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.4K.mirrored10 CRITERIA = "This test will fail if the captured display checksum mismatches."

1234