diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java b/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java index 3e4d04a343..d1baa54853 100644 --- a/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java +++ b/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java @@ -82,8 +82,8 @@ public final class TranspileMojo extends SafeMojo { new ParsingTrain().empty().with(new StUnhex()), "/org/eolang/maven/pre/classes.xsl", "/org/eolang/maven/pre/package.xsl", - "/org/eolang/maven/pre/junit.xsl", - "/org/eolang/maven/pre/rename-junit-inners.xsl", + "/org/eolang/maven/pre/xunit.xsl", + "/org/eolang/maven/pre/rename-xunit-inners.xsl", "/org/eolang/maven/pre/attrs.xsl", "/org/eolang/maven/pre/varargs.xsl", "/org/eolang/maven/pre/data.xsl" diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-junit-inners.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-xunit-inners.xsl similarity index 92% rename from eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-junit-inners.xsl rename to eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-xunit-inners.xsl index 49d03d4481..19ccac2193 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-junit-inners.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-xunit-inners.xsl @@ -22,19 +22,19 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - + - + - + ω diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/to-java.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/to-java.xsl index 7223091a9d..4de6b1cef9 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/to-java.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/to-java.xsl @@ -131,7 +131,7 @@ SOFTWARE. import org.eolang.*; - + @@ -160,7 +160,7 @@ SOFTWARE. - + @@ -177,7 +177,7 @@ SOFTWARE. - + public () { @@ -646,7 +646,7 @@ SOFTWARE. - + import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/junit.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/xunit.xsl similarity index 92% rename from eo-maven-plugin/src/main/resources/org/eolang/maven/pre/junit.xsl rename to eo-maven-plugin/src/main/resources/org/eolang/maven/pre/xunit.xsl index e1645f3f2b..6a4f9cbf3f 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/junit.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/xunit.xsl @@ -22,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - + diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java index 4da3b3f1d3..eb167a3d0a 100644 --- a/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java +++ b/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java @@ -302,7 +302,7 @@ void failsOnWarning(@TempDir final Path temp) throws Exception { final FakeMaven maven = new FakeMaven(temp) .withProgram( "+architect yegor256@gmail.com", - "+junit", + "+xunit", "+package org.eolang.examples\n", "[] > main", " [] > @", diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/mess.eo b/eo-maven-plugin/src/test/resources/org/eolang/maven/mess.eo index 505bd08d2f..60924e410b 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/mess.eo +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/mess.eo @@ -4,7 +4,7 @@ +architect yegor256@gmail.com +package org.eolang.examples +alias org.eolang.io.stdout -+junit ++xunit 3.14 > pi diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-moving-inside.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-moving-inside.yaml index ae9d30fb83..347f225a5e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-moving-inside.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-moving-inside.yaml @@ -2,8 +2,8 @@ xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/maven/pre/classes.xsl - /org/eolang/parser/remove-noise.xsl - - /org/eolang/maven/pre/junit.xsl - - /org/eolang/maven/pre/rename-junit-inners.xsl + - /org/eolang/maven/pre/xunit.xsl + - /org/eolang/maven/pre/rename-xunit-inners.xsl tests: - /program/errors[count(*)=0] - /program[count(//class)=5] @@ -11,7 +11,7 @@ tests: - //class[@name='ω3t0$a0' and @parent='ω2c'] - //o[@base='ω2c' and @name='c'] eo: | - +junit + +xunit [] > a [] > b diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-test.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-test.yaml index e104250c72..a42b8afb9c 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-test.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/junit-test.yaml @@ -16,7 +16,7 @@ tests: - /program/errors[count(*)=0] - //java[contains(text(), '@Test')] eo: | - +junit + +xunit [] > works 1.eq 1 > @ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/witherror.eo b/eo-maven-plugin/src/test/resources/org/eolang/maven/witherror.eo index a67b993521..19aff0d848 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/witherror.eo +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/witherror.eo @@ -3,7 +3,7 @@ +architect yegor256@gmail.com +package org.eolang.examples -+junit ++xunit [] > main [] < @ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/withwarning.eo b/eo-maven-plugin/src/test/resources/org/eolang/maven/withwarning.eo index 19760f7531..6e401aaffa 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/withwarning.eo +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/withwarning.eo @@ -2,7 +2,7 @@ # program, to be ignored. +architect yegor256@gmail.com -+junit ++xunit +package org.eolang.examples [] > main diff --git a/eo-parser/src/main/resources/org/eolang/parser/warnings/unit-test-without-phi.xsl b/eo-parser/src/main/resources/org/eolang/parser/warnings/unit-test-without-phi.xsl index 0d94083e6b..acbe3dd9e9 100644 --- a/eo-parser/src/main/resources/org/eolang/parser/warnings/unit-test-without-phi.xsl +++ b/eo-parser/src/main/resources/org/eolang/parser/warnings/unit-test-without-phi.xsl @@ -27,7 +27,7 @@ SOFTWARE. - + unit-test-without-phi diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml index 95d6f7fada..33e0ec016f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml @@ -6,7 +6,7 @@ tests: - /program/errors/error[@check='unit-test-without-phi'] - //o[@name='test'] eo: | - +junit + +xunit [] > test TRUE diff --git a/eo-runtime/src/test/eo/org/eolang/array-tests.eo b/eo-runtime/src/test/eo/org/eolang/array-tests.eo index ffcda33619..23726ec9a8 100644 --- a/eo-runtime/src/test/eo/org/eolang/array-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/array-tests.eo @@ -24,7 +24,7 @@ +alias org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/as-phi-tests.eo b/eo-runtime/src/test/eo/org/eolang/as-phi-tests.eo index 21a27bb2b9..ba23bc2ec2 100644 --- a/eo-runtime/src/test/eo/org/eolang/as-phi-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/as-phi-tests.eo @@ -24,7 +24,7 @@ +alias org.eolang.io.stdout +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/bool-tests.eo b/eo-runtime/src/test/eo/org/eolang/bool-tests.eo index 84d386cf9d..4dabe45080 100644 --- a/eo-runtime/src/test/eo/org/eolang/bool-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/bool-tests.eo @@ -26,7 +26,7 @@ +alias org.eolang.txt.sprintf +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/bytes-tests.eo b/eo-runtime/src/test/eo/org/eolang/bytes-tests.eo index 5ddf2f18ba..1d1e45d99b 100644 --- a/eo-runtime/src/test/eo/org/eolang/bytes-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/bytes-tests.eo @@ -23,7 +23,7 @@ +alias org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/cage-tests.eo b/eo-runtime/src/test/eo/org/eolang/cage-tests.eo index dbd3823354..9628486ab9 100644 --- a/eo-runtime/src/test/eo/org/eolang/cage-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/cage-tests.eo @@ -23,7 +23,7 @@ +alias org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/float-tests.eo b/eo-runtime/src/test/eo/org/eolang/float-tests.eo index 6bb431d5a3..abeb2a453d 100644 --- a/eo-runtime/src/test/eo/org/eolang/float-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/float-tests.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+junit ++xunit +version 0.0.0 [] > less-true diff --git a/eo-runtime/src/test/eo/org/eolang/goto-tests.eo b/eo-runtime/src/test/eo/org/eolang/goto-tests.eo index dde039145d..ac3a13d755 100644 --- a/eo-runtime/src/test/eo/org/eolang/goto-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/goto-tests.eo @@ -25,7 +25,7 @@ +alias org.eolang.io.stdout +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/heap-tests.eo b/eo-runtime/src/test/eo/org/eolang/heap-tests.eo index df85bf4295..7a062dbc79 100644 --- a/eo-runtime/src/test/eo/org/eolang/heap-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/heap-tests.eo @@ -24,7 +24,7 @@ +alias org.eolang.heap +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/int-tests.eo b/eo-runtime/src/test/eo/org/eolang/int-tests.eo index 3eca0af7ae..6340506e7e 100644 --- a/eo-runtime/src/test/eo/org/eolang/int-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/int-tests.eo @@ -25,7 +25,7 @@ +alias org.eolang.txt.sprintf +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/io/stdout-tests.eo b/eo-runtime/src/test/eo/org/eolang/io/stdout-tests.eo index f4533c5670..9879af3d33 100644 --- a/eo-runtime/src/test/eo/org/eolang/io/stdout-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/io/stdout-tests.eo @@ -25,7 +25,7 @@ +alias stdout org.eolang.io.stdout +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang.io +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/memory-tests.eo b/eo-runtime/src/test/eo/org/eolang/memory-tests.eo index 1a2941102c..3c00a07892 100644 --- a/eo-runtime/src/test/eo/org/eolang/memory-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/memory-tests.eo @@ -25,7 +25,7 @@ +alias org.eolang.txt.sprintf +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/nan-tests.eo b/eo-runtime/src/test/eo/org/eolang/nan-tests.eo index bbd6f7a5a1..b2d9fe1a41 100644 --- a/eo-runtime/src/test/eo/org/eolang/nan-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/nan-tests.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+junit ++xunit +version 0.0.0 [] > nan-not-eq-number diff --git a/eo-runtime/src/test/eo/org/eolang/negative-infinity-tests.eo b/eo-runtime/src/test/eo/org/eolang/negative-infinity-tests.eo index 5abe673a1f..fb4dda21ae 100644 --- a/eo-runtime/src/test/eo/org/eolang/negative-infinity-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/negative-infinity-tests.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+junit ++xunit +version 0.0.0 # Equal to diff --git a/eo-runtime/src/test/eo/org/eolang/nop-tests.eo b/eo-runtime/src/test/eo/org/eolang/nop-tests.eo index 14925fbb12..a16fa5ff1e 100644 --- a/eo-runtime/src/test/eo/org/eolang/nop-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/nop-tests.eo @@ -24,7 +24,7 @@ +alias org.eolang.nop +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/positive-infinity-tests.eo b/eo-runtime/src/test/eo/org/eolang/positive-infinity-tests.eo index fafe0be4d4..ef62e68b45 100644 --- a/eo-runtime/src/test/eo/org/eolang/positive-infinity-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/positive-infinity-tests.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+junit ++xunit +version 0.0.0 # Equal to diff --git a/eo-runtime/src/test/eo/org/eolang/ram-tests.eo b/eo-runtime/src/test/eo/org/eolang/ram-tests.eo index b5e8f6c573..15d873eaa2 100644 --- a/eo-runtime/src/test/eo/org/eolang/ram-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/ram-tests.eo @@ -24,7 +24,7 @@ +alias org.eolang.ram +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/runtime-tests.eo b/eo-runtime/src/test/eo/org/eolang/runtime-tests.eo index 68803ce6e7..286da4e060 100644 --- a/eo-runtime/src/test/eo/org/eolang/runtime-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/runtime-tests.eo @@ -26,7 +26,7 @@ +alias org.eolang.txt.sprintf +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/rust-tests.eo b/eo-runtime/src/test/eo/org/eolang/rust-tests.eo index 08b133860f..e62deb9e7a 100644 --- a/eo-runtime/src/test/eo/org/eolang/rust-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/rust-tests.eo @@ -22,7 +22,7 @@ +alias org.eolang.hamcrest.assert-that +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/seq-tests.eo b/eo-runtime/src/test/eo/org/eolang/seq-tests.eo index f48418df04..f42c608819 100644 --- a/eo-runtime/src/test/eo/org/eolang/seq-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/seq-tests.eo @@ -23,7 +23,7 @@ +alias org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/string-tests.eo b/eo-runtime/src/test/eo/org/eolang/string-tests.eo index 973abb2170..9efdca4264 100644 --- a/eo-runtime/src/test/eo/org/eolang/string-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/string-tests.eo @@ -23,7 +23,7 @@ +alias org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/switch-tests.eo b/eo-runtime/src/test/eo/org/eolang/switch-tests.eo index 5dd34f9706..0b97f55760 100644 --- a/eo-runtime/src/test/eo/org/eolang/switch-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/switch-tests.eo @@ -23,7 +23,7 @@ +alias org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/try-tests.eo b/eo-runtime/src/test/eo/org/eolang/try-tests.eo index 1e543acfbb..cc58edd6c5 100644 --- a/eo-runtime/src/test/eo/org/eolang/try-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/try-tests.eo @@ -24,7 +24,7 @@ +alias org.eolang.try +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 diff --git a/eo-runtime/src/test/eo/org/eolang/junit-tests.eo b/eo-runtime/src/test/eo/org/eolang/xunit-tests.eo similarity index 96% rename from eo-runtime/src/test/eo/org/eolang/junit-tests.eo rename to eo-runtime/src/test/eo/org/eolang/xunit-tests.eo index e3cff508d1..cf07283888 100644 --- a/eo-runtime/src/test/eo/org/eolang/junit-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/xunit-tests.eo @@ -23,7 +23,7 @@ +alias assertThat org.eolang.hamcrest.assert-that +architect yegor256@gmail.com +home https://github.com/objectionary/eo -+junit ++xunit +package org.eolang +version 0.0.0 @@ -40,4 +40,4 @@ "anything" $.is $.anything - "assert that should works with junit" + "assert that should works with xunit"