Searched refs:newInstanceForTest (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | SmallSortedMapTest.java | 102 SmallSortedMap<Integer, Integer> map1 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest() 103 SmallSortedMap<Integer, Integer> map2 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest() 104 SmallSortedMap<Integer, Integer> map3 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest() 105 SmallSortedMap<Integer, Integer> map4 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest() 143 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut() 154 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testRemove() 195 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testClear() 206 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testGetArrayEntryAndOverflowEntries() 227 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetContains() 239 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetAdd() [all …]
|
D | IsValidUtf8Test.java | 140 RopeByteString.newInstanceForTest(ByteString.EMPTY, leaf), in assertValidUtf8() 141 RopeByteString.newInstanceForTest(ByteString.EMPTY, sub), in assertValidUtf8() 142 RopeByteString.newInstanceForTest(leaf, ByteString.EMPTY), in assertValidUtf8() 143 RopeByteString.newInstanceForTest(sub, ByteString.EMPTY), in assertValidUtf8() 144 RopeByteString.newInstanceForTest(sub, leaf) in assertValidUtf8()
|
D | RopeByteStringTest.java | 176 RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_returnsCanonicalEmptyString() 186 ByteString byteString = RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_raisesException()
|
D | IsValidUtf8TestUtil.java | 311 RopeByteString.newInstanceForTest( 313 RopeByteString.newInstanceForTest(bs.substring(i, j), bs.substring(j, numBytes))); 330 ByteString ropeADope = RopeByteString.newInstanceForTest(bs, bs.substring(0, numBytes));
|
D | ByteStringTest.java | 714 ByteString duo = RopeByteString.newInstanceForTest(literalString, literalString); in testConcat_empty() 716 RopeByteString.newInstanceForTest( in testConcat_empty() 717 RopeByteString.newInstanceForTest(literalString, ByteString.EMPTY), in testConcat_empty() 718 RopeByteString.newInstanceForTest(ByteString.EMPTY, literalString)); in testConcat_empty() 719 ByteString quintet = RopeByteString.newInstanceForTest(temp, ByteString.EMPTY); in testConcat_empty()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | SmallSortedMap.java | 125 static <K extends Comparable<K>, V> SmallSortedMap<K, V> newInstanceForTest(int arraySize) {
|
D | RopeByteString.java | 249 static RopeByteString newInstanceForTest(ByteString left, ByteString right) { in newInstanceForTest() method in RopeByteString
|