Home
last modified time | relevance | path

Searched refs:atMost (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java226 Range<Integer> range = Ranges.atMost(4); in testAtMost()
319 assertFalse(range.encloses(Ranges.atMost(3))); in testEncloses_open()
336 assertFalse(range.encloses(Ranges.atMost(3))); in testEncloses_closed()
361 range.intersection(Ranges.atMost(3))); in testIntersection_deFactoEmpty()
385 assertEquals(range, range.intersection(Ranges.atMost(4))); in testIntersection_singleton()
386 assertEquals(range, range.intersection(Ranges.atMost(3))); in testIntersection_singleton()
401 range.intersection(Ranges.atMost(2)); in testIntersection_singleton()
465 assertEquals(Ranges.atMost(8), range.span(Ranges.atMost(2))); in testSpan_general()
469 assertEquals(Ranges.atMost(8), range.span(Ranges.lessThan(4))); in testSpan_general()
473 assertEquals(Ranges.atMost(8), range.span(Ranges.atMost(6))); in testSpan_general()
[all …]
DRangesTest.java77 Ranges.atMost(7), in testEquivalentFactories()
DContiguousSetTest.java80 Ranges.atMost(Integer.MAX_VALUE).asSet(integers())); in testEquals()
260 assertEquals(Ranges.atMost(Integer.MAX_VALUE), in testRange_unboundedRanges()
/external/mockito/src/org/mockito/verification/
DVerificationWithTimeout.java101 public VerificationMode atMost(int maxNumberOfInvocations); in atMost() method
DTimeout.java64 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Timeout
/external/mockito/src/org/mockito/internal/verification/
DVerificationModeFactory.java36 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in VerificationModeFactory
/external/guava/guava/src/com/google/common/collect/
DRanges.java159 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Ranges
173 return atMost(endpoint); in upTo()
DRange.java407 Ranges.atMost(domain.maxValue())); in asSet()
/external/mockito/src/org/mockito/
DMockito.java2005 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Mockito
2006 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
/external/littlemock/tests/com/google/testing/littlemock/
DLittleMockTest.java32 import static com.google.testing.littlemock.LittleMock.atMost;
351 verify(mFoo, atMost(3)).add("jim"); in testVerify_AtMostThreeTimes_SuceedsForThreeCalls()
361 verify(mFoo, atMost(3)).add("jim"); in testVerify_AtMostThreeTimes_FailsForFiveCalls()
369 verify(mFoo, atMost(3)).add("jim"); in testVerify_AtMostThreeTimes_SucceedsForTwoCalls()
373 verify(mFoo, atMost(3)).add("jim"); in testVerify_AtMostThreeTimes_SucceedsForNoCalls()
/external/littlemock/src/com/google/testing/littlemock/
DLittleMock.java266 public static CallCount atMost(long n) { return new CallCount(0, n); }