(int maxLength)
| 133 | } |
| 134 | |
| 135 | public void testVarChar(int maxLength) throws Exception { |
| 136 | // char(n) |
| 137 | TypeDescription schema = TypeDescription.createVarchar().withMaxLength(maxLength); |
| 138 | String[] expected = new String[utf8strs.length]; |
| 139 | for (int i = 0; i < utf8strs.length; i++) { |
| 140 | expected[i] = enforceMaxLength(utf8strs[i], maxLength); |
| 141 | } |
| 142 | verifyWrittenStrings(schema, utf8strs, expected, maxLength); |
| 143 | } |
| 144 | |
| 145 | public void verifyWrittenStrings(TypeDescription schema, String[] inputs, String[] expected, int maxLength) |
| 146 | throws Exception { |
no test coverage detected