Test that protos generated with file option java_string_check_utf8 do in fact perform appropriate UTF-8 checks.
- Author
- jbaum.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Jacob Butcher)
Definition at line 46 of file CheckUtf8Test.java.
◆ assertParseBadUtf8()
void com.google.protobuf.CheckUtf8Test.assertParseBadUtf8 |
( |
MessageLite |
defaultInstance, |
|
|
byte[] |
data |
|
) |
| throws Exception |
|
inlineprivate |
◆ testBuildOptionalStringWithBadUtf8()
void com.google.protobuf.CheckUtf8Test.testBuildOptionalStringWithBadUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testBuildOptionalStringWithBadUtf8Size()
void com.google.protobuf.CheckUtf8Test.testBuildOptionalStringWithBadUtf8Size |
( |
| ) |
throws Exception |
|
inline |
◆ testBuildRepeatedStringWithBadUtf8()
void com.google.protobuf.CheckUtf8Test.testBuildRepeatedStringWithBadUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testBuildRepeatedStringWithBadUtf8Size()
void com.google.protobuf.CheckUtf8Test.testBuildRepeatedStringWithBadUtf8Size |
( |
| ) |
throws Exception |
|
inline |
◆ testBuildRequiredStringWithBadUtf8()
void com.google.protobuf.CheckUtf8Test.testBuildRequiredStringWithBadUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testBuildRequiredStringWithBadUtf8Size()
void com.google.protobuf.CheckUtf8Test.testBuildRequiredStringWithBadUtf8Size |
( |
| ) |
throws Exception |
|
inline |
◆ testBuildRequiredStringWithGoodUtf8()
void com.google.protobuf.CheckUtf8Test.testBuildRequiredStringWithGoodUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testParseRequiredStringWithBadUtf8()
void com.google.protobuf.CheckUtf8Test.testParseRequiredStringWithBadUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testParseRequiredStringWithBadUtf8Size()
void com.google.protobuf.CheckUtf8Test.testParseRequiredStringWithBadUtf8Size |
( |
| ) |
throws Exception |
|
inline |
◆ testParseRequiredStringWithGoodUtf8()
void com.google.protobuf.CheckUtf8Test.testParseRequiredStringWithGoodUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ NON_UTF8_BYTE_STRING
final ByteString com.google.protobuf.CheckUtf8Test.NON_UTF8_BYTE_STRING |
|
staticprivate |
◆ UTF8_BYTE_STRING
◆ UTF8_BYTE_STRING_TEXT
final String com.google.protobuf.CheckUtf8Test.UTF8_BYTE_STRING_TEXT = "some text" |
|
staticprivate |
The documentation for this class was generated from the following file: