Home
last modified time | relevance | path

Searched refs:newInstanceForTest (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java106 SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
108 SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
110 SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
112 SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
150 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut()
161 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testRemove()
202 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testClear()
213 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testGetArrayEntryAndOverflowEntries()
235 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetContains()
249 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetAdd()
[all …]
DIsValidUtf8Test.java152 RopeByteString.newInstanceForTest(ByteString.EMPTY, leaf), in assertValidUtf8()
153 RopeByteString.newInstanceForTest(ByteString.EMPTY, sub), in assertValidUtf8()
154 RopeByteString.newInstanceForTest(leaf, ByteString.EMPTY), in assertValidUtf8()
155 RopeByteString.newInstanceForTest(sub, ByteString.EMPTY), in assertValidUtf8()
156 RopeByteString.newInstanceForTest(sub, leaf)}; in assertValidUtf8()
DRopeByteStringTest.java150 RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_returnsCanonicalEmptyString()
159 RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_raisesException()
DIsValidUtf8TestUtil.java295 ByteString rope = RopeByteString.newInstanceForTest(
297 RopeByteString.newInstanceForTest(bs.substring(i, j), bs.substring(j, numBytes)));
314 ByteString ropeADope = RopeByteString.newInstanceForTest(bs, bs.substring(0, numBytes));
DByteStringTest.java619 ByteString duo = RopeByteString.newInstanceForTest(literalString, literalString); in testConcat_empty()
620 ByteString temp = RopeByteString.newInstanceForTest( in testConcat_empty()
621 RopeByteString.newInstanceForTest(literalString, ByteString.EMPTY), in testConcat_empty()
622 RopeByteString.newInstanceForTest(ByteString.EMPTY, literalString)); in testConcat_empty()
623 ByteString quintet = RopeByteString.newInstanceForTest(temp, ByteString.EMPTY); in testConcat_empty()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java132 static <K extends Comparable<K>, V> SmallSortedMap<K, V> newInstanceForTest(
DRopeByteString.java239 static RopeByteString newInstanceForTest(ByteString left, ByteString right) { in newInstanceForTest() method in RopeByteString