aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2010-07-12 19:21:05 +0000
committeraclement <aclement>2010-07-12 19:21:05 +0000
commitfdbd12e319a0c18c40906780b372fa3cfb573fe4 (patch)
treedf44d8b967ab8e4112ae2d24092ca639db5eea92 /tests
parentc4ae4d34a17e3760d7c4230fca985fe598436f25 (diff)
downloadaspectj-fdbd12e319a0c18c40906780b372fa3cfb573fe4.tar.gz
aspectj-fdbd12e319a0c18c40906780b372fa3cfb573fe4.zip
319431: test+fix: reweavable state names and signatures
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs1610/pr319431/Azpect.java5
-rw-r--r--tests/bugs1610/pr319431/Azpect2.java5
-rw-r--r--tests/bugs1610/pr319431/Code.java6
-rw-r--r--tests/bugs1610/pr319431/builtWith168.jarbin0 -> 1847 bytes
-rw-r--r--tests/src/org/aspectj/systemtest/AllTests16.java2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java8
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml407
7 files changed, 24 insertions, 409 deletions
diff --git a/tests/bugs1610/pr319431/Azpect.java b/tests/bugs1610/pr319431/Azpect.java
new file mode 100644
index 000000000..be0c69d50
--- /dev/null
+++ b/tests/bugs1610/pr319431/Azpect.java
@@ -0,0 +1,5 @@
+package com.foo.bar;
+
+public aspect Azpect {
+ before(): staticinitialization(*){}
+}
diff --git a/tests/bugs1610/pr319431/Azpect2.java b/tests/bugs1610/pr319431/Azpect2.java
new file mode 100644
index 000000000..f7b03a856
--- /dev/null
+++ b/tests/bugs1610/pr319431/Azpect2.java
@@ -0,0 +1,5 @@
+package com.foo.bar;
+
+public aspect Azpect2 {
+ before(): staticinitialization(*) {}
+}
diff --git a/tests/bugs1610/pr319431/Code.java b/tests/bugs1610/pr319431/Code.java
new file mode 100644
index 000000000..59e5c1bf0
--- /dev/null
+++ b/tests/bugs1610/pr319431/Code.java
@@ -0,0 +1,6 @@
+package com.foo.bar;
+
+public class Code {
+ public static void main(String[] argv) {
+ }
+}
diff --git a/tests/bugs1610/pr319431/builtWith168.jar b/tests/bugs1610/pr319431/builtWith168.jar
new file mode 100644
index 000000000..645b179fe
--- /dev/null
+++ b/tests/bugs1610/pr319431/builtWith168.jar
Binary files differ
diff --git a/tests/src/org/aspectj/systemtest/AllTests16.java b/tests/src/org/aspectj/systemtest/AllTests16.java
index 71ac4143c..ce32370fe 100644
--- a/tests/src/org/aspectj/systemtest/AllTests16.java
+++ b/tests/src/org/aspectj/systemtest/AllTests16.java
@@ -8,6 +8,7 @@ import junit.framework.TestSuite;
import org.aspectj.systemtest.ajc160.AllTestsAspectJ160;
import org.aspectj.systemtest.ajc161.AllTestsAspectJ161;
+import org.aspectj.systemtest.ajc1610.AllTestsAspectJ1610;
import org.aspectj.systemtest.ajc162.AllTestsAspectJ162;
import org.aspectj.systemtest.ajc163.AllTestsAspectJ163;
import org.aspectj.systemtest.ajc164.AllTestsAspectJ164;
@@ -31,6 +32,7 @@ public class AllTests16 {
suite.addTest(AllTestsAspectJ166.suite());
suite.addTest(AllTestsAspectJ167.suite());
suite.addTest(AllTestsAspectJ169.suite());
+ suite.addTest(AllTestsAspectJ1610.suite());
suite.addTest(AllTests15.suite());
// $JUnit-END$
return suite;
diff --git a/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java b/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java
index 020b0c5db..5ca583514 100644
--- a/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java
@@ -18,9 +18,9 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
public class Ajc1610Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
- // public void testMessyDecp_318241() {
- // runTest("messy decp");
- // }
+ public void testLoadingOldCode_319431() {
+ runTest("loading old code");
+ }
// ---
@@ -30,7 +30,7 @@ public class Ajc1610Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
@Override
protected File getSpecFile() {
- return new File("../tests/src/org/aspectj/systemtest/ajc169/ajc169.xml");
+ return new File("../tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml");
}
} \ No newline at end of file
diff --git a/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml b/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml
index 8e4eab525..b2dde3d5e 100644
--- a/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml
+++ b/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml
@@ -2,412 +2,9 @@
<suite>
- <ajc-test dir="bugs169/pr318241" title="messy decp">
- <compile files="PkItd.aj Two.aj SomeClass.java Pk.java SomeAnnotation.java" options="-1.5">
+ <ajc-test dir="bugs1610/pr319431" title="loading old code">
+ <compile files="Azpect2.java" inpath="builtWith168.jar" options="-1.5">
</compile>
</ajc-test>
-
- <ajc-test dir="bugs169/pr287613" title="compound declare patterns - method - 2">
- <compile files="DAMethod2.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="'public void Person.foo()' (DAMethod2.java:11) is annotated with @Annot method annotation from 'DAMethod2' (DAMethod2.java:26)"/>
- <message kind="weave" text="public boolean Person.bar()' (DAMethod2.java:13) is annotated with @Annot method annotation from 'DAMethod2' (DAMethod2.java:26)"/>
- <message kind="weave" text="public boolean Person.isSet()' (DAMethod2.java:17) is annotated with @Annot method annotation from 'DAMethod2' (DAMethod2.java:26)"/>
- <message kind="weave" text="public void Person.isNotReturningBoolean()' (DAMethod2.java:19) is annotated with @Annot method annotation from 'DAMethod2' (DAMethod2.java:26)"/>
- <message kind="weave" text="'public void Person.getin()' (DAMethod2.java:21) is annotated with @Annot method annotation from 'DAMethod2' (DAMethod2.java:28)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr287613" title="compound declare patterns - method - 1">
- <compile files="DAMethod1.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="'public java.lang.String Person.getString()' (DAMethod1.java:9) is annotated with @Annot method annotation from 'DAMethod1' (DAMethod1.java:15)"/>
- <message kind="weave" text="'public boolean Person.isSet()' (DAMethod1.java:10) is annotated with @Annot method annotation from 'DAMethod1' (DAMethod1.java:15)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr315820" title="multiple annos running - 1">
- <compile files="MultiAnno2.java" options="-1.5"/>
- <run class="MultiAnno2">
- <stdout>
- <line text="XXX"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr315820" title="multiple annos parsing">
- <compile files="MultiAnno.java" options="-1.5"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr287613" title="compound declare patterns - fields - 2">
- <compile files="Target.java" options="-1.5"/>
- <run class="Target">
- <stdout>
- <line text="Field one"/>
- <line text="@Annot1()"/>
- <line text="@Annot1()"/>
- <line text="Field two"/>
- <line text="@Annot2()"/>
- <line text="no annotations"/>
- <line text="Field three"/>
- <line text="@Annot3()"/>
- <line text="@Annot3()"/>
- </stdout></run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr287613" title="compound declare patterns - fields - 1">
- <compile files="DeclareAnnot.java" options="-1.5"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr287613" title="compound declare patterns - methodctor - 1">
- <compile files="DeclareAnnotMethodCtor.java" options="-1.5"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr310506" title="optional aspects">
- <compile files="Anno.java" outjar="anno.jar" options="-1.5"/>
- <compile files="AspectA.java" classpath="anno.jar" outjar="aspect.jar" options="-Xlint:ignore -1.5"/>
- <compile files="AspectB.java" outjar="aspect2.jar" options="-Xlint:ignore -1.5"/>
- <compile files="Code.java" classpath="code.jar;aspect.jar;aspect2.jar" options="-1.5"/>
- <file deletefile="anno.jar"/>
- <run class="Code" ltw="META-INF/aop.xml" classpath=".;aspect.jar;aspect2.jar">
- <stderr>
- <line text="AspectJ Weaver Version"/>
- <line text="register classloader"/>
- <line text="using configuration"/>
- <line text="register aspect"/>
- <line text="deactivating aspect"/>
- <line text="register aspect"/>
- <line text="processing reweavable"/>
- </stderr>
- <stdout>
- <line text="staticinitialization"/>
- <line text="abcde"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr310506" title="optional aspects 2">
- <compile files="Anno.java" outjar="anno.jar" options="-1.5"/>
- <compile files="AspectA.java" classpath="anno.jar" outjar="aspect.jar" options="-Xlint:ignore -1.5"/>
- <compile files="AspectB.java" outjar="aspect2.jar" options="-Xlint:ignore -1.5"/>
- <compile files="Code.java Code2.java" classpath="anno.jar;code.jar;aspect.jar;aspect2.jar" options="-1.5"/>
- <run class="Code2" ltw="META-INF/aop.xml" classpath=".;aspect.jar;aspect2.jar">
- <stderr>
- <line text="AspectJ Weaver Version"/>
- <line text="register classloader"/>
- <line text="using configuration"/>
- <line text="register aspect"/>
- <line text="register aspect"/>
- <line text="processing reweavable"/>
- <line text="processing reweavable"/>
- </stderr>
- <stdout>
- <line text="staticinitialization"/>
- <line text="A"/>
- <line text="abcde"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr315651" title="infinite loop">
- <compile files="test/Profiling.aj test/Main.java" options="-1.5"/>
- <run class="test.Main"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr314965" title="anno typo">
- <compile files="MinimalExample.java" options="-1.5">
- <message kind="warning" text="no match for this type name: AnnotationWithParamAndTypo [Xlint:invalidAbsoluteTypeName]"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr314840" title="validate branch recursion">
- <compile files="Arguments.aj Test1.java Test2.java Test.java" options="-1.5"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr313026/one" title="clashing declare annos">
- <compile files="Target.java Asp.java Bsp.java Wibble.java Precedence1.java" options="-1.5 -Xlint:ignore"/>
- <run class="Target">
- <stdout>
- <line text="@Wibble(value=abc)"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr312839/one" title="class file size - 1">
- <compile files="Class.java X.aj" options="-1.5"/>
- <run class="com.wibble.foo.Class">
- <stdout>
- <line text="Hello Andy"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr122460/one" title="scoping ltw - 3">
- <compile files="A.java" options="-1.5 -Xlint:ignore" outjar="aspects.jar"/>
- <compile files="Code.java Runner.java"/>
- <run class="code.Code" ltw="aop_none.xml" classpath="aspects.jar">
- <stdout>
- <line text="running"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr122460/one" title="scoping ltw - 1">
- <compile files="A.java" options="-1.5 -Xlint:ignore" outjar="aspects.jar"/>
- <compile files="Code.java Runner.java"/>
- <run class="code.Code" ltw="aop.xml" classpath="aspects.jar">
- <stdout>
- <line text="intercepted class code.Code"/>
- <line text="intercepted class runner.Runner"/>
- <line text="running"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr122460/one" title="scoping ltw - 2">
- <compile files="A.java" options="-1.5 -Xlint:ignore" outjar="aspects.jar"/>
- <compile files="Code.java Runner.java"/>
- <run class="code.Code" ltw="aop_codeonly.xml" classpath="aspects.jar">
- <stdout>
- <line text="intercepted class code.Code"/>
- <line text="running"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr307009" title="declare soft and call - 1">
- <compile files="Test.java Test2.java Ann.java Bug.aj" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Softening exceptions in type 'Test' (Test.java:4) as defined by aspect 'Bug' (Bug.aj:3)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr307009" title="declare soft and call - 2">
- <compile files="Test2.java Test.java Ann.java Bug.aj" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Softening exceptions in type 'Test' (Test.java:4) as defined by aspect 'Bug' (Bug.aj:3)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr310043" title="rogue error">
- <compile files="B.java" classpath="code.jar" aspectpath="code.jar"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr309743" title="itd marker annotations - 1">
- <compile files="A.java" options="-1.5"/>
- <run class="A">
- <stdout>
- <line text="foo"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr309743" title="itd marker annotations - 2">
- <compile files="B.java" options="-1.5"/>
- <run class="B">
- <stdout>
- <line text="boo"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr309336" title="pipelining and generics">
- <compile files="NoSystemStreams.aj UseOperators.java Operators.java" options="-1.5">
- <message kind="warning" text="No system.out"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr308773" title="subtle generics problem">
- <compile files="Aspy.aj Zzz.java Top.java Middle.java" options="-1.5"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr307147" title="advising privileged access method">
- <compile files="B.java Test2.java" options="-showWeaveInfo">
- <message kind="weave" text="Type 'B' (B.java) has intertyped method from 'Test'"/>
- <message kind="weave" text="Join point 'field-get(int A.goo)' in Type 'Test'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr307120" title="advising privileged access member">
- <compile files="A.java Test.java" options="-showWeaveInfo">
- <message kind="weave" text="Type 'A' (A.java) has intertyped method from 'Test'"/> <!-- getFoo and getGoo -->
- <message kind="weave" text="Join point 'field-get(int A.goo)' in Type 'Test'"/>
- <message kind="weave" text="Join point 'field-get(int A.foo)' in Type 'Test'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr309440" title="crash param annos">
- <compile files="foobar/ExportMode.java" classpath="jsr305.jar" options="-1.6"/>
- <compile files="foobar/CrashAspectJCompiler.java" classpath="jsr305.jar" options="-1.6"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr307120" title="advising privileged access member - 2">
- <compile files="Test.java A.java" options="-showWeaveInfo">
- <message kind="weave" text="Type 'A' (A.java) has intertyped method from 'Test'"/> <!-- getFoo and getGoo -->
- <message kind="weave" text="Join point 'field-get(int A.goo)' in Type 'Test'"/>
- <message kind="weave" text="Join point 'field-get(int A.foo)' in Type 'Test'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr292262" title="if with statically recognizable code">
- <compile files="A.java">
- <message kind="weave" text="Join point 'staticinitialization(void SimpleClass.&lt;clinit&gt;())' in Type 'SimpleClass'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - class">
- <compile files="SimpleClass.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void SimpleClass.&lt;clinit&gt;())' in Type 'SimpleClass'"/>
- <message kind="weave" text="Join point 'staticinitialization(void Bar.&lt;clinit&gt;())' in Type 'Bar'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - interface">
- <compile files="SimpleInterface.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void Foo.&lt;clinit&gt;())' in Type 'Foo'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - enum">
- <compile files="SimpleEnum.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void Foo.&lt;clinit&gt;())' in Type 'Foo'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - annotation">
- <compile files="SimpleAnnotation.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void WibbleAnno.&lt;clinit&gt;())' in Type 'WibbleAnno'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - anonymous">
- <compile files="SimpleAnonymous.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void Bar$1.&lt;clinit&gt;())' in Type 'Bar$1'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - inner">
- <compile files="SimpleInner.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void Bar$Inner.&lt;clinit&gt;())' in Type 'Bar$Inner'"/>
- <message kind="weave" text="Join point 'staticinitialization(void Bar$1.&lt;clinit&gt;())' in Type 'Bar$1'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - inner - 2">
- <compile files="SimpleInner2.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void Bar$Inner.&lt;clinit&gt;())' in Type 'Bar$Inner'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - inner - 3">
- <compile files="SimpleInner3.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'method-execution(void Bar$Inner.foo())' in Type 'Bar$Inner' (SimpleInner3.java:12) advised"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - aspect">
- <compile files="SimpleAspect.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'staticinitialization(void X.&lt;clinit&gt;())' in Type 'X'"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - e1">
- <compile files="Errors1.java" options="-1.5 -showWeaveInfo">
- <message kind="error" text="Syntax error on token &quot;(&quot;, &quot;)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - e2">
- <compile files="Errors5.java" options="-1.5 -showWeaveInfo">
- <message kind="error" text="Syntax error on token &quot;)&quot;, &quot;(&quot; expected"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr44365" title="type category type patterns - e3">
- <compile files="Errors2.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'method-execution(void Errors2.is(java.lang.String))' in Type"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr48080" title="inserts in messages">
- <compile files="Warnings.java" options="-1.5">
- <message kind="warning" text="UNKNOWN_KEY{}foobar"/>
- <message kind="warning" text="{}wibble"/>
- <message kind="warning" text="signature name for method is m"/>
- <message kind="warning" text="joinpoint declaring type is p.A"/>
- <message kind="warning" text="joinpoint signature is void p.A.m()"/>
- <message kind="warning" text="joinpoint line is '23'"/>
- <message kind="warning" text="joinpoint kind is method-execution"/>
- <message kind="warning" text="joinpoint kind is 'method-execution'"/>
- <message kind="warning" text="joinpoint is method-execution(void p.A.m())"/>
- <message kind="warning" text="joinpoint location is"/>
- <message kind="warning" text="signature name for field is i"/>
- <message kind="warning" text="joinpoint signature is int p.A.i"/>
- <message kind="warning" text="aspect is p.Checker"/>
- <message kind="warning" text="advice sourcelocation is"/>
- <message kind="warning" text="test 18{}23"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr299062" title="verifyerror on atAj">
- <compile files="Test.java Work.java SmartAspect.java Idempotent.java" options="-1.5"/>
- <run class="Test">
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr298665" title="ambiguous method">
- <compile files="Main.java" options="-1.5"/>
- <run class="Main">
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr298388" title="declare mixin and generics">
- <compile files="PR298388.java" options="-1.5"/>
- <run class="PR298388">
- <stdout>
- <line text="done"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr295491" title="model annotation npe">
- <compile files="SpringConfigurableMixin.java" options="-1.5 -emacssym"/>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr292584" title="annotation around advice verifyerror">
- <compile files="AbstractAspect.java,ClassWithJoinPoint.java,ConcreteAspect.java" options="-1.5"/>
- <run class="ClassWithJoinPoint">
- <stdout>
- <line text="Testing annotation style (should print &quot;true&quot;):"/>
- <line text="true"/>
- </stdout>
- </run>
- </ajc-test>
-
- <!-- declare type warning -->
-
- <ajc-test dir="bugs169/pr291206" title="declare type warning - 1">
- <compile files="One.java" options="-1.5">
- <message kind="warning" line="8" text="Nothing should be"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr291206" title="declare type warning - 2">
- <compile files="Two.java" options="-1.5">
- <message kind="warning" line="7" text="Missing foo()"/>
- <message kind="warning" line="13" text="Missing foo()"/>
- </compile>
- </ajc-test>
-
- <!-- testing build of model with one of these in -->
- <ajc-test dir="bugs169/pr291206" title="declare type warning - 3">
- <compile files="Two.java" options="-1.5 -emacssym">
- <message kind="warning" line="7" text="Missing foo()"/>
- <message kind="warning" line="13" text="Missing foo()"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs169/pr291206" title="declare type error - 1">
- <compile files="Three.java" options="-1.5">
- <message kind="error" line="7" text="Missing foo()"/>
- <message kind="error" line="13" text="Missing foo()"/>
- </compile>
- </ajc-test>
</suite> \ No newline at end of file