Home
last modified time | relevance | path

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

12345

/external/mockito/src/test/java/org/mockitousage/verification/
DAtMostXVerificationTest.java22 import static org.mockito.Mockito.atMost;
36 verify(mock, atMost(2)).clear(); in shouldVerifyAtMostXTimes()
37 verify(mock, atMost(3)).clear(); in shouldVerifyAtMostXTimes()
40 verify(mock, atMost(1)).clear(); in shouldVerifyAtMostXTimes()
48 verify(mock, atMost(5)).add(anyString()); in shouldWorkWithArgumentMatchers()
51 verify(mock, atMost(0)).add(anyString()); in shouldWorkWithArgumentMatchers()
59 verify(mock, atMost(-1)).clear(); in shouldNotAllowNegativeNumber()
72 verify(mock, atMost(1)).clear(); in shouldPrintDecentMessage()
85 inOrder.verify(mock, atMost(1)).clear(); in shouldNotAllowInOrderMode()
97 verify(mock, atMost(3)).clear(); in shouldMarkInteractionsAsVerified()
[all …]
DVerificationWithAfterTest.java135 verify(mock, after(300).atMost(2)).oneArg('1'); in should_verify_with_at_most()
149 verify(mock, after(300).atMost(1)).oneArg('1'); in should_verify_with_at_most_and_fail()
213 verify(mock, after(10000).atMost(1)).oneArg('1'); in should_fail_early_when_at_most_is_used()
DVerificationWithAfterAndCaptorTest.java50 verify(mock, after(200).atMost(n)).oneArg((char) captor.capture()); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtMostVerification()
/external/guava/android/guava-tests/test/com/google/common/collect/
DRangeTest.java227 Range<Integer> range = Range.atMost(4); in testAtMost()
320 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_open()
337 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_closed()
361 assertEquals(Range.openClosed(3, 3), range.intersection(Range.atMost(3))); in testIntersection_deFactoEmpty()
383 assertEquals(range, range.intersection(Range.atMost(4))); in testIntersection_singleton()
384 assertEquals(range, range.intersection(Range.atMost(3))); in testIntersection_singleton()
397 range.intersection(Range.atMost(2)); in testIntersection_singleton()
478 assertEquals(Range.openClosed(3, 3), range.gap(Range.atMost(3))); in testGap_connectedAdjacentYieldsEmpty()
490 assertEquals(Range.openClosed(2, 4), Range.atMost(2).gap(openRange)); in testGap_general()
491 assertEquals(Range.openClosed(2, 4), openRange.gap(Range.atMost(2))); in testGap_general()
[all …]
DImmutableRangeSetTest.java200 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); in testSingleBoundedBelowRange()
204 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.atMost(3)); in testSingleBoundedAboveRange()
206 assertThat(rangeSet.asRanges()).contains(Range.atMost(3)); in testSingleBoundedAboveRange()
290 .add(Range.atMost(0)) in testMultipleBoundedAboveRanges()
295 .containsExactly(Range.atMost(0), Range.closedOpen(2, 5)) in testMultipleBoundedAboveRanges()
392 Range.atMost(4), in testExhaustive()
DTreeRangeMapTest.java53 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
109 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
122 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges(); in suite()
164 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
223 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
236 return rangeMap.subRangeMap(Range.atMost(22)).asDescendingMapOfRanges(); in suite()
DSetsTest.java1294 assertEquals(empty, Sets.subSet(set, Range.atMost(0)));
1295 assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.atMost(4)));
1296 assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.atMost(7)));
1297 assertEquals(set, Sets.subSet(set, Range.atMost(20)));
1321 assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.atMost(8)));
DContiguousSetTest.java134 ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); in testEquals()
355 Range.atMost(Integer.MAX_VALUE), in testRange_unboundedRange()
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java227 Range<Integer> range = Range.atMost(4); in testAtMost()
320 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_open()
337 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_closed()
361 assertEquals(Range.openClosed(3, 3), range.intersection(Range.atMost(3))); in testIntersection_deFactoEmpty()
383 assertEquals(range, range.intersection(Range.atMost(4))); in testIntersection_singleton()
384 assertEquals(range, range.intersection(Range.atMost(3))); in testIntersection_singleton()
397 range.intersection(Range.atMost(2)); in testIntersection_singleton()
478 assertEquals(Range.openClosed(3, 3), range.gap(Range.atMost(3))); in testGap_connectedAdjacentYieldsEmpty()
490 assertEquals(Range.openClosed(2, 4), Range.atMost(2).gap(openRange)); in testGap_general()
491 assertEquals(Range.openClosed(2, 4), openRange.gap(Range.atMost(2))); in testGap_general()
[all …]
DImmutableRangeSetTest.java201 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); in testSingleBoundedBelowRange()
205 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.atMost(3)); in testSingleBoundedAboveRange()
207 assertThat(rangeSet.asRanges()).contains(Range.atMost(3)); in testSingleBoundedAboveRange()
291 .add(Range.atMost(0)) in testMultipleBoundedAboveRanges()
296 .containsExactly(Range.atMost(0), Range.closedOpen(2, 5)) in testMultipleBoundedAboveRanges()
393 Range.atMost(4), in testExhaustive()
DTreeRangeMapTest.java53 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
109 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
122 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges(); in suite()
164 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
223 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
236 return rangeMap.subRangeMap(Range.atMost(22)).asDescendingMapOfRanges(); in suite()
DSetsTest.java1306 assertEquals(empty, Sets.subSet(set, Range.atMost(0)));
1307 assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.atMost(4)));
1308 assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.atMost(7)));
1309 assertEquals(set, Sets.subSet(set, Range.atMost(20)));
1333 assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.atMost(8)));
DContiguousSetTest.java134 ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); in testEquals()
355 Range.atMost(Integer.MAX_VALUE), in testRange_unboundedRange()
/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationWrapper.java29 return copySelfWithNewVerificationMode(VerificationModeFactory.atMost(0)); in never()
40 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in VerificationWrapper
41 … return copySelfWithNewVerificationMode(VerificationModeFactory.atMost(maxNumberOfInvocations)); in atMost()
DVerificationModeFactory.java36 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in VerificationModeFactory
/external/mockito/src/main/java/org/mockito/verification/
DVerificationAfterDelay.java56 VerificationMode atMost(int maxNumberOfInvocations); in atMost() method
DTimeout.java55 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Timeout
/external/icu/icu4c/source/data/locales/
Dnl.txt20 atMost{"≤{0}"}
49 atMost{"≤{0}"}
78 atMost{"≤{0}"}
107 atMost{"≤{0}"}
136 atMost{"≤{0}"}
165 atMost{"≤{0}"}
194 atMost{"≤{0}"}
224 atMost{"≤{0}"}
253 atMost{"≤{0}"}
282 atMost{"≤{0}"}
[all …]
/external/mockito/src/main/java/org/mockito/
DMockito.java2741 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Mockito
2742 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DCachedSubchannelPoolTest.java23 import static org.mockito.Mockito.atMost;
104 verify(subchannel, atMost(1)).shutdown(); in wrapUp()
/external/guava/android/guava/src/com/google/common/collect/
DRange.java241 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Range
256 return atMost(endpoint); in upTo()
DContiguousSet.java70 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
/external/guava/guava/src/com/google/common/collect/
DRange.java241 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Range
256 return atMost(endpoint); in upTo()
DContiguousSet.java70 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
/external/icu/icu4c/source/test/testdata/
DstructLocale.txt6094 atMost{""}
6423 atMost{""}
6752 atMost{""}
7081 atMost{""}
7410 atMost{""}
7739 atMost{""}
8068 atMost{""}
8399 atMost{""}
8729 atMost{""}
9058 atMost{""}
[all …]

12345