OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stringUnderTest
(Results
1 - 4
of
4
) sorted by null
/external/protobuf/java/core/src/test/java/com/google/protobuf/
LiteralByteStringTest.java
61
protected ByteString
stringUnderTest
;
68
stringUnderTest
= ByteString.copyFrom(referenceBytes);
73
String actualClassName = getActualClassName(
stringUnderTest
);
84
stillEqual = (referenceBytes[i] ==
stringUnderTest
.byteAt(i));
91
ByteString.ByteIterator iter =
stringUnderTest
.iterator();
109
for (byte quantum :
stringUnderTest
) {
119
stringUnderTest
.size());
123
assertEquals(classUnderTest + " must have depth 0", 0,
stringUnderTest
.getTreeDepth());
127
assertTrue(classUnderTest + " is technically balanced",
stringUnderTest
.isBalanced());
135
stringUnderTest
.copyTo(destination, sourceOffset, destinationOffset, length)
[
all
...]
BoundedByteStringTest.java
55
stringUnderTest
= ByteString.copyFrom(sourceBytes).substring(from, to);
91
oos.writeObject(
stringUnderTest
);
98
assertEquals("Should get an equal ByteString back",
stringUnderTest
, o);
RopeByteStringTest.java
58
stringUnderTest
= iter.next();
60
stringUnderTest
=
stringUnderTest
.concat(iter.next());
68
4,
stringUnderTest
.getTreeDepth());
180
oos.writeObject(
stringUnderTest
);
187
assertEquals("Should get an equal ByteString back",
stringUnderTest
, o);
RopeByteStringSubstringTest.java
56
stringUnderTest
= sourceString.substring(from, to);
65
3,
stringUnderTest
.getTreeDepth());
Completed in 199 milliseconds