/external/mockito/src/org/mockito/internal/verification/ |
VerificationModeFactory.java | 36 public static VerificationMode atMost(int maxNumberOfInvocations) { 37 return new AtMost(maxNumberOfInvocations);
|
AtMost.java | 19 public class AtMost implements VerificationMode { 24 public AtMost(int maxNumberOfInvocations) {
|
/external/gmock/test/ |
gmock-cardinalities_test.cc | 45 using testing::AtMost; 83 const Cardinality c = AtMost(5); 188 // Tests AtMost(n). 192 AtMost(-1); 197 const Cardinality c = AtMost(0); 211 const Cardinality c = AtMost(2); 222 AtMost(1).DescribeTo(&ss1); 232 AtMost(3).DescribeTo(&ss3); 238 const Cardinality c = AtMost(2);
|
/external/google-breakpad/src/testing/test/ |
gmock-cardinalities_test.cc | 45 using testing::AtMost; 83 const Cardinality c = AtMost(5); 188 // Tests AtMost(n). 192 AtMost(-1); 197 const Cardinality c = AtMost(0); 211 const Cardinality c = AtMost(2); 222 AtMost(1).DescribeTo(&ss1); 232 AtMost(3).DescribeTo(&ss3); 238 const Cardinality c = AtMost(2);
|
/external/mockito/src/org/mockito/verification/ |
VerificationWithTimeout.java | 89 * validation with timeout combined with atMost simply does not make sense... 94 * In future release we will remove timeout(x).atMost(y) from the API. 101 public VerificationMode atMost(int maxNumberOfInvocations);
|
VerificationMode.java | 24 * verify(mock, atMost(3)).someMethod("was called at most 3 times");
|
Timeout.java | 64 public VerificationMode atMost(int maxNumberOfInvocations) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
RangeTest.java | 229 Range<Integer> range = Range.atMost(4); 323 assertFalse(range.encloses(Range.atMost(3))); 340 assertFalse(range.encloses(Range.atMost(3))); 365 range.intersection(Range.atMost(3))); 389 assertEquals(range, range.intersection(Range.atMost(4))); 390 assertEquals(range, range.intersection(Range.atMost(3))); 405 range.intersection(Range.atMost(2)); 469 assertEquals(Range.atMost(8), range.span(Range.atMost(2))); 473 assertEquals(Range.atMost(8), range.span(Range.lessThan(4))) [all...] |
ImmutableRangeSetTest.java | 48 Range.atMost(4), 199 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); 203 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.atMost(3)); 205 assertThat(rangeSet.asRanges()).has().item(Range.atMost(3)); 262 .add(Range.atMost(0)).add(Range.closedOpen(2, 5)).build(); 265 .has().exactly(Range.atMost(0), Range.closedOpen(2, 5)).inOrder(); 343 Range.atMost(4),
|
TreeRangeMapTest.java | 53 mapEntry(Range.atMost(-1), "fruitcake"), 108 mapEntry(Range.atMost(-1), "fruitcake"), 121 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges();
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
IncomingCallFilterTest.java | 39 import static org.mockito.Mockito.atMost; 143 verify(mResultCallback, atMost(1)).onCallFilteringComplete(any(Call.class), 156 verify(mResultCallback, atMost(1)).onCallFilteringComplete(any(Call.class),
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
WrapContentBasicTest.java | 144 int atMost = View.MeasureSpec.makeMeasureSpec(95, View.MeasureSpec.AT_MOST); 145 mLayoutManager.setMeasuredDimensionFromChildren(atMost, atMost);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
FlashlightTest.java | 196 verify(torchListener, atMost(3)).onTorchModeChanged(id, false); 201 verify(torchListener, atMost(mFlashCameraIdList.size() * 2 + 1)). 208 verify(torchListener, atMost(mFlashCameraIdList.size())).
|
/external/google-breakpad/src/processor/ |
cfi_frame_info_unittest.cc | 49 using testing::AtMost; 399 .Times(AtMost(1)) 406 .Times(AtMost(1)) 413 .Times(AtMost(1))
|
/external/libevent/ |
bufferevent_sock.c | 210 ev_ssize_t atmost = -1; local 260 atmost = _bufferevent_get_write_max(bufev_p); 267 res = evbuffer_write_atmost(bufev->output, fd, atmost);
|
bufferevent_openssl.c | 570 int r, n, i, n_used = 0, atmost; local 577 atmost = _bufferevent_get_read_max(&bev_ssl->bev); 578 if (n_to_read > atmost) 579 n_to_read = atmost; 635 do_write(struct bufferevent_openssl *bev_ssl, int atmost) 644 atmost = bev_ssl->last_write; 646 atmost = _bufferevent_get_write_max(&bev_ssl->bev); 648 n = evbuffer_peek(output, atmost, NULL, space, 8); [all...] |
/external/libweave/src/ |
weave_unittest.cc | 25 using testing::AtMost; 236 .Times(AtMost(1)) 243 .Times(AtMost(1))
|
/external/gmock/include/gmock/ |
gmock-cardinalities.h | 129 GTEST_API_ Cardinality AtMost(int n);
|
/external/gmock/src/ |
gmock-cardinalities.cc | 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); }
|
/external/google-breakpad/src/testing/include/gmock/ |
gmock-cardinalities.h | 129 GTEST_API_ Cardinality AtMost(int n);
|
/external/google-breakpad/src/testing/src/ |
gmock-cardinalities.cc | 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); }
|
/external/guava/guava/src/com/google/common/collect/ |
ContiguousSet.java | 62 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
|
Range.java | 59 * <tr><td>{@code (-?..b]} <td>{@code {x | x <= b}} <td>{@link Range#atMost atMost} 245 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { 261 return atMost(endpoint);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ContiguousSet.java | 59 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ContiguousSetTest.java | 80 ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); 260 assertEquals(Range.atMost(Integer.MAX_VALUE),
|