Searched refs:atMost (Results 1 – 11 of 11) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | RangeTest.java | 226 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 …]
|
D | RangesTest.java | 77 Ranges.atMost(7), in testEquivalentFactories()
|
D | ContiguousSetTest.java | 80 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/ |
D | VerificationWithTimeout.java | 101 public VerificationMode atMost(int maxNumberOfInvocations); in atMost() method
|
D | Timeout.java | 64 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Timeout
|
/external/mockito/src/org/mockito/internal/verification/ |
D | VerificationModeFactory.java | 36 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in VerificationModeFactory
|
/external/guava/guava/src/com/google/common/collect/ |
D | Ranges.java | 159 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Ranges 173 return atMost(endpoint); in upTo()
|
D | Range.java | 407 Ranges.atMost(domain.maxValue())); in asSet()
|
/external/mockito/src/org/mockito/ |
D | Mockito.java | 2005 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/ |
D | LittleMockTest.java | 32 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/ |
D | LittleMock.java | 266 public static CallCount atMost(long n) { return new CallCount(0, n); }
|