From c2abdf7c6f1e64e53632a8873e9c5b26c995aa01 Mon Sep 17 00:00:00 2001 From: mwebster Date: Fri, 1 Dec 2006 12:12:43 +0000 Subject: [PATCH] 166238 "-nowarn doesn't work for load-time weaving" (rbodkin+LISTS@gmail.com) --- tests/ltw/aop-noxlintfile-nowarn.xml | 3 +++ tests/ltw/aop-noxlintfile-warnnone.xml | 3 +++ .../systemtest/ajc160/Ajc160Tests.java | 8 +++++++ .../org/aspectj/systemtest/ajc160/ajc160.xml | 24 +++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 tests/ltw/aop-noxlintfile-nowarn.xml create mode 100644 tests/ltw/aop-noxlintfile-warnnone.xml diff --git a/tests/ltw/aop-noxlintfile-nowarn.xml b/tests/ltw/aop-noxlintfile-nowarn.xml new file mode 100644 index 000000000..e0dfc74fb --- /dev/null +++ b/tests/ltw/aop-noxlintfile-nowarn.xml @@ -0,0 +1,3 @@ + + + diff --git a/tests/ltw/aop-noxlintfile-warnnone.xml b/tests/ltw/aop-noxlintfile-warnnone.xml new file mode 100644 index 000000000..243f75703 --- /dev/null +++ b/tests/ltw/aop-noxlintfile-warnnone.xml @@ -0,0 +1,3 @@ + + + diff --git a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java index 660d31544..f819e3349 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java @@ -24,6 +24,14 @@ public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testGenericFieldNPE_pr165885() { runTest("generic field npe");} public void testIncorrectOptimizationOfIstore_pr166084() { runTest("incorrect optimization of istore"); } public void testDualParameterizationsNotAllowed_pr165631() { runTest("dual parameterizations not allowed"); } + + public void testSuppressWarnings1_pr166238() { + runTest("Suppress warnings1"); + } + + public void testSuppressWarnings2_pr166238() { + runTest("Suppress warnings2"); + } ///////////////////////////////////////// public static Test suite() { diff --git a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml index 1b157acaf..d0c440e41 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml +++ b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml @@ -24,6 +24,30 @@ + + + + + + + + + + + + + + + + -- 2.39.5