Home
last modified time | relevance | path

Searched refs:atMost (Results 1 – 25 of 107) 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.java229 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()
365 range.intersection(Range.atMost(3))); in testIntersection_deFactoEmpty()
389 assertEquals(range, range.intersection(Range.atMost(4))); in testIntersection_singleton()
390 assertEquals(range, range.intersection(Range.atMost(3))); in testIntersection_singleton()
405 range.intersection(Range.atMost(2)); in testIntersection_singleton()
469 assertEquals(Range.atMost(8), range.span(Range.atMost(2))); in testSpan_general()
473 assertEquals(Range.atMost(8), range.span(Range.lessThan(4))); in testSpan_general()
477 assertEquals(Range.atMost(8), range.span(Range.atMost(6))); in testSpan_general()
[all …]
DImmutableRangeSetTest.java48 Range.atMost(4),
199 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); in testSingleBoundedBelowRange()
203 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.atMost(3)); in testSingleBoundedAboveRange()
205 assertThat(rangeSet.asRanges()).has().item(Range.atMost(3)); in testSingleBoundedAboveRange()
262 .add(Range.atMost(0)).add(Range.closedOpen(2, 5)).build(); in testMultipleBoundedAboveRanges()
265 .has().exactly(Range.atMost(0), Range.closedOpen(2, 5)).inOrder(); in testMultipleBoundedAboveRanges()
343 Range.atMost(4), in testExhaustive()
DTreeRangeMapTest.java53 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
108 mapEntry(Range.atMost(-1), "fruitcake"), in suite()
121 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges(); in suite()
DContiguousSetTest.java97 ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); in testEquals()
298 assertEquals(Range.atMost(Integer.MAX_VALUE), in testRange_unboundedRange()
DTreeRangeSetTest.java487 rangeSet.add(Range.atMost(6)); in testRemoveMiddle()
/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/icu/icu4c/source/data/locales/
Dnl.txt29 atMost{"≤{0}"}
58 atMost{"≤{0}"}
87 atMost{"≤{0}"}
116 atMost{"≤{0}"}
145 atMost{"≤{0}"}
174 atMost{"≤{0}"}
203 atMost{"≤{0}"}
233 atMost{"≤{0}"}
262 atMost{"≤{0}"}
291 atMost{"≤{0}"}
[all …]
Dkm.txt27 atMost{"≤{0}"}
Dmy.txt31 atMost{"≤{0}"}
/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/mockito/src/main/java/org/mockito/
DMockito.java2731 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Mockito
2732 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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DContiguousSet.java59 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
/external/guava/guava/src/com/google/common/collect/
DRange.java245 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() method in Range
261 return atMost(endpoint); in upTo()
DContiguousSet.java62 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DContiguousSetTest.java80 ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); in testEquals()
260 assertEquals(Range.atMost(Integer.MAX_VALUE), in testRange_unboundedRange()
/external/icu/icu4c/source/test/testdata/
DstructLocale.txt6086 atMost{""}
6415 atMost{""}
6744 atMost{""}
7073 atMost{""}
7402 atMost{""}
7731 atMost{""}
8060 atMost{""}
8391 atMost{""}
8721 atMost{""}
9050 atMost{""}
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/
DBitmapRequestBuilder.java95 public BitmapRequestBuilder<ModelType, TranscodeType> atMost() { in atMost() method in BitmapRequestBuilder
/external/mockito/src/test/java/org/mockitousage/stubbing/
DDeepStubbingTest.java266 verify(person.getAddress("the docks").getStreet(Locale.ITALIAN), atMost(1)).getName(); in times_never_atLeast_atMost_verificationModes_should_work()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcode.java396 …return Lists.newArrayList(new VersionConstraint(Range.atMost(api), Range.openClosed(0, 0), opcodeV… in lastApi()
404 …return Lists.newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atMost(artVersion), … in lastArtVersion()

12345