Home
last modified time | relevance | path

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

12345

/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* 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 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
61 WriteLiteralToTempFile(mismatches, "mismatches"); in OnMiscompare()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dredzone_allocator_test.cc80 int64 mismatches = 0; in TEST() local
82 if (mismatches == kMaxMismatches) { in TEST()
87 ++mismatches; in TEST()
/external/llvm-project/clang/test/SemaObjCXX/
Drelated-result-type-inference.mm19 // Do not infer when instance/class mismatches
57 // Not inferred due to instance/class mismatches
/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/tensorflow/tensorflow/compiler/xla/tools/
Drun_hlo_module.cc78 const LiteralSlice& mismatches, in OnMiscompare() argument
87 WriteLiteralToTempFile(mismatches, "mismatches"); in OnMiscompare()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.h40 const LiteralSlice& mismatches, const ShapeIndex& shape_index)>;
/external/clang/test/CodeGenObjC/
Dtry.m6 // __objc_personality_v0 mismatches with an actual one.
/external/llvm-project/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/llvm-project/llvm/test/Transforms/WholeProgramDevirt/
Dvcp-type-mismatch.ll3 ; Test that we correctly handle function type mismatches in argument counts
5 ; to optimize. For bitwidth mismatches, we allow the optimization in order
/external/llvm-project/llvm/test/Other/
Dlint.ll76 ; CHECK: Call argument count mismatches callee argument count
78 ; CHECK: Call argument count mismatches callee argument count
80 ; CHECK: Call argument type mismatches callee parameter type
186 ; CHECK: Call return type mismatches callee return type
/external/llvm-project/lld/test/wasm/lto/
Dsignature-mismatch.ll6 ; mismatches with existing undefined sybmols in normal objects.
/external/autotest/server/site_tests/display_Resolution/
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.mirrored10 CRITERIA = "This test will fail if the captured display checksum mismatches."
/external/python/setuptools/setuptools/tests/
Dtest_manifest.py130 for pattern, matches, mismatches in translate_specs
140 zip(itertools.repeat(pattern), mismatches)
141 for pattern, matches, mismatches in translate_specs
/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."

12345