From eb5978611086248345e20ababb509c37822bfb1d Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Thu, 15 Oct 2026 13:12:49 +0200 Subject: [PATCH] replaced junit test runner by rascal test runner --- pom.xml | 26 +++++++------------------- src/examples/RunTests.java | 23 ----------------------- 2 files changed, 7 insertions(+), 42 deletions(-) delete mode 100644 src/examples/RunTests.java diff --git a/pom.xml b/pom.xml index 6b8f9e93..da33d3c8 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,6 @@ - src @@ -78,6 +77,13 @@ compile + + typepal-test + test + + test + + typepal-package prepare-package @@ -104,24 +110,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.2.5 - - - -ea - -Xmx2G - -Xss128m - -Dfile.encoding=UTF-8 - - - **/*Tests.java - - ${basedir}/src/ - ${project.build.directory}/classes/ - - org.apache.maven.plugins diff --git a/src/examples/RunTests.java b/src/examples/RunTests.java deleted file mode 100644 index 1640f7d2..00000000 --- a/src/examples/RunTests.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - Copyright (c) 2017, Paul Klint - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ -package examples; - -import org.junit.runner.RunWith; -import org.rascalmpl.test.infrastructure.RascalJUnitTestPrefix; -import org.rascalmpl.test.infrastructure.RascalJUnitTestRunner; - -@RunWith(RascalJUnitTestRunner.class) -@RascalJUnitTestPrefix("examples") -public class RunTests { - -}