(int maxLength, boolean hasRTrim)
| 123 | } |
| 124 | |
| 125 | public void testChar(int maxLength, boolean hasRTrim) throws Exception { |
| 126 | // char(n) |
| 127 | TypeDescription schema = TypeDescription.createChar().withMaxLength(maxLength); |
| 128 | String[] expected = new String[utf8strs.length]; |
| 129 | for (int i = 0; i < utf8strs.length; i++) { |
| 130 | expected[i] = getPaddedValue(utf8strs[i], maxLength, hasRTrim); |
| 131 | } |
| 132 | verifyWrittenStrings(schema, utf8strs, expected, maxLength); |
| 133 | } |
| 134 | |
| 135 | public void testVarChar(int maxLength) throws Exception { |
| 136 | // char(n) |
no test coverage detected