/external/libese/apps/boot/tests/ |
D | ese_app_boot_tests.cpp | 51 EXPECT_NE(0UL, invocations.size()); in EseTransceive() 52 if (!invocations.size()) in EseTransceive() 54 const struct Invocation &invocation = invocations.at(0); in EseTransceive() 65 invocations.erase(invocations.begin()); in EseTransceive() 74 std::vector<Invocation> invocations; member in FakeTransceive 88 trans_.invocations.resize(0); in TearDown() 101 trans_.invocations.resize(2); in TEST_F() 103 trans_.invocations[0].expected_tx.resize(kManageChannelOpenLength); in TEST_F() 104 memcpy(trans_.invocations[0].expected_tx.data(), kManageChannelOpen, in TEST_F() 106 trans_.invocations[0].rx.resize(3); in TEST_F() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | InvocationsFinder.java | 23 …public static List<Invocation> findInvocations(List<Invocation> invocations, MatchableInvocation w… in findInvocations() argument 24 return ListUtil.filter(invocations, new RemoveNotMatching(wanted)); in findInvocations() 27 …public static List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, Match… in findAllMatchingUnverifiedChunks() argument 28 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext); in findAllMatchingUnverifiedChunks() 47 …public static List<Invocation> findMatchingChunk(List<Invocation> invocations, MatchableInvocation… in findMatchingChunk() argument 48 List<Invocation> unverified = removeVerifiedInOrder(invocations, context); in findMatchingChunk() 52 return findAllMatchingUnverifiedChunks(invocations, wanted, context); in findMatchingChunk() 70 …public static Invocation findFirstMatchingUnverifiedInvocation(List<Invocation> invocations, Match… in findFirstMatchingUnverifiedInvocation() argument 71 for( Invocation invocation : removeVerifiedInOrder( invocations, context )){ in findFirstMatchingUnverifiedInvocation() 79 …public static Invocation findSimilarInvocation(List<Invocation> invocations, MatchableInvocation w… in findSimilarInvocation() argument [all …]
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | InvocationsFinderTest.java | 31 private LinkedList<Invocation> invocations = new LinkedList<Invocation>(); field in InvocationsFinderTest 46 …invocations.addAll(Arrays.asList(simpleMethodInvocation, simpleMethodInvocationTwo, differentMetho… in setup() 52 …List<Invocation> actual = InvocationsFinder.findInvocations(invocations, new InvocationMatcher(sim… in shouldFindActualInvocations() 55 …actual = InvocationsFinder.findInvocations(invocations, new InvocationMatcher(differentMethodInvoc… in shouldFindActualInvocations() 61 assertSame(simpleMethodInvocation, InvocationsFinder.findFirstUnverified(invocations)); in shouldFindFirstUnverifiedInvocation() 66 assertSame(differentMethodInvocation, InvocationsFinder.findFirstUnverified(invocations)); in shouldFindFirstUnverifiedInvocation() 69 assertNull(InvocationsFinder.findFirstUnverified(invocations)); in shouldFindFirstUnverifiedInvocation() 76 …rtSame(simpleMethodInvocation, InvocationsFinder.findFirstUnverifiedInOrder(context, invocations)); in shouldFindFirstUnverifiedInOrder() 83 …ame(differentMethodInvocation, InvocationsFinder.findFirstUnverifiedInOrder(context, invocations)); in shouldFindFirstUnverifiedInOrder() 89 assertNull(InvocationsFinder.findFirstUnverifiedInOrder(context, invocations)); in shouldFindFirstUnverifiedInOrder() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/verification/ |
D | DefaultRegisteredInvocations.java | 22 private final LinkedList<Invocation> invocations = new LinkedList<Invocation>(); field in DefaultRegisteredInvocations 25 synchronized (invocations) { in add() 26 invocations.add(invocation); in add() 32 synchronized (invocations) { in removeLast() 33 if (! invocations.isEmpty()) { in removeLast() 34 invocations.removeLast(); in removeLast() 41 synchronized (invocations) { in getAll() 42 copiedList = new LinkedList<Invocation>(invocations) ; in getAll() 49 synchronized (invocations) { in clear() 50 invocations.clear(); in clear() [all …]
|
D | Only.java | 25 List<Invocation> invocations = data.getAllInvocations(); in verify() local 26 List<Invocation> chunk = findInvocations(invocations,target); in verify() 27 if (invocations.size() != 1 && !chunk.isEmpty()) { in verify() 28 Invocation unverified = findFirstUnverified(invocations); in verify() 29 throw noMoreInteractionsWanted(unverified, (List) invocations); in verify() 31 if (invocations.size() != 1 || chunk.isEmpty()) { in verify()
|
D | VerificationDataImpl.java | 21 private final InvocationContainerImpl invocations; field in VerificationDataImpl 23 public VerificationDataImpl(InvocationContainerImpl invocations, InvocationMatcher wanted) { in VerificationDataImpl() argument 24 this.invocations = invocations; in VerificationDataImpl() 31 return invocations.getInvocations(); in getAllInvocations()
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
D | NumberOfInvocationsInOrderCheckerTest.java | 33 private List<Invocation> invocations; field in NumberOfInvocationsInOrderCheckerTest 51 invocations = emptyList(); in shouldPassIfWantedIsZeroAndMatchingChunkIsEmpty() 53 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 0, context); in shouldPassIfWantedIsZeroAndMatchingChunkIsEmpty() 59 invocations = asList(buildSimpleMethod().toInvocation()); in shouldPassIfChunkMatches() 60 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 1, context); in shouldPassIfChunkMatches() 69 invocations = asList(first, second); in shouldReportTooLittleInvocations() 76 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 4, context); in shouldReportTooLittleInvocations() 83 invocations = asList(invocation); in shouldMarkAsVerifiedInOrder() 87 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 1, context); in shouldMarkAsVerifiedInOrder() 94 … invocations = asList(buildSimpleMethod().toInvocation(), buildSimpleMethod().toInvocation()); in shouldReportTooLittleActual() [all …]
|
D | NumberOfInvocationsCheckerTest.java | 36 private List<Invocation> invocations; field in NumberOfInvocationsCheckerTest 50 … invocations = asList(buildSimpleMethod().toInvocation(), buildSimpleMethod().toInvocation()); in shouldReportTooLittleActual() 57 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); in shouldReportTooLittleActual() 63 … invocations = asList(buildSimpleMethod().toInvocation(), buildSimpleMethod().toInvocation()); in shouldReportAllInvocationsStackTrace() 71 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); in shouldReportAllInvocationsStackTrace() 76 invocations = emptyList(); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound() 85 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound() 94 invocations = asList(first, second, third); in shouldReportWithAllInvocationsStackTrace() 101 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 2); in shouldReportWithAllInvocationsStackTrace() 109 invocations = asList(first, second); in shouldReportTooManyActual() [all …]
|
D | MissingInvocationInOrderCheckerTest.java | 33 private List<Invocation> invocations; field in MissingInvocationInOrderCheckerTest 53 invocations = asList(buildSimpleMethod().toInvocation()); in shouldPassWhenMatchingInteractionFound() 56 checkMissingInvocation(invocations, wanted, context); in shouldPassWhenMatchingInteractionFound() 61 invocations = asList(buildDifferentMethod().toInvocation()); in shouldReportWantedButNotInvoked() 68 checkMissingInvocation(invocations, wanted, context); in shouldReportWantedButNotInvoked() 73 invocations = asList(buildIntArgMethod().arg(1111).toInvocation()); in shouldReportArgumentsAreDifferent() 83 checkMissingInvocation(invocations, wanted, context); in shouldReportArgumentsAreDifferent() 94 invocations = asList(invocation1,invocation2); in shouldReportWantedDiffersFromActual() 105 checkMissingInvocation(invocations, wanted, context); in shouldReportWantedDiffersFromActual()
|
D | MissingInvocationCheckerTest.java | 26 private List<Invocation> invocations; field in MissingInvocationCheckerTest 37 invocations = asList(buildSimpleMethod().toInvocation()); in shouldPassBecauseActualInvocationFound() 39 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); in shouldPassBecauseActualInvocationFound() 45 invocations = asList(buildDifferentMethod().toInvocation()); in shouldReportWantedButNotInvoked() 53 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); in shouldReportWantedButNotInvoked() 59 invocations = asList(buildIntArgMethod().arg(1111).toInvocation()); in shouldReportWantedInvocationDiffersFromActual() 68 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); in shouldReportWantedInvocationDiffersFromActual()
|
/external/libese/libese-teq1/tests/ |
D | teq1_unittests.cpp | 405 EXPECT_EQ(1, invocations.at(tx_cursor_).expect_reset); in EseReset() 422 EXPECT_GT(invocations.size(), tx_cursor_); in EseHwTransmit() 423 if (invocations.size() <= tx_cursor_) { in EseHwTransmit() 429 if (!invocations.size()) { in EseHwTransmit() 433 const struct Invocation &invocation = invocations.at(tx_cursor_++); in EseHwTransmit() 451 EXPECT_GT(invocations.size(), rx_cursor_); in EseHwReceive() 452 if (!invocations.size()) in EseHwReceive() 454 struct Invocation &invocation = invocations.at(rx_cursor_); in EseHwReceive() 482 std::vector<Invocation> invocations; member in EseWireFake 501 wire_.invocations.resize(0); in TearDown() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/verification/checkers/ |
D | MissingInvocationChecker.java | 29 …public static void checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted… in checkMissingInvocation() argument 30 List<Invocation> actualInvocations = findInvocations(invocations, wanted); in checkMissingInvocation() 36 Invocation similar = findSimilarInvocation(invocations, wanted); in checkMissingInvocation() 38 throw wantedButNotInvoked(wanted, invocations); in checkMissingInvocation() 47 …public static void checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted… in checkMissingInvocation() argument 48 List<Invocation> chunk = findAllMatchingUnverifiedChunks(invocations, wanted, context); in checkMissingInvocation() 54 Invocation previousInOrder = findPreviousVerifiedInOrder(invocations, context); in checkMissingInvocation() 59 checkMissingInvocation(invocations, wanted); in checkMissingInvocation()
|
D | NumberOfInvocationsChecker.java | 33 …public static void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation want… in checkNumberOfInvocations() argument 34 List<Invocation> actualInvocations = findInvocations(invocations, wanted); in checkNumberOfInvocations() 51 …public static void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation want… in checkNumberOfInvocations() argument 52 List<Invocation> chunk = findMatchingChunk(invocations, wanted, wantedCount, context); in checkNumberOfInvocations() 67 …public static void checkNumberOfInvocationsNonGreedy(List<Invocation> invocations, MatchableInvoca… in checkNumberOfInvocationsNonGreedy() argument 71 Invocation next = findFirstMatchingUnverifiedInvocation(invocations, wanted, context ); in checkNumberOfInvocationsNonGreedy()
|
/external/mockito/src/test/java/org/mockito/internal/verification/ |
D | DefaultRegisteredInvocationsTest.java | 19 private DefaultRegisteredInvocations invocations; field in DefaultRegisteredInvocationsTest 23 invocations = new DefaultRegisteredInvocations(); in setup() 31 invocations.add(toString); in should_not_return_to_string_method() 32 invocations.add(simpleMethod); in should_not_return_to_string_method() 34 assertTrue(invocations.getAll().contains(simpleMethod)); in should_not_return_to_string_method() 35 assertFalse(invocations.getAll().contains(toString)); in should_not_return_to_string_method()
|
/external/testng/src/test/java/test/retryAnalyzer/ |
D | InvocationCountTest.java | 23 static final Multiset<String> invocations = ConcurrentHashMultiset.create(); field in InvocationCountTest 62 assertEquals(invocations.count("testAnnotationWithNoRetries"), 0); in checkInvocationCounts() 63 assertEquals(invocations.count("testAnnotationWithOneRetry"), 1); in checkInvocationCounts() 64 assertEquals(invocations.count("testAnnotationWithSevenRetries"), 7); in checkInvocationCounts() 65 assertEquals(invocations.count("failAfterThreeRetries"), 4); in checkInvocationCounts() 116 invocations.add(result.getName()); in retry() 125 invocations.add(result.getName()); in retry()
|
/external/mockito/src/test/java/org/mockito/internal/ |
D | AllInvocationsFinderTest.java | 52 List<Invocation> invocations = find(asList(mockOne, mockTwo)); in provides_invocations_in_order() local 55 assertEquals(3, invocations.size()); in provides_invocations_in_order() 56 assertArgumentEquals(100, invocations.get(0)); in provides_invocations_in_order() 57 assertArgumentEquals(200, invocations.get(1)); in provides_invocations_in_order() 58 assertArgumentEquals(300, invocations.get(2)); in provides_invocations_in_order() 67 List<Invocation> invocations = find(asList(mockOne, mockOne, mockOne)); in deduplicates_interactions_from_the_same_mock() local 70 assertEquals(1, invocations.size()); in deduplicates_interactions_from_the_same_mock()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | StatementExecutorTest.java | 35 private Map<String, List<?>> invocations; field in StatementExecutorTest 39 invocations = new HashMap<String, List<?>>(); in setup() 50 invocations.get("target1")); in should_prefix_arguments() 60 invocations.get("target2")); in should_call_method_with_int_argument() 91 invocations.put("target1", Arrays.asList(a, b, c)); in target1() 95 invocations.put("target2", Arrays.asList(Integer.valueOf(i))); in target2()
|
/external/mockito/src/main/java/org/mockito/internal/debugging/ |
D | MockitoDebuggerImpl.java | 26 List<Invocation> invocations = AllInvocationsFinder.find(asList(mocks)); in printInvocations() local 30 for(Invocation i:invocations) { in printInvocations() 38 invocations = unusedStubsFinder.find(asList(mocks)); in printInvocations() 39 if (invocations.isEmpty()) { in printInvocations() 46 for(Invocation i:invocations) { in printInvocations()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | bernoulli_distribution_test.cc | 153 EXPECT_EQ(35, urbg.invocations()); in TEST() 159 EXPECT_EQ(35, urbg.invocations()); in TEST() 165 EXPECT_EQ(35, urbg.invocations()); in TEST() 171 EXPECT_EQ(35, urbg.invocations()); in TEST() 200 EXPECT_EQ(12, urbg.invocations()); in TEST() 206 EXPECT_EQ(12, urbg.invocations()); in TEST() 212 EXPECT_EQ(12, urbg.invocations()); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | bernoulli_distribution_test.cc | 149 EXPECT_EQ(35, urbg.invocations()); in TEST() 155 EXPECT_EQ(35, urbg.invocations()); in TEST() 161 EXPECT_EQ(35, urbg.invocations()); in TEST() 167 EXPECT_EQ(35, urbg.invocations()); in TEST() 196 EXPECT_EQ(12, urbg.invocations()); in TEST() 202 EXPECT_EQ(12, urbg.invocations()); in TEST() 208 EXPECT_EQ(12, urbg.invocations()); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | bernoulli_distribution_test.cc | 153 EXPECT_EQ(35, urbg.invocations()); in TEST() 159 EXPECT_EQ(35, urbg.invocations()); in TEST() 165 EXPECT_EQ(35, urbg.invocations()); in TEST() 171 EXPECT_EQ(35, urbg.invocations()); in TEST() 200 EXPECT_EQ(12, urbg.invocations()); in TEST() 206 EXPECT_EQ(12, urbg.invocations()); in TEST() 212 EXPECT_EQ(12, urbg.invocations()); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/random/ |
D | bernoulli_distribution_test.cc | 153 EXPECT_EQ(35, urbg.invocations()); in TEST() 159 EXPECT_EQ(35, urbg.invocations()); in TEST() 165 EXPECT_EQ(35, urbg.invocations()); in TEST() 171 EXPECT_EQ(35, urbg.invocations()); in TEST() 200 EXPECT_EQ(12, urbg.invocations()); in TEST() 206 EXPECT_EQ(12, urbg.invocations()); in TEST() 212 EXPECT_EQ(12, urbg.invocations()); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | bernoulli_distribution_test.cc | 153 EXPECT_EQ(35, urbg.invocations()); in TEST() 159 EXPECT_EQ(35, urbg.invocations()); in TEST() 165 EXPECT_EQ(35, urbg.invocations()); in TEST() 171 EXPECT_EQ(35, urbg.invocations()); in TEST() 200 EXPECT_EQ(12, urbg.invocations()); in TEST() 206 EXPECT_EQ(12, urbg.invocations()); in TEST() 212 EXPECT_EQ(12, urbg.invocations()); in TEST()
|
/external/deqp/external/openglcts/docs/specs/ |
D | CTS_ARB_shader_ballot.txt | 67 where the corresponding bits are set for all active invocations 71 that return true in some invocations and false in others. Perform 73 across invocations. Verify returned value. 80 passed as parameter. Final color should be same for all invocations - 81 first invocation completed dictates result for other invocations. 87 for all invocations - first invocation completed dictates result 88 for other invocations.
|
/external/abseil-cpp/absl/random/ |
D | bernoulli_distribution_test.cc | 149 EXPECT_EQ(35, urbg.invocations()); in TEST() 155 EXPECT_EQ(35, urbg.invocations()); in TEST() 161 EXPECT_EQ(35, urbg.invocations()); in TEST() 167 EXPECT_EQ(35, urbg.invocations()); in TEST() 196 EXPECT_EQ(12, urbg.invocations()); in TEST() 202 EXPECT_EQ(12, urbg.invocations()); in TEST() 208 EXPECT_EQ(12, urbg.invocations()); in TEST()
|