MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / assertSizeIs

Method assertSizeIs

test/TestIntegration.java:2274–2281  ·  view source on GitHub ↗
(final int size,
                                       final Collection<T> list)

Source from the content-addressed store, hash-verified

2272 }
2273
2274 private static <T> void assertSizeIs(final int size,
2275 final Collection<T> list) {
2276 final int actual = list.size();
2277 if (size != actual) {
2278 throw new AssertionError("List was expected to contain " + size
2279 + " items but was found to contain " + actual + ": " + list);
2280 }
2281 }
2282
2283 private static void assertEq(final String expect, final byte[] actual) {
2284 assertArrayEquals(expect.getBytes(), actual);

Callers 15

putReadMethod · 0.95
putReadDeleteReadMethod · 0.95
scanCloseEarlyMethod · 0.95
scanWithQualifiersMethod · 0.95
multiDeleteMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected