diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 20 | ||||
-rw-r--r-- | tests/bugs/BadBindingError.java | 8 | ||||
-rw-r--r-- | tests/jimTests.xml | 9 |
3 files changed, 35 insertions, 2 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index ebaedd66c..6b952b04a 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5878,4 +5878,24 @@ <run class="CflowConcrete"/> </ajc-test> + <ajc-test dir="new/options11" pr="36329" + comment="the line number might change, we're really interested only in the files here" + title="The compiler crashes when using aspect libraries created without using -noweave"> + <compile files="Main.java,injar.jar,Aspect.java,aspectlib1.jar,aspectlib2.jar"> + <message kind="error" line="0"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs" title="lame error message: negation doesn't allow binding" + pr="30663"> + <compile files="BadBindingError.java"> + <message kind="error" line="7"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs/interSpecials" pr="36936" + title="Error when introducing members of type Class"> + <compile files="Trg.java,Asp.java"/> + <run class="Trg"/> + </ajc-test> </suite> diff --git a/tests/bugs/BadBindingError.java b/tests/bugs/BadBindingError.java new file mode 100644 index 000000000..0f1e111e4 --- /dev/null +++ b/tests/bugs/BadBindingError.java @@ -0,0 +1,8 @@ +// Bugzilla Bug 30663 +//lame error message: "negation doesn't allow binding" + +import org.aspectj.testing.Tester; + +public aspect BadBindingError { + pointcut p(int i): call(void f(i)); +} diff --git a/tests/jimTests.xml b/tests/jimTests.xml index 6de1c507c..0ebd8cd50 100644 --- a/tests/jimTests.xml +++ b/tests/jimTests.xml @@ -1,11 +1,16 @@ <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"> -<suite> +<suite> <!-- - + <ajc-test dir="options/injars/simple" + title="options -injars"> + <compile files="Simple.java,main.jar" + options="!eclipse"/> + <run class="Main"/> + </ajc-test> <ajc-test dir="new" pr="885" |