File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
core/esmf-aspect-model-java-generator/src/test/java/org/eclipse/esmf/aspectmodel/java Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -536,16 +536,6 @@ ImmutableMap.<String, String> builder()
536
536
537
537
@ Test
538
538
void testGenerateAspectModelWithEnumerationDisableJsonFormatAnnotation () throws IOException {
539
- final ImmutableMap <String , Object > expectedFieldsForAspectClass = ImmutableMap .<String , Object > builder ()
540
- .put ( "result" , "EvaluationResults" )
541
- .put ( "simpleResult" , "YesNo" )
542
- .build ();
543
-
544
- final ImmutableMap <String , Object > expectedFieldsForEvaluationResult = ImmutableMap .<String , Object > builder ()
545
- .put ( "numericCode" , Short .class .getSimpleName () )
546
- .put ( "description" , String .class .getSimpleName () )
547
- .build ();
548
-
549
539
final TestAspect aspect = TestAspect .ASPECT_WITH_COMPLEX_ENUM ;
550
540
final JavaCodeGenerationConfig codeGenerationConfig = JavaCodeGenerationConfigBuilder .builder ()
551
541
.enableJacksonAnnotations ( true )
@@ -554,7 +544,6 @@ void testGenerateAspectModelWithEnumerationDisableJsonFormatAnnotation() throws
554
544
.enableJacksonAnnotationJsonFormatShapeObject ( false )
555
545
.build ();
556
546
final GenerationResult result = TestContext .generateAspectCode ().apply ( getGenerators ( aspect , codeGenerationConfig ) );
557
-
558
547
assertThat ( result .getGeneratedSource ( new QualifiedName ( "EvaluationResults" , "org.eclipse.esmf.test" ) ) )
559
548
.doesNotContain ( "@JsonFormat" );
560
549
}
You can’t perform that action at this time.
0 commit comments