Revert "mreged changes from metadata"
This reverts commit5f89039177, reversing changes made tod4ba7f906a.
This commit is contained in:
parent
5f89039177
commit
8d7e483bbd
|
|
@ -58,11 +58,11 @@ public class CollectionTypeDefinitionBuilderTest extends AbstractAnnotationProce
|
|||
protected void beforeEach() {
|
||||
builder = new CollectionTypeDefinitionBuilder();
|
||||
TypeElement testType = getType(CollectionTypeModel.class);
|
||||
stringsField = findField(testType, "strings");
|
||||
colorsField = findField(testType, "colors");
|
||||
primitiveTypeModelsField = findField(testType, "primitiveTypeModels");
|
||||
modelsField = findField(testType, "models");
|
||||
modelArraysField = findField(testType, "modelArrays");
|
||||
stringsField = findField( testType, "strings");
|
||||
colorsField = findField( testType, "colors");
|
||||
primitiveTypeModelsField = findField( testType, "primitiveTypeModels");
|
||||
modelsField = findField( testType, "models");
|
||||
modelArraysField = findField( testType, "modelArrays");
|
||||
|
||||
assertEquals("strings", stringsField.getSimpleName().toString());
|
||||
assertEquals("colors", colorsField.getSimpleName().toString());
|
||||
|
|
|
|||
|
|
@ -61,11 +61,11 @@ public class MapTypeDefinitionBuilderTest extends AbstractAnnotationProcessingTe
|
|||
protected void beforeEach() {
|
||||
builder = new MapTypeDefinitionBuilder();
|
||||
TypeElement testType = getType(MapTypeModel.class);
|
||||
stringsField = findField(testType, "strings");
|
||||
colorsField = findField(testType, "colors");
|
||||
primitiveTypeModelsField = findField(testType, "primitiveTypeModels");
|
||||
modelsField = findField(testType, "models");
|
||||
modelArraysField = findField(testType, "modelArrays");
|
||||
stringsField = findField( testType, "strings");
|
||||
colorsField = findField( testType, "colors");
|
||||
primitiveTypeModelsField = findField( testType, "primitiveTypeModels");
|
||||
modelsField = findField( testType, "models");
|
||||
modelArraysField = findField( testType, "modelArrays");
|
||||
|
||||
assertEquals("strings", stringsField.getSimpleName().toString());
|
||||
assertEquals("colors", colorsField.getSimpleName().toString());
|
||||
|
|
|
|||
|
|
@ -69,14 +69,14 @@ public class PrimitiveTypeDefinitionBuilderTest extends AbstractAnnotationProces
|
|||
|
||||
TypeElement testType = getType(PrimitiveTypeModel.class);
|
||||
|
||||
zField = findField(testType, "z");
|
||||
bField = findField(testType, "b");
|
||||
cField = findField(testType, "c");
|
||||
sField = findField(testType, "s");
|
||||
iField = findField(testType, "i");
|
||||
lField = findField(testType, "l");
|
||||
fField = findField(testType, "f");
|
||||
dField = findField(testType, "d");
|
||||
zField = findField( testType, "z");
|
||||
bField = findField( testType, "b");
|
||||
cField = findField( testType, "c");
|
||||
sField = findField( testType, "s");
|
||||
iField = findField( testType, "i");
|
||||
lField = findField( testType, "l");
|
||||
fField = findField( testType, "f");
|
||||
dField = findField( testType, "d");
|
||||
|
||||
assertEquals("boolean", zField.asType().toString());
|
||||
assertEquals("byte", bField.asType().toString());
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ public class ServiceAnnotationUtilsTest extends AbstractAnnotationProcessingTest
|
|||
@Test
|
||||
public void testGetGroup() {
|
||||
TypeElement type = getType(TestServiceImpl.class);
|
||||
assertEquals("test", getGroup(getAnnotation(type)));
|
||||
assertEquals("test",getGroup(getAnnotation(type)));
|
||||
|
||||
type = getType(GenericTestService.class);
|
||||
assertEquals("generic", getGroup(getAnnotation(type)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue