/external/testng/src/test/java/test/configurationfailurepolicy/ |
ClassWithSkippingBeforeMethod.java | 9 private int invocations = 0; field in class:ClassWithSkippingBeforeMethod 13 invocations++; 14 if (invocations ==2) {
|
/external/mockito/src/org/mockito/internal/verification/ |
DefaultRegisteredInvocations.java | 21 private final LinkedList<Invocation> invocations = new LinkedList<Invocation>(); field in class:DefaultRegisteredInvocations 24 synchronized (invocations) { 25 invocations.add(invocation); 31 synchronized (invocations) { 32 if (! invocations.isEmpty()) { 33 invocations.removeLast(); 40 synchronized (invocations) { 41 copiedList = new LinkedList<Invocation>(invocations) ; 48 synchronized (invocations) { 49 return invocations.isEmpty() [all...] |
VerificationDataImpl.java | 19 private final InvocationContainer invocations;
field in class:VerificationDataImpl 21 public VerificationDataImpl(InvocationContainer invocations, InvocationMatcher wanted) {
22 this.invocations = invocations;
28 return invocations.getInvocations();
|
Only.java | 26 List<Invocation> invocations = data.getAllInvocations();
local 27 List<Invocation> chunk = finder.findInvocations(invocations,wantedMatcher);
28 if (invocations.size() != 1 && chunk.size() > 0) {
29 Invocation unverified = finder.findFirstUnverified(invocations);
30 reporter.noMoreInteractionsWanted(unverified, (List) invocations);
31 } else if (invocations.size() != 1 || chunk.size() == 0) {
|
InOrderWrapper.java | 28 List<Invocation> invocations = new VerifiableInvocationsFinder().find(inOrder.getMocksToBeVerifiedInOrder());
local 29 VerificationDataInOrderImpl dataInOrder = new VerificationDataInOrderImpl(inOrder, invocations, data.getWanted());
|
AtMost.java | 32 List<Invocation> invocations = data.getAllInvocations(); local 36 List<Invocation> found = finder.findInvocations(invocations, wanted);
|
NoMoreInteractions.java | 29 List<Invocation> invocations = data.getAllInvocations(); local 30 Invocation unverified = new InvocationsFinder().findFirstUnverifiedInOrder(data.getOrderingContext(), invocations);
|
/external/mockito/src/org/mockito/internal/invocation/ |
InvocationsFinder.java | 19 public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) { 20 return ListUtil.filter(invocations, new RemoveNotMatching(wanted)); 23 public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext) { 24 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext); 31 * Given invocations sequence: 43 public List<Invocation> findMatchingChunk(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) { 44 List<Invocation> unverified = removeVerifiedInOrder(invocations, context); 48 return this.findAllMatchingUnverifiedChunks(invocations, wanted, context); 66 public Invocation findFirstMatchingUnverifiedInvocation( List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context ){ 67 for( Invocation invocation : removeVerifiedInOrder( invocations, context )) [all...] |
InvocationMarker.java | 14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) {
15 for (Invocation invocation : invocations) {
|
/external/mockito/src/org/mockito/internal/exceptions/util/ |
ScenarioPrinter.java | 13 public String print(List<VerificationAwareInvocation> invocations) {
14 if (invocations.size() == 1) {
19 "For your reference, here is the list of all invocations ([?] - means unverified).\n");
22 for (VerificationAwareInvocation i : invocations) {
|
/external/mockito/src/org/mockito/internal/debugging/ |
MockitoDebuggerImpl.java | 23 List<Invocation> invocations = allInvocationsFinder.find(asList(mocks));
local 27 for(Invocation i:invocations) {
35 invocations = unusedStubsFinder.find(asList(mocks));
36 if (invocations.isEmpty()) {
43 for(Invocation i:invocations) {
|
/external/mockito/src/org/mockito/internal/invocation/finder/ |
AllInvocationsFinder.java | 17 * gets all invocations from mocks. Invocations are ordered earlier first. 20 * @return invocations
|
VerifiableInvocationsFinder.java | 19 List<Invocation> invocations = new AllInvocationsFinder().find(mocks); local 20 return ListUtil.filter(invocations, new RemoveIgnoredForVerification());
|
/external/mockito/src/org/mockito/internal/verification/checkers/ |
MissingInvocationChecker.java | 31 public void check(List<Invocation> invocations, InvocationMatcher wanted) { 32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); 35 Invocation similar = finder.findSimilarInvocation(invocations, wanted); 42 reporter.wantedButNotInvoked(wanted, invocations);
|
MissingInvocationInOrderChecker.java | 33 public void check(List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context) { 34 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, context); 40 Invocation previousInOrder = finder.findPreviousVerifiedInOrder(invocations, context); 49 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); 51 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
|
AtLeastXNumberOfInvocationsChecker.java | 23 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { 24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
|
AtLeastXNumberOfInvocationsInOrderChecker.java | 29 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { 30 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, orderingContext);
|
NonGreedyNumberOfInvocationsInOrderChecker.java | 35 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) { 39 Invocation next = finder.findFirstMatchingUnverifiedInvocation( invocations, wanted, context );
|
NumberOfInvocationsChecker.java | 33 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { 34 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
|
/external/testng/src/test/java/test/retryAnalyzer/ |
InvocationCountTest.java | 23 static final Multiset<String> invocations = ConcurrentHashMultiset.create();
field in class:InvocationCountTest 62 assertEquals(invocations.count("testAnnotationWithNoRetries"), 0);
63 assertEquals(invocations.count("testAnnotationWithOneRetry"), 1);
64 assertEquals(invocations.count("testAnnotationWithSevenRetries"), 7);
65 assertEquals(invocations.count("failAfterThreeRetries"), 4);
116 invocations.add(result.getName());
125 invocations.add(result.getName());
|
/external/jemalloc/ |
coverage.sh | 12 # Move gcov outputs so that subsequent gcov invocations won't clobber results
|
/external/mockito/src/org/mockito/invocation/ |
Invocation.java | 29 * @return the sequence number of the Invocation. Useful to determine the order of invocations. 67 * Informs if the invocation participates in verify-no-more-invocations or verification in order. 70 * verify-no-more-invocations or verification in order. 75 * Configures this invocation to be ignored for verify-no-more-invocations or verification in order.
|
/external/valgrind/auxprogs/ |
compare-build-logs | 5 # The script intercepts directory changes and compiler invocations and 6 # compares the compiler invocations for equality. Equality is defined 7 # as "same options in both invocations ignoring order". So we only test 25 [--gcc] intercept GCC invocations (this is default) 27 [--clang] intercept clang invocations 74 # Compare two lines |c1| and |c2| which are compiler invocations for |file|. 103 # names. They should be identical in both invocations (but in any order). 177 print "*** File $log does not contain any compiler invocations\n"; 179 print "...found $num_invocations invocations\n" if ($verbose);
|
/dalvik/dx/src/com/android/dx/io/ |
IndexType.java | 44 /** inline method index (for inline linked method invocations) */ 47 /** direct vtable offset (for static linked method invocations) */
|
/external/dexmaker/src/dx/java/com/android/dx/io/ |
IndexType.java | 44 /** inline method index (for inline linked method invocations) */ 47 /** direct vtable offset (for static linked method invocations) */
|