]> source.dussan.org Git - aspectj.git/commit
New abstract class JavaVersionSpecificXMLBasedAjcTestCase
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 19 Feb 2024 15:01:05 +0000 (22:01 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 19 Feb 2024 15:01:05 +0000 (22:01 +0700)
commit47db35bb48a1ef0919dff62521ca38cd7cf3ccec
treefce4041a52368870ec8beb8eb5b9a16f36b98ecc
parent4e4641f8cc06176377a1faf8378e93df9bf248e1
New abstract class JavaVersionSpecificXMLBasedAjcTestCase

Replaces now obsolete base classes
  - XMLBasedAjcTestCaseForJava[n]OrLater,
  - XMLBasedAjcTestCaseForJava[n]Only.

The new class is parametrised with minimum and maximum Java version and
hence can replace all the other classes. This does not only apply the
DRY principle, but also makes adding tests for new Java versions less
tedious.

By chance, I also noticed missing sanity tests for Java 12, which I
added as a little drive-by benefit.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
72 files changed:
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
testing/src/test/java/org/aspectj/testing/JavaVersionSpecificXMLBasedAjcTestCase.java [new file with mode: 0644]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava10OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava11OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava12OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava13OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava16Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava16OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava17Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava17OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava18Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava18OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava19Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava19OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava20Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava20OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava21Only.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava21OrLater.java [deleted file]
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava9OrLater.java [deleted file]
tests/src/test/java/org/aspectj/systemtest/ajc190/Ajc190Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc190/AllTestsAspectJ190.java
tests/src/test/java/org/aspectj/systemtest/ajc190/ModuleTests.java
tests/src/test/java/org/aspectj/systemtest/ajc190/SanityTests19.java
tests/src/test/java/org/aspectj/systemtest/ajc191/Ajc191Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc191/AllTestsAspectJ191.java
tests/src/test/java/org/aspectj/systemtest/ajc191/SanityTestsJava10.java
tests/src/test/java/org/aspectj/systemtest/ajc1919/Ajc1919TestsJava.java
tests/src/test/java/org/aspectj/systemtest/ajc1919/AllTestsAspectJ1919.java
tests/src/test/java/org/aspectj/systemtest/ajc1919/Java19PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc1919/SanityTestsJava19.java
tests/src/test/java/org/aspectj/systemtest/ajc192/Ajc192Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc192/AllTestsAspectJ192.java
tests/src/test/java/org/aspectj/systemtest/ajc192/SanityTestsJava11.java
tests/src/test/java/org/aspectj/systemtest/ajc1920/Ajc1920TestsJava.java
tests/src/test/java/org/aspectj/systemtest/ajc1920/AllTestsAspectJ1920.java
tests/src/test/java/org/aspectj/systemtest/ajc1920/Java20PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc1920/SanityTestsJava20.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/Ajc1921TestsJava.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/AllTestsAspectJ1921.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/SanityTestsJava21.java
tests/src/test/java/org/aspectj/systemtest/ajc193/Ajc193Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc193/AllTestsAspectJ193.java
tests/src/test/java/org/aspectj/systemtest/ajc193/Java13Tests.java [deleted file]
tests/src/test/java/org/aspectj/systemtest/ajc193/SanityTestsJava12.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc195/AllTestsAspectJ195.java
tests/src/test/java/org/aspectj/systemtest/ajc195/SanityTestsJava13.java
tests/src/test/java/org/aspectj/systemtest/ajc196/Ajc196Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc196/AllTestsAspectJ196.java
tests/src/test/java/org/aspectj/systemtest/ajc196/Java14PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc196/SanityTestsJava14.java
tests/src/test/java/org/aspectj/systemtest/ajc197/Ajc197TestsJava.java
tests/src/test/java/org/aspectj/systemtest/ajc197/AllTestsAspectJ197.java
tests/src/test/java/org/aspectj/systemtest/ajc197/Java16PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc197/SanityTestsJava15.java
tests/src/test/java/org/aspectj/systemtest/ajc197/SanityTestsJava16.java
tests/src/test/java/org/aspectj/systemtest/ajc198/Ajc198TestsJava.java
tests/src/test/java/org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java
tests/src/test/java/org/aspectj/systemtest/ajc198/Bugs198Java11Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc198/CompileWithReleaseTests.java
tests/src/test/java/org/aspectj/systemtest/ajc198/Java17PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java
tests/src/test/java/org/aspectj/systemtest/ajc199/Ajc199TestsJava.java
tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java
tests/src/test/java/org/aspectj/systemtest/ajc199/Java18PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc199/SanityTestsJava18.java
tests/src/test/resources/org/aspectj/systemtest/ajc193/sanity-tests-12.xml [new file with mode: 0644]
util/src/main/java/org/aspectj/util/LangUtil.java