|
void | assertDecode (String expected, String actual) |
|
void | assertDecode (String expected, String actual) |
|
void | assertInvalid (byte[] bytes) throws Exception |
|
void | assertInvalid (byte[] bytes, ByteBuffer buffer) throws Exception |
|
void | assertInvalid (int... bytesAsInt) throws Exception |
|
void | assertInvalid (int... bytesAsInt) throws Exception |
|
void | assertInvalidSlice (byte[] bytes, int index, int size) throws Exception |
|
void | assertInvalidSlice (byte[] bytes, int index, int size) throws Exception |
|
void | assertRoundTrips (String str) throws Exception |
|
void | assertRoundTrips (String str) throws Exception |
|
void | assertRoundTrips (String str, int index, int size) throws Exception |
|
void | assertRoundTrips (String str, int index, int size) throws Exception |
|
List< String > | codepoints (String str) |
|
List< String > | codepoints (String str) |
|
|
static Logger | logger = Logger.getLogger(DecodeUtf8Test.class.getName()) |
|
static final Processor | SAFE_PROCESSOR = new SafeProcessor() |
|
static final Processor | UNSAFE_PROCESSOR = new UnsafeProcessor() |
|
◆ assertDecode() [1/2]
void com.google.protobuf.DecodeUtf8Test.assertDecode |
( |
String |
expected, |
|
|
String |
actual |
|
) |
| |
|
inlineprivate |
◆ assertDecode() [2/2]
void com.google.protobuf.DecodeUtf8Test.assertDecode |
( |
String |
expected, |
|
|
String |
actual |
|
) |
| |
|
inlineprivate |
◆ assertInvalid() [1/4]
void com.google.protobuf.DecodeUtf8Test.assertInvalid |
( |
byte[] |
bytes | ) |
throws Exception |
|
inlineprivate |
◆ assertInvalid() [2/4]
void com.google.protobuf.DecodeUtf8Test.assertInvalid |
( |
byte[] |
bytes, |
|
|
ByteBuffer |
buffer |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertInvalid() [3/4]
void com.google.protobuf.DecodeUtf8Test.assertInvalid |
( |
int... |
bytesAsInt | ) |
throws Exception |
|
inlineprivate |
◆ assertInvalid() [4/4]
void com.google.protobuf.DecodeUtf8Test.assertInvalid |
( |
int... |
bytesAsInt | ) |
throws Exception |
|
inlineprivate |
◆ assertInvalidSlice() [1/2]
void com.google.protobuf.DecodeUtf8Test.assertInvalidSlice |
( |
byte[] |
bytes, |
|
|
int |
index, |
|
|
int |
size |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertInvalidSlice() [2/2]
void com.google.protobuf.DecodeUtf8Test.assertInvalidSlice |
( |
byte[] |
bytes, |
|
|
int |
index, |
|
|
int |
size |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertRoundTrips() [1/4]
void com.google.protobuf.DecodeUtf8Test.assertRoundTrips |
( |
String |
str | ) |
throws Exception |
|
inlineprivate |
◆ assertRoundTrips() [2/4]
void com.google.protobuf.DecodeUtf8Test.assertRoundTrips |
( |
String |
str | ) |
throws Exception |
|
inlineprivate |
◆ assertRoundTrips() [3/4]
void com.google.protobuf.DecodeUtf8Test.assertRoundTrips |
( |
String |
str, |
|
|
int |
index, |
|
|
int |
size |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertRoundTrips() [4/4]
void com.google.protobuf.DecodeUtf8Test.assertRoundTrips |
( |
String |
str, |
|
|
int |
index, |
|
|
int |
size |
|
) |
| throws Exception |
|
inlineprivate |
◆ codepoints() [1/2]
List<String> com.google.protobuf.DecodeUtf8Test.codepoints |
( |
String |
str | ) |
|
|
inlineprivate |
◆ codepoints() [2/2]
List<String> com.google.protobuf.DecodeUtf8Test.codepoints |
( |
String |
str | ) |
|
|
inlineprivate |
◆ testBufferSlice() [1/2]
void com.google.protobuf.DecodeUtf8Test.testBufferSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testBufferSlice() [2/2]
void com.google.protobuf.DecodeUtf8Test.testBufferSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testIllegalCodepoints() [1/2]
void com.google.protobuf.DecodeUtf8Test.testIllegalCodepoints |
( |
| ) |
throws Exception |
|
inline |
◆ testIllegalCodepoints() [2/2]
void com.google.protobuf.DecodeUtf8Test.testIllegalCodepoints |
( |
| ) |
throws Exception |
|
inline |
◆ testInvalid_4BytesSamples() [1/2]
void com.google.protobuf.DecodeUtf8Test.testInvalid_4BytesSamples |
( |
| ) |
throws Exception |
|
inline |
◆ testInvalid_4BytesSamples() [2/2]
void com.google.protobuf.DecodeUtf8Test.testInvalid_4BytesSamples |
( |
| ) |
throws Exception |
|
inline |
◆ testInvalidBufferSlice() [1/2]
void com.google.protobuf.DecodeUtf8Test.testInvalidBufferSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testInvalidBufferSlice() [2/2]
void com.google.protobuf.DecodeUtf8Test.testInvalidBufferSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testOneByte() [1/2]
void com.google.protobuf.DecodeUtf8Test.testOneByte |
( |
| ) |
throws Exception |
|
inline |
◆ testOneByte() [2/2]
void com.google.protobuf.DecodeUtf8Test.testOneByte |
( |
| ) |
throws Exception |
|
inline |
◆ testOverlong() [1/2]
void com.google.protobuf.DecodeUtf8Test.testOverlong |
( |
| ) |
throws Exception |
|
inline |
◆ testOverlong() [2/2]
void com.google.protobuf.DecodeUtf8Test.testOverlong |
( |
| ) |
throws Exception |
|
inline |
◆ testRealStrings() [1/2]
void com.google.protobuf.DecodeUtf8Test.testRealStrings |
( |
| ) |
throws Exception |
|
inline |
◆ testRealStrings() [2/2]
void com.google.protobuf.DecodeUtf8Test.testRealStrings |
( |
| ) |
throws Exception |
|
inline |
◆ testRoundTripAllValidChars() [1/2]
void com.google.protobuf.DecodeUtf8Test.testRoundTripAllValidChars |
( |
| ) |
throws Exception |
|
inline |
◆ testRoundTripAllValidChars() [2/2]
void com.google.protobuf.DecodeUtf8Test.testRoundTripAllValidChars |
( |
| ) |
throws Exception |
|
inline |
◆ testThreeBytes() [1/2]
void com.google.protobuf.DecodeUtf8Test.testThreeBytes |
( |
| ) |
throws Exception |
|
inline |
◆ testThreeBytes() [2/2]
void com.google.protobuf.DecodeUtf8Test.testThreeBytes |
( |
| ) |
throws Exception |
|
inline |
◆ testTwoBytes() [1/2]
void com.google.protobuf.DecodeUtf8Test.testTwoBytes |
( |
| ) |
throws Exception |
|
inline |
◆ testTwoBytes() [2/2]
void com.google.protobuf.DecodeUtf8Test.testTwoBytes |
( |
| ) |
throws Exception |
|
inline |
◆ logger
static Logger com.google.protobuf.DecodeUtf8Test.logger = Logger.getLogger(DecodeUtf8Test.class.getName()) |
|
staticprivate |
◆ SAFE_PROCESSOR
static final Processor com.google.protobuf.DecodeUtf8Test.SAFE_PROCESSOR = new SafeProcessor() |
|
staticprivate |
◆ UNSAFE_PROCESSOR
static final Processor com.google.protobuf.DecodeUtf8Test.UNSAFE_PROCESSOR = new UnsafeProcessor() |
|
staticprivate |
The documentation for this class was generated from the following file: