Definition at line 12 of file DecodeUtf8Test.java.
◆ assertDecode()
void com.google.protobuf.DecodeUtf8Test.assertDecode |
( |
String |
expected, |
|
|
String |
actual |
|
) |
| |
|
inlineprivate |
◆ assertInvalid() [1/2]
void com.google.protobuf.DecodeUtf8Test.assertInvalid |
( |
byte[] |
bytes | ) |
throws Exception |
|
inlineprivate |
◆ assertInvalid() [2/2]
void com.google.protobuf.DecodeUtf8Test.assertInvalid |
( |
int... |
bytesAsInt | ) |
throws Exception |
|
inlineprivate |
◆ assertInvalidSlice()
void com.google.protobuf.DecodeUtf8Test.assertInvalidSlice |
( |
byte[] |
bytes, |
|
|
int |
index, |
|
|
int |
size |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertRoundTrips() [1/2]
void com.google.protobuf.DecodeUtf8Test.assertRoundTrips |
( |
String |
str | ) |
throws Exception |
|
inlineprivate |
◆ assertRoundTrips() [2/2]
void com.google.protobuf.DecodeUtf8Test.assertRoundTrips |
( |
String |
str, |
|
|
int |
index, |
|
|
int |
size |
|
) |
| throws Exception |
|
inlineprivate |
◆ codepoints()
List<String> com.google.protobuf.DecodeUtf8Test.codepoints |
( |
String |
str | ) |
|
|
inlineprivate |
◆ testBufferSlice()
void com.google.protobuf.DecodeUtf8Test.testBufferSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testIllegalCodepoints()
void com.google.protobuf.DecodeUtf8Test.testIllegalCodepoints |
( |
| ) |
throws Exception |
|
inline |
◆ testInvalid_4BytesSamples()
void com.google.protobuf.DecodeUtf8Test.testInvalid_4BytesSamples |
( |
| ) |
throws Exception |
|
inline |
Tests that round tripping of a sample of four byte permutations work.
Definition at line 86 of file DecodeUtf8Test.java.
◆ testInvalidBufferSlice()
void com.google.protobuf.DecodeUtf8Test.testInvalidBufferSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testOneByte()
void com.google.protobuf.DecodeUtf8Test.testOneByte |
( |
| ) |
throws Exception |
|
inline |
◆ testOverlong()
void com.google.protobuf.DecodeUtf8Test.testOverlong |
( |
| ) |
throws Exception |
|
inline |
◆ testRealStrings()
void com.google.protobuf.DecodeUtf8Test.testRealStrings |
( |
| ) |
throws Exception |
|
inline |
◆ testRoundTripAllValidChars()
void com.google.protobuf.DecodeUtf8Test.testRoundTripAllValidChars |
( |
| ) |
throws Exception |
|
inline |
◆ testThreeBytes()
void com.google.protobuf.DecodeUtf8Test.testThreeBytes |
( |
| ) |
throws Exception |
|
inline |
◆ testTwoBytes()
void com.google.protobuf.DecodeUtf8Test.testTwoBytes |
( |
| ) |
throws Exception |
|
inline |
◆ logger
◆ SAFE_PROCESSOR
final Processor com.google.protobuf.DecodeUtf8Test.SAFE_PROCESSOR = new SafeProcessor() |
|
staticprivate |
◆ UNSAFE_PROCESSOR
final Processor com.google.protobuf.DecodeUtf8Test.UNSAFE_PROCESSOR = new UnsafeProcessor() |
|
staticprivate |
The documentation for this class was generated from the following file: