public void testVarargsITD_pr110906() { runTest("ITD varargs problem");}
public void testBadRenderer_pr86903() { runTest("bcelrenderer bad");}
+ // public void testSelfBoundGenerics_pr117296() { runTest("self bounding generic types");}
public void testIncompatibleClassChangeError_pr113630_1() {runTest("IncompatibleClassChangeError - errorscenario");}
public void testIncompatibleClassChangeError_pr113630_2() {runTest("IncompatibleClassChangeError - workingscenario");}
public void testXlintMessageForImproperAnnotationType_pr115252_Parameter() {runTest("xlint message for improper annotated parameter type");}
public void testXlintMessageForImproperAnnotationType_pr115252_Throws() {runTest("xlint message for improper annotated throws pattern");}
public void testXlintMessageForImproperAnnotationType_pr115252_MoreThanOne() {runTest("xlint message for more than one improper annotated parameter type");}
-
+
+ public void testDeclareAtTypeInStructureModel_pr115607() {
+ AsmManager.setReporting("c:/debug.txt",true,true,true,true);
+ runTest("declare at type appears correctly in structure model");
+ IHierarchy top = AsmManager.getDefault().getHierarchy();
+ IProgramElement pe = top.findElementForLabel(top.getRoot(),
+ IProgramElement.Kind.DECLARE_ANNOTATION_AT_TYPE,"declare @type: Simple : @I");
+ assertNotNull("Couldn't find 'declare @type: Simple : @I' element in the tree",pe);
+ List l = AsmManager.getDefault().getRelationshipMap().get(pe);
+ assertNotNull("Should have some relationships but does not",l);
+ }
+
// helper methods.....
public SyntheticRepository createRepos(File cpentry) {
<ajc-test dir="bugs150" pr="112756" title="pointcut expression containing 'assert'">
<compile files="Pr112756.aj" options="-warn:assertIdentifier -Xdev:Pinpoint"/>
</ajc-test>
+
+ <ajc-test dir="bugs150" pr="117296" title="self bounding generic types">
+ <compile files="PropertySupport.java" options="-1.5"/>
+ </ajc-test>
<ajc-test dir="java5/reflection" title="pointcut parsing with ajc compiled pointcut references">
<compile files="PointcutLibrary.aj,ReflectOnAjcCompiledPointcuts.java"></compile>
</compile>
</ajc-test>
+ <ajc-test dir="bugs150" title="declare at type appears correctly in structure model">
+ <compile files="pr115607.java" options="-1.5,-emacssym">
+ </compile>
+ </ajc-test>
+
<!-- ============================================================================ -->
<!-- ============================================================================ -->