|
static void | assertEncoding (String message) |
|
static void | assertEncoding (String message) |
|
static void | assertIsValid (byte[] data, boolean valid) |
|
static void | assertIsValid (byte[] data, boolean valid) |
|
static byte[] | encodeToByteArray (String message, int length, Utf8.Processor processor) |
|
static byte[] | encodeToByteArray (String message, int length, Utf8.Processor processor) |
|
static byte[] | encodeToByteBuffer (String message, int length, boolean direct, Utf8.Processor processor) |
|
static byte[] | encodeToByteBuffer (String message, int length, boolean direct, Utf8.Processor processor) |
|
static String | randomString (int maxCodePoint) |
|
static String | randomString (int maxCodePoint) |
|
◆ assertEncoding() [1/2]
static void com.google.protobuf.Utf8Test.assertEncoding |
( |
String |
message | ) |
|
|
inlinestaticprivate |
◆ assertEncoding() [2/2]
static void com.google.protobuf.Utf8Test.assertEncoding |
( |
String |
message | ) |
|
|
inlinestaticprivate |
◆ assertEncoding_insufficientSpace() [1/2]
void com.google.protobuf.Utf8Test.assertEncoding_insufficientSpace |
( |
String |
message | ) |
|
|
inlineprivate |
◆ assertEncoding_insufficientSpace() [2/2]
void com.google.protobuf.Utf8Test.assertEncoding_insufficientSpace |
( |
String |
message | ) |
|
|
inlineprivate |
◆ assertExceptionMessage()
void com.google.protobuf.Utf8Test.assertExceptionMessage |
( |
Throwable |
t, |
|
|
int |
index |
|
) |
| |
|
inlineprivate |
◆ assertIsValid() [1/2]
static void com.google.protobuf.Utf8Test.assertIsValid |
( |
byte[] |
data, |
|
|
boolean |
valid |
|
) |
| |
|
inlinestaticprivate |
◆ assertIsValid() [2/2]
static void com.google.protobuf.Utf8Test.assertIsValid |
( |
byte[] |
data, |
|
|
boolean |
valid |
|
) |
| |
|
inlinestaticprivate |
◆ encodeToByteArray() [1/2]
static byte [] com.google.protobuf.Utf8Test.encodeToByteArray |
( |
String |
message, |
|
|
int |
length, |
|
|
Utf8.Processor |
processor |
|
) |
| |
|
inlinestaticprivate |
◆ encodeToByteArray() [2/2]
static byte [] com.google.protobuf.Utf8Test.encodeToByteArray |
( |
String |
message, |
|
|
int |
length, |
|
|
Utf8.Processor |
processor |
|
) |
| |
|
inlinestaticprivate |
◆ encodeToByteBuffer() [1/2]
static byte [] com.google.protobuf.Utf8Test.encodeToByteBuffer |
( |
String |
message, |
|
|
int |
length, |
|
|
boolean |
direct, |
|
|
Utf8.Processor |
processor |
|
) |
| |
|
inlinestaticprivate |
◆ encodeToByteBuffer() [2/2]
static byte [] com.google.protobuf.Utf8Test.encodeToByteBuffer |
( |
String |
message, |
|
|
int |
length, |
|
|
boolean |
direct, |
|
|
Utf8.Processor |
processor |
|
) |
| |
|
inlinestaticprivate |
◆ randomString() [1/2]
static String com.google.protobuf.Utf8Test.randomString |
( |
int |
maxCodePoint | ) |
|
|
inlinestaticprivate |
◆ randomString() [2/2]
static String com.google.protobuf.Utf8Test.randomString |
( |
int |
maxCodePoint | ) |
|
|
inlinestaticprivate |
◆ testEncode() [1/2]
void com.google.protobuf.Utf8Test.testEncode |
( |
| ) |
|
|
inline |
◆ testEncode() [2/2]
void com.google.protobuf.Utf8Test.testEncode |
( |
| ) |
|
|
inline |
◆ testEncode_insufficientSpace() [1/2]
void com.google.protobuf.Utf8Test.testEncode_insufficientSpace |
( |
| ) |
|
|
inline |
◆ testEncode_insufficientSpace() [2/2]
void com.google.protobuf.Utf8Test.testEncode_insufficientSpace |
( |
| ) |
|
|
inline |
◆ testInvalidSurrogateCodepoint() [1/2]
void com.google.protobuf.Utf8Test.testInvalidSurrogateCodepoint |
( |
| ) |
|
|
inline |
◆ testInvalidSurrogateCodepoint() [2/2]
void com.google.protobuf.Utf8Test.testInvalidSurrogateCodepoint |
( |
| ) |
|
|
inline |
◆ testMaxCodepointExceeded() [1/2]
void com.google.protobuf.Utf8Test.testMaxCodepointExceeded |
( |
| ) |
|
|
inline |
◆ testMaxCodepointExceeded() [2/2]
void com.google.protobuf.Utf8Test.testMaxCodepointExceeded |
( |
| ) |
|
|
inline |
◆ testOverlongIsInvalid() [1/2]
void com.google.protobuf.Utf8Test.testOverlongIsInvalid |
( |
| ) |
|
|
inline |
◆ testOverlongIsInvalid() [2/2]
void com.google.protobuf.Utf8Test.testOverlongIsInvalid |
( |
| ) |
|
|
inline |
◆ testValid() [1/2]
void com.google.protobuf.Utf8Test.testValid |
( |
| ) |
|
|
inline |
◆ testValid() [2/2]
void com.google.protobuf.Utf8Test.testValid |
( |
| ) |
|
|
inline |
◆ NUM_CHARS
static final int com.google.protobuf.Utf8Test.NUM_CHARS = 16384 |
|
staticprivate |
◆ safeProcessor
static final Utf8 Processor com.google.protobuf.Utf8Test.safeProcessor = new Utf8.SafeProcessor() |
|
staticprivate |
◆ unsafeProcessor
static final Utf8 Processor com.google.protobuf.Utf8Test.unsafeProcessor = new Utf8.UnsafeProcessor() |
|
staticprivate |
The documentation for this class was generated from the following file: