@@ -371,7 +371,7 @@ public void testFeatureReferenceEvaluation() throws Exception {
371371
372372 assertEquals (1 , evaluateIntegerValue (instance ,
373373 checkAnnotatingFeature (instance , "Annotation" , "x" ),
374- "Annotation:: a" ));
374+ "(as Annotation). a" ));
375375 }
376376
377377 @ Test
@@ -385,7 +385,7 @@ public void testEnumeratedValueEvaluation() throws Exception {
385385 assertEquals (instance .resolve ("E::e" ),
386386 evaluateSingleValue (instance ,
387387 checkAnnotatingFeature (instance , "Annotation" , "x" ),
388- "Annotation:: a" ));
388+ "(as Annotation). a" ));
389389 }
390390
391391 @ Test
@@ -408,8 +408,8 @@ public void testIsTypeEvaluation() throws Exception {
408408 "attribute x {@Annotation{a = E::e; b = 2;}}" );
409409
410410 MetadataFeature feature = checkAnnotatingFeature (instance , "Annotation" , "x" );
411- assertTrue (evaluateBooleanValue (instance , feature , "Annotation:: a istype E" ));
412- assertTrue (evaluateBooleanValue (instance , feature , "Annotation:: b istype ScalarValues::Integer" ));
411+ assertTrue (evaluateBooleanValue (instance , feature , "(as Annotation). a istype E" ));
412+ assertTrue (evaluateBooleanValue (instance , feature , "(as Annotation). b istype ScalarValues::Integer" ));
413413 }
414414
415415 @ Test
0 commit comments