use of io.questdb.cutlass.text.TextConfiguration in project questdb by bluestreak01.
the class TypeManagerTest method testIllegalParameterForGetTypeAdapter.
private void testIllegalParameterForGetTypeAdapter(int columnType) {
TextConfiguration textConfiguration = new DefaultTextConfiguration();
TypeManager typeManager = new TypeManager(textConfiguration, utf8Sink);
try {
typeManager.getTypeAdapter(columnType);
Assert.fail();
} catch (CairoException e) {
TestUtils.assertContains(e.getFlyweightMessage(), "no adapter for type");
}
}
Aggregations