From 19c3a07a3cbb44cb3a32d12a87855643674d6ab9 Mon Sep 17 00:00:00 2001 From: levBagryansky <28lev11@gmail.com> Date: Thu, 27 Jun 2024 18:22:32 +0300 Subject: [PATCH 1/6] #1249: It should align inner classes in tests --- .../java/org/eolang/maven/TranspileMojo.java | 2 + .../eolang/maven/pre/align-test-classes.xsl | 44 +++++ .../pre/remove-high-level-inner-classes.xsl | 39 +++++ .../eolang/maven/pre/rename-tests-inners.xsl | 2 + .../org/eolang/maven/OptimizeMojoTest.java | 2 +- .../maven/packs/tests-moving-inside.yaml | 9 +- .../src/test/eo/org/eolang/nesting-tests.eo | 158 ++++++++++++++++++ 7 files changed, 252 insertions(+), 4 deletions(-) create mode 100644 eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl create mode 100644 eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl create mode 100644 eo-runtime/src/test/eo/org/eolang/nesting-tests.eo 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 c1f71d0929..e471e81bb9 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 @@ -93,6 +93,8 @@ public final class TranspileMojo extends SafeMojo { "/org/eolang/maven/pre/package.xsl", "/org/eolang/maven/pre/tests.xsl", "/org/eolang/maven/pre/rename-tests-inners.xsl", + "/org/eolang/maven/pre/align-test-classes.xsl", + "/org/eolang/maven/pre/remove-high-level-inner-classes.xsl", "/org/eolang/maven/pre/attrs.xsl", "/org/eolang/maven/pre/data.xsl" ).back(), diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl new file mode 100644 index 0000000000..d07f8381be --- /dev/null +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl new file mode 100644 index 0000000000..47bb6a83f9 --- /dev/null +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl index 91d2650ac0..f505f8dbf2 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl @@ -39,6 +39,8 @@ SOFTWARE. ω + -hash- + 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 e0d7e0a06c..f47cbae424 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 @@ -66,7 +66,7 @@ void checksPacks(final String pack) throws IOException { ); } MatcherAssert.assertThat( - BinarizeParseTest.TO_ADD_MESSAGE, + "All yaml tests in packs/ should pass", check.failures(), Matchers.empty() ); diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/tests-moving-inside.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/tests-moving-inside.yaml index f78cd34373..ce42aa15d1 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/tests-moving-inside.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/tests-moving-inside.yaml @@ -25,13 +25,16 @@ xsls: - /org/eolang/maven/pre/classes.xsl - /org/eolang/parser/remove-noise.xsl - /org/eolang/maven/pre/tests.xsl + - /org/eolang/maven/pre/align-test-classes.xsl + - /org/eolang/maven/pre/remove-high-level-inner-classes.xsl - /org/eolang/maven/pre/rename-tests-inners.xsl tests: - /program/errors[count(*)=0] - - /program[count(//class)=5] - /program/objects[count(class)=1] - - //class[@name='ω3t0$a0' and @parent='ω2c'] - - //o[@base='ω2c' and @name='c'] + - /program/objects/class[count(class)=4] + - /program[count(objects/class/class//class)=0] + - //class[starts-with(@name, 'ω3t0$a0-hash-') and starts-with(@parent, 'ω2c-hash-')] + - //o[starts-with(@base, 'ω2c-hash-') and @name='c'] eo: | +tests diff --git a/eo-runtime/src/test/eo/org/eolang/nesting-tests.eo b/eo-runtime/src/test/eo/org/eolang/nesting-tests.eo new file mode 100644 index 0000000000..3a813dae12 --- /dev/null +++ b/eo-runtime/src/test/eo/org/eolang/nesting-tests.eo @@ -0,0 +1,158 @@ +# The MIT License (MIT) +# +# Copyright (c) 2016-2024 Objectionary.com +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# 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. + ++architect yegor256@gmail.com ++home https://github.com/objectionary/eo ++tests ++package org.eolang ++version 0.0.0 + +# Nesting test. +[] > nesting-test + [] > aboba-1 + [] > aboba-2 + [] > aboba-2 + true > @ + +# Nesting blah test. +[] > nesting-blah-test + blah0 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah0 + blah1 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah1 + blah2 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah2 + blah3 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah3 + blah4 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah4 + blah5 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah5 + blah6 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah6 + blah7 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah7 + blah8 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah8 + blah9 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah9 + blah10 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah10 + blah11 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah11 + blah12 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah12 + blah13 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah13 + blah14 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah14 + blah15 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah15 + blah16 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah16 + blah17 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah17 + blah18 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah18 + blah19 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah19 + blah20 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah20 + blah21 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah21 + blah22 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah22 + blah23 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah23 + blah24 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah24 + blah25 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah25 + blah26 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah26 + blah27 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah27 + blah28 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah28 + blah29 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah29 + blah30 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah30 + blah31 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah31 + blah32 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah32 + blah33 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah33 + blah34 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah34 + blah35 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah35 + blah36 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah36 + blah37 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah37 + blah38 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah38 + blah39 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah39 + true > @ From f5cec0be5e32a1de29e228be72a348b3c7b68801 Mon Sep 17 00:00:00 2001 From: levBagryansky <28lev11@gmail.com> Date: Thu, 27 Jun 2024 19:09:21 +0300 Subject: [PATCH 2/6] #1249: Edited id --- .../main/resources/org/eolang/maven/pre/align-test-classes.xsl | 2 +- .../org/eolang/maven/pre/remove-high-level-inner-classes.xsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl index d07f8381be..7ebd5e07f6 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.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/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl index 47bb6a83f9..c51e99ca01 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.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. --> - + From 34e89c20068299507a5bee3bace86d63f0bceea0 Mon Sep 17 00:00:00 2001 From: levBagryansky <28lev11@gmail.com> Date: Thu, 27 Jun 2024 19:11:46 +0300 Subject: [PATCH 3/6] #1249: Edited id --- .../org/eolang/maven/pre/remove-high-level-inner-classes.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl index c51e99ca01..29be824b00 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.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. --> - + From 101a43f252ddb3d1f4d898f60f012836909af1d2 Mon Sep 17 00:00:00 2001 From: levBagryansky <28lev11@gmail.com> Date: Mon, 8 Jul 2024 12:49:36 +0300 Subject: [PATCH 4/6] #1249: transferred the test to runtime-tests --- .../eolang/maven/pre/align-test-classes.xsl | 1 + .../pre/remove-high-level-inner-classes.xsl | 1 + .../src/test/eo/org/eolang/nesting-tests.eo | 158 ------------------ .../src/test/eo/org/eolang/runtime-tests.eo | 124 ++++++++++++++ 4 files changed, 126 insertions(+), 158 deletions(-) delete mode 100644 eo-runtime/src/test/eo/org/eolang/nesting-tests.eo diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl index 7ebd5e07f6..e61dfc9a83 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl @@ -23,6 +23,7 @@ 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/remove-high-level-inner-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl index 29be824b00..cdfb8fc6ea 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl @@ -23,6 +23,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> + diff --git a/eo-runtime/src/test/eo/org/eolang/nesting-tests.eo b/eo-runtime/src/test/eo/org/eolang/nesting-tests.eo deleted file mode 100644 index 3a813dae12..0000000000 --- a/eo-runtime/src/test/eo/org/eolang/nesting-tests.eo +++ /dev/null @@ -1,158 +0,0 @@ -# The MIT License (MIT) -# -# Copyright (c) 2016-2024 Objectionary.com -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# 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. - -+architect yegor256@gmail.com -+home https://github.com/objectionary/eo -+tests -+package org.eolang -+version 0.0.0 - -# Nesting test. -[] > nesting-test - [] > aboba-1 - [] > aboba-2 - [] > aboba-2 - true > @ - -# Nesting blah test. -[] > nesting-blah-test - blah0 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah0 - blah1 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah1 - blah2 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah2 - blah3 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah3 - blah4 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah4 - blah5 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah5 - blah6 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah6 - blah7 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah7 - blah8 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah8 - blah9 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah9 - blah10 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah10 - blah11 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah11 - blah12 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah12 - blah13 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah13 - blah14 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah14 - blah15 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah15 - blah16 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah16 - blah17 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah17 - blah18 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah18 - blah19 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah19 - blah20 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah20 - blah21 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah21 - blah22 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah22 - blah23 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah23 - blah24 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah24 - blah25 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah25 - blah26 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah26 - blah27 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah27 - blah28 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah28 - blah29 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah29 - blah30 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah30 - blah31 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah31 - blah32 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah32 - blah33 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah33 - blah34 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah34 - blah35 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah35 - blah36 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah36 - blah37 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah37 - blah38 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah38 - blah39 > @ - # This is the default 64+ symbols comment in front of named abstract object. - [] > blah39 - true > @ 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 1beeb38b67..a84dafa7c1 100644 --- a/eo-runtime/src/test/eo/org/eolang/runtime-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/runtime-tests.eo @@ -341,3 +341,127 @@ 2 build 2 > @ 9 + +# Nesting blah test. +[] > nesting-blah-test + blah0 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah0 + blah1 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah1 + blah2 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah2 + blah3 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah3 + blah4 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah4 + blah5 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah5 + blah6 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah6 + blah7 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah7 + blah8 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah8 + blah9 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah9 + blah10 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah10 + blah11 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah11 + blah12 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah12 + blah13 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah13 + blah14 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah14 + blah15 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah15 + blah16 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah16 + blah17 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah17 + blah18 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah18 + blah19 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah19 + blah20 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah20 + blah21 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah21 + blah22 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah22 + blah23 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah23 + blah24 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah24 + blah25 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah25 + blah26 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah26 + blah27 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah27 + blah28 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah28 + blah29 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah29 + blah30 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah30 + blah31 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah31 + blah32 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah32 + blah33 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah33 + blah34 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah34 + blah35 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah35 + blah36 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah36 + blah37 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah37 + blah38 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah38 + blah39 > @ + # This is the default 64+ symbols comment in front of named abstract object. + [] > blah39 + true > @ From b366e9b452fd9d6d392f3dfd09484713485bd0d3 Mon Sep 17 00:00:00 2001 From: levBagryansky <28lev11@gmail.com> Date: Mon, 8 Jul 2024 17:31:54 +0300 Subject: [PATCH 5/6] #1249: "head='tests' or head='junit'" => "head='tests'" --- .../org/eolang/maven/pre/align-test-classes.xsl | 2 +- .../maven/pre/remove-high-level-inner-classes.xsl | 2 +- .../org/eolang/maven/pre/rename-tests-inners.xsl | 2 +- .../src/main/resources/org/eolang/maven/pre/tests.xsl | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl index e61dfc9a83..d126563193 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl @@ -33,7 +33,7 @@ SOFTWARE. - + diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl index cdfb8fc6ea..46826523ab 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl @@ -31,7 +31,7 @@ SOFTWARE. - + diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl index f505f8dbf2..29667515a6 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/rename-tests-inners.xsl @@ -29,7 +29,7 @@ SOFTWARE. could be too long class names. --> - + diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/tests.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/tests.xsl index 3138f14d5b..974be1c78c 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/tests.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/tests.xsl @@ -47,7 +47,7 @@ SOFTWARE. - + @@ -61,7 +61,7 @@ SOFTWARE. - + @@ -81,7 +81,7 @@ SOFTWARE. - + @@ -100,7 +100,7 @@ SOFTWARE. - + @@ -108,7 +108,7 @@ SOFTWARE. - + From 5f71785d2d44c5b2d55511cdb4b78063f1560db8 Mon Sep 17 00:00:00 2001 From: levBagryansky <28lev11@gmail.com> Date: Tue, 9 Jul 2024 14:59:45 +0300 Subject: [PATCH 6/6] #1249: Added todo --- .../resources/org/eolang/maven/pre/align-test-classes.xsl | 4 +++- .../org/eolang/maven/pre/remove-high-level-inner-classes.xsl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl index d126563193..e40e908567 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/align-test-classes.xsl @@ -23,7 +23,9 @@ 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/remove-high-level-inner-classes.xsl b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl index 46826523ab..ae394334e3 100644 --- a/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl +++ b/eo-maven-plugin/src/main/resources/org/eolang/maven/pre/remove-high-level-inner-classes.xsl @@ -23,7 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - +