Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/verification/
DAtMostXVerificationTest.java32 verify(mock, atMost(2)).clear(); in shouldVerifyAtMostXTimes()
33 verify(mock, atMost(3)).clear(); in shouldVerifyAtMostXTimes()
36 verify(mock, atMost(1)).clear(); in shouldVerifyAtMostXTimes()
44 verify(mock, atMost(5)).add(anyString()); in shouldWorkWithArgumentMatchers()
47 verify(mock, atMost(0)).add(anyString()); in shouldWorkWithArgumentMatchers()
55 verify(mock, atMost(-1)).clear(); in shouldNotAllowNegativeNumber()
68 verify(mock, atMost(1)).clear(); in shouldPrintDecentMessage()
81 inOrder.verify(mock, atMost(1)).clear(); in shouldNotAllowInOrderMode()
93 verify(mock, atMost(3)).clear(); in shouldMarkInteractionsAsVerified()
103 verify(mock, atMost(3)).clear(); in shouldDetectUnverifiedInMarkInteractionsAsVerified()
DVerificationAfterDelayTest.java140 verify(mock, after(200).atMost(n)).oneArg((char) captor.capture()); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtMostVerification()
/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/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/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.java2511 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() method in Mockito
2512 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
/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/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()