123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
-
- <!-- AspectJ v1.5.2 Tests -->
- <suite>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="More than one named pointcut">
- <compile files="HandleProvider.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="aspect handle">
- <compile files="A1.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="advice handle">
- <compile files="A2.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="pointcut handle">
- <compile files="A4.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="get IProgramElement with aspect handle">
- <compile files="A1.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="advice handle with crosscutting">
- <compile files="A3.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="two pieces of advice with the same signature and pointcut">
- <compile files="A5.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="pointcut handle with args">
- <compile files="A6.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="declare parents handle">
- <compile files="A7.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="two declare parents in same file">
- <compile files="A7.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="advice handle with args">
- <compile files="A8.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="field itd handle">
- <compile files="A9.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method itd handle">
- <compile files="A9.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method itd with args handle">
- <compile files="A9.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="constructor itd with args">
- <compile files="A13.aj" options="-emacssym">
- <message kind="warning" text="inter-type constructor"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method call handle">
- <compile files="A10.aj" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="declare warning handle">
- <compile files="A11.aj" options="-emacssym">
- <message kind="warning" text="blah"/>
- <message kind="warning" text="Illegal call"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="two declare warning handles">
- <compile files="A11.aj" options="-emacssym">
- <message kind="warning" text="blah"/>
- <message kind="warning" text="Illegal call"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="ten declare warning handles">
- <compile files="DeclareWarnings.aj" options="-emacssym">
- <message kind="warning" text="warning 1"/>
- <message kind="warning" text="warning 2"/>
- <message kind="warning" text="warning 3"/>
- <message kind="warning" text="warning 4"/>
- <message kind="warning" text="warning 5"/>
- <message kind="warning" text="warning 6"/>
- <message kind="warning" text="warning 7"/>
- <message kind="warning" text="warning 8"/>
- <message kind="warning" text="warning 9"/>
- <message kind="warning" text="warning 10"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="declare @type">
- <compile files="A12.aj" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="declare @field">
- <compile files="A12.aj" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="declare @method">
- <compile files="A12.aj" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="declare @constructor">
- <compile files="A12.aj" options="-emacssym -1.5"/>
- </ajc-test>
-
- <!-- tests to ensure handle provider produces same as the jdt -->
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="compilation unit same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="class same as jdt">
- <compile files="C.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="interface same as jdt">
- <compile files="C.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="constructor same as jdt">
- <compile files="C.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="constructor with args same as jdt">
- <compile files="C.java" options="-emacssym"/>
- </ajc-test>
-
- <!-- <ajc-test dir="features153/jdtlikehandleprovider" title="package declaration same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
- -->
- <ajc-test dir="features153/jdtlikehandleprovider" title="import declaration same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="type same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="field same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="initialization same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with string array as argument same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with int array as argument same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with no args same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with two args same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with two string args same as jdt">
- <compile files="Demo.java" options="-emacssym"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="enum same as jdt">
- <compile files="E.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="enum value same as jdt">
- <compile files="E.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="annotation same as jdt">
- <compile files="MyAnnotation.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with list arg same as jdt">
- <compile files="Java5Class.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with generic arg same as jdt">
- <compile files="Java5Class.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with two generic args same as jdt">
- <compile files="Java5Class.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with two type parameters same as jdt">
- <compile files="Java5Class.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- <ajc-test dir="features153/jdtlikehandleprovider" title="method with two args one of which is generic same as jdt">
- <compile files="Java5Class.java" options="-emacssym -1.5"/>
- </ajc-test>
-
- </suite>
|