public class TypeTranslatorsTest extends Object
TypeTranslators. We focus in particular on types that could be useful
for the code generation, e.g., service parameter values.| Modifier and Type | Class and Description |
|---|---|
static class |
TypeTranslatorsTest.TestTypeTranslator |
| Constructor and Description |
|---|
TypeTranslatorsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBoolean()
Tests
TypeTranslators.BOOLEAN. |
void |
testCreateSerializer()
Tests
TypeTranslators.createSerializer(ClassLoader, String). |
void |
testCreateTypeTranslator()
Tests
TypeTranslators.createTypeTranslator(ClassLoader, String). |
void |
testDouble()
Tests
TypeTranslators.LONG. |
void |
testInteger()
Tests
TypeTranslators.INTEGER. |
void |
testJsonString()
Tests
TypeTranslators.JSON_STRING. |
void |
testLong()
Tests
TypeTranslators.LONG. |
void |
testString()
Tests
TypeTranslators.STRING. |
public void testString()
throws IOException
TypeTranslators.STRING.IOException - shall not occurpublic void testInteger()
throws IOException
TypeTranslators.INTEGER.IOException - shall not occurpublic void testJsonString()
throws IOException
TypeTranslators.JSON_STRING.IOException - shall not occurpublic void testLong()
throws IOException
TypeTranslators.LONG.IOException - shall not occurpublic void testBoolean()
throws IOException
TypeTranslators.BOOLEAN.IOException - shall not occurpublic void testDouble()
throws IOException
TypeTranslators.LONG.IOException - shall not occurpublic void testCreateTypeTranslator()
TypeTranslators.createTypeTranslator(ClassLoader, String).public void testCreateSerializer()
TypeTranslators.createSerializer(ClassLoader, String).Copyright © 2022. All rights reserved.