MCPcopy Create free account
hub / github.com/apache/orc / testUtf8

Method testUtf8

java/core/src/test/org/apache/orc/TestUnicode.java:74–82  ·  view source on GitHub ↗
(String type, int maxLength, boolean hasRTrim)

Source from the content-addressed store, hash-verified

72 }
73
74 @ParameterizedTest
75 @MethodSource("data")
76 public void testUtf8(String type, int maxLength, boolean hasRTrim) throws Exception {
77 if (type.equals("varchar")) {
78 testVarChar(maxLength);
79 } else {
80 testChar(maxLength, hasRTrim);
81 }
82 }
83
84 // copied from HiveBaseChar
85 public static String enforceMaxLength(String val, int maxLength) {

Callers

nothing calls this directly

Calls 3

testVarCharMethod · 0.95
testCharMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected