From 2544ad77d9ec7751ca298b4a09848487305a27d3 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Fri, 26 Nov 2021 10:24:44 +0100 Subject: [PATCH] Add forgotten Bugs198Tests to test suite Signed-off-by: Alexander Kriegisch --- .../org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java | 1 + .../java/org/aspectj/systemtest/ajc198/Bugs198Tests.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java b/tests/src/test/java/org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java index 69ed09593..4aac84810 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java @@ -18,6 +18,7 @@ public class AllTestsAspectJ198 { public static Test suite() { TestSuite suite = new TestSuite("AspectJ 1.9.8 tests"); + suite.addTest(Bugs198Tests.suite()); if (LangUtil.is9VMOrGreater()) { suite.addTest(CompileWithReleaseTests.suite()); } diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc198/Bugs198Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc198/Bugs198Tests.java index 69d484590..d8e57b534 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc198/Bugs198Tests.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc198/Bugs198Tests.java @@ -7,6 +7,7 @@ *******************************************************************************/ package org.aspectj.systemtest.ajc198; +import junit.framework.Test; import org.aspectj.testing.XMLBasedAjcTestCase; /** @@ -18,6 +19,10 @@ public class Bugs198Tests extends XMLBasedAjcTestCase { runTest("ITD annotation with mandatory parameter via aspectpath"); } + public static Test suite() { + return XMLBasedAjcTestCase.loadSuite(Bugs198Tests.class); + } + @Override protected java.net.URL getSpecFile() { return getClassResource("ajc198.xml"); -- 2.39.5