aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-06-11 07:43:00 -0700
committerAndy Clement <aclement@gopivotal.com>2014-06-11 07:43:00 -0700
commit4f89239adb00058765f874be1e0800c5d40fa81c (patch)
tree8d0cde54f2e04f25f8d8277409597f7c534e5b31 /tests/src
parent6e5c19b7529d637084564d155d1515f6c4058e05 (diff)
downloadaspectj-4f89239adb00058765f874be1e0800c5d40fa81c.tar.gz
aspectj-4f89239adb00058765f874be1e0800c5d40fa81c.zip
Fix 431976: invalid unused warnings on tejpsp
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc180/AllTestsAspectJ180.java1
-rw-r--r--tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java5
-rw-r--r--tests/src/org/aspectj/systemtest/ajc181/ajc181.xml4
3 files changed, 9 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc180/AllTestsAspectJ180.java b/tests/src/org/aspectj/systemtest/ajc180/AllTestsAspectJ180.java
index 81be509a7..6feff4445 100644
--- a/tests/src/org/aspectj/systemtest/ajc180/AllTestsAspectJ180.java
+++ b/tests/src/org/aspectj/systemtest/ajc180/AllTestsAspectJ180.java
@@ -21,7 +21,6 @@ public class AllTestsAspectJ180 {
TestSuite suite = new TestSuite("AspectJ 1.8.0 tests");
// $JUnit-BEGIN$
suite.addTest(Ajc180Tests.suite());
- suite.addTest(Ajc181Tests.suite());
// $JUnit-END$
return suite;
}
diff --git a/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java b/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java
index 3fc5e17cd..2a466af6a 100644
--- a/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java
@@ -22,6 +22,11 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
*/
public class Ajc181Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+
+ public void testThisEnclosingJoinPointStaticPartNotInitialized_431976() {
+ runTest("thisEnclosingJoinPointStaticPart not initialized");
+ }
+
public void testLvarTable_435446() throws Exception {
runTest("lvartable");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml b/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml
index fdbe11d21..80bb5d20a 100644
--- a/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml
+++ b/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml
@@ -2,6 +2,10 @@
<suite>
+ <ajc-test dir="bugs181/431976" title="thisEnclosingJoinPointStaticPart not initialized">
+ <compile options="-1.8" files="Code.java"/>
+ </ajc-test>
+
<ajc-test dir="bugs181/435446" title="lvartable">
<compile options="-1.8" files="Application.java MyAspect.java">
</compile>