Home
last modified time | relevance | path

Searched refs:atMost (Results 1 – 25 of 123) 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/guava-tests/test/com/google/common/collect/
DRangeTest.java230 Range<Integer> range = Range.atMost(4); in testAtMost()
323 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_open()
340 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_closed()
364 assertEquals(Range.openClosed(3, 3), range.intersection(Range.atMost(3))); in testIntersection_deFactoEmpty()
386 assertEquals(range, range.intersection(Range.atMost(4))); in testIntersection_singleton()
387 assertEquals(range, range.intersection(Range.atMost(3))); in testIntersection_singleton()
400 range.intersection(Range.atMost(2)); in testIntersection_singleton()
491 Range.atMost(1).gap(Range.atMost(2)); in testGap_invalidRangesWithInfinity()
497 Range.atMost(2).gap(Range.atMost(1)); in testGap_invalidRangesWithInfinity()
507 assertEquals(Range.openClosed(3, 3), range.gap(Range.atMost(3))); in testGap_connectedAdjacentYieldsEmpty()
[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.java54 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
110 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
123 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges(); in suite()
165 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
224 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
237 return rangeMap.subRangeMap(Range.atMost(22)).asDescendingMapOfRanges(); in suite()
DSetsTest.java1314 assertEquals(empty, Sets.subSet(set, Range.atMost(0)));
1315 assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.atMost(4)));
1316 assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.atMost(7)));
1317 assertEquals(set, Sets.subSet(set, Range.atMost(20)));
1341 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/android/guava-tests/test/com/google/common/collect/
DRangeTest.java230 Range<Integer> range = Range.atMost(4); in testAtMost()
323 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_open()
340 assertFalse(range.encloses(Range.atMost(3))); in testEncloses_closed()
364 assertEquals(Range.openClosed(3, 3), range.intersection(Range.atMost(3))); in testIntersection_deFactoEmpty()
386 assertEquals(range, range.intersection(Range.atMost(4))); in testIntersection_singleton()
387 assertEquals(range, range.intersection(Range.atMost(3))); in testIntersection_singleton()
400 range.intersection(Range.atMost(2)); in testIntersection_singleton()
491 Range.atMost(1).gap(Range.atMost(2)); in testGap_invalidRangesWithInfinity()
497 Range.atMost(2).gap(Range.atMost(1)); in testGap_invalidRangesWithInfinity()
507 assertEquals(Range.openClosed(3, 3), range.gap(Range.atMost(3))); in testGap_connectedAdjacentYieldsEmpty()
[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.java1302 assertEquals(empty, Sets.subSet(set, Range.atMost(0)));
1303 assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.atMost(4)));
1304 assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.atMost(7)));
1305 assertEquals(set, Sets.subSet(set, Range.atMost(20)));
1329 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.txt21 atMost{"≤{0}"}
50 atMost{"≤{0}"}
79 atMost{"≤{0}"}
108 atMost{"≤{0}"}
137 atMost{"≤{0}"}
166 atMost{"≤{0}"}
195 atMost{"≤{0}"}
225 atMost{"≤{0}"}
254 atMost{"≤{0}"}
283 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/guava/src/com/google/common/collect/
DRange.java242 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Range
257 return atMost(endpoint); in upTo()
DContiguousSet.java70 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
/external/guava/android/guava/src/com/google/common/collect/
DRange.java242 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Range
257 return atMost(endpoint); in upTo()
DContiguousSet.java70 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
/external/icu/icu4c/source/test/testdata/
DstructLocale.txt6095 atMost{""}
6426 atMost{""}
6757 atMost{""}
7088 atMost{""}
7419 atMost{""}
7750 atMost{""}
8081 atMost{""}
8412 atMost{""}
8745 atMost{""}
9077 atMost{""}
[all …]

12345