Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Nov 23, 2023
2 parents 5165a0b + 05ba13d commit 4e2582b
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@
* Test case for {@link SodgMojo}.
*
* @since 0.1
* @todo #2555:30min Enable the test. The test {@link SodgMojoTest#generatesSodgForPacks(String)}
* was disabled because it does not pass after changing tuple implementation. Need to refactor it
* and enable. Don't forget to remove the puzzle.
* @todo #2437:30min Enable the tests: Some tests in the class were disabled after changing
* "explicit-data.xsl". Need to fix them and enable. Don't forget to remove the puzzle.
* Disabled tests: {@link SodgMojoTest#generatesSodgForPacks(String)}.
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
final class SodgMojoTest {
Expand Down Expand Up @@ -91,9 +85,8 @@ void transformsThroughSheets(final String yaml) {
);
}

@Disabled
@ParameterizedTest
@ClasspathSource(value = "org/eolang/maven/sodgs", glob = "**.yaml")
@ClasspathSource(value = "org/eolang/maven/sodgs/", glob = "**.yaml")
@SuppressWarnings("PMD.JUnitTestContainsTooManyAsserts")
void generatesSodgForPacks(final String pack) throws Exception {
final Map<String, Object> map = new Yaml().load(pack);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locators:
- .org .eolang .int
- .foo .bar .a .x .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .foo .bar .b .y .α0 .Δ δ=00-00-00-00-00-00-01-00
- .foo .bar .a .x .α0 .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .foo .bar .b .y .α0 .α0 .Δ δ=00-00-00-00-00-00-01-00
- .foo .bar .a .x .α0 .π >int ν=$Φ.org.eolang.int
- .foo .bar .a .x .π >bar .ρ ν=ν0
eo: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ locators:
- .org .eolang .test
- .org .eolang .int
- .arrays .z .π >tuple
- .arrays .z .α0 .ε >test
- .arrays .z .α0 .α0 .ε >test
- .arrays .z .α1 .π >tuple
- .arrays .z .α1 .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .arrays .z .α1 .α1 .Δ δ=00-00-00-00-00-00-00-2B
- .arrays .z .α1 .α0 .α1 .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .arrays .z .α1 .α1 .α0 .Δ δ=00-00-00-00-00-00-00-2B
eo: |
[] > arrays
* > z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
locators:
- .data .f .Δ δ=40-09-21-FB-4D-12-D8-4A
- .data .f .α0 .Δ δ=40-09-21-FB-4D-12-D8-4A
- .data .f .π >float
- .data .b .Δ δ=01
- .data .b .α0 .Δ δ=01
- .data .b .π >bool
- .data .i .Δ δ=00-00-00-00-00-01-00-00
- .data .i .α0 .Δ δ=00-00-00-00-00-01-00-00
- .data .i .π >int
- .data .s .Δ δ=D0-B4-D1-80-D1-83-D0-B3
- .data .s .α0 .Δ δ=D0-B4-D1-80-D1-83-D0-B3
- .data .s .π >string
eo: |
[] > data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ locators:
- .org .eolang .bool
- .org .eolang .bool !.not
- .org .eolang .int !.plus
- .dots .x .ε .β .not .Δ δ=01
- .dots .x .ε .β .not .α0 .Δ δ=01
- .dots .x .ε .β .not .π >bool
- .dots .y >b
- .dots .z .π .β .times .π .β .plus .Δ δ=00-00-00-00-00-00-00-2A
- .dots .z .π .β .times .π .β .plus .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .dots .z .π .β .times .π .β .plus .π >int
eo: |
[] > dots
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
inclusion:
- foo.x.*
locators:
- .a .x .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .b .y .α0 .Δ δ=00-00-00-00-00-00-01-00
- .a .x .α0 .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .b .y .α0 .α0 .Δ δ=00-00-00-00-00-00-01-00
eo: |
[f] > a
b 42 > x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locators:
- .refs .x .Δ δ=01
- .refs .x .α0 .Δ δ=01
- .refs .x .π >bool
- .refs .y .ε
eo: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ locators:
- .boom
- .foo
- .bar
- .simple .φ .ρ .φ .ρ .φ .α0 .α0 .Δ δ=01
- .simple .φ .ρ .φ .ρ .φ .α0 .α0 .α0 .Δ δ=01
- .simple .φ .ρ .φ .ρ .φ .α0 .α0 .π >bool
- .simple .φ .α1 .Δ δ=00-00-00-00-00-00-00-2A
- .simple .φ .α1 .α0 .Δ δ=00-00-00-00-00-00-00-2A
- .simple .φ .α1 .π >int
- .simple .φ .α2 >boom
eo: |
Expand Down

2 comments on commit 4e2582b

@0pdd
Copy link

@0pdd 0pdd commented on 4e2582b Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 2555-1f303a38 disappeared from eo-maven-plugin/src/test/java/org/eolang/maven/SodgMojoTest.java), that's why I closed #2562. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.

@0pdd
Copy link

@0pdd 0pdd commented on 4e2582b Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 2437-4800d650 disappeared from eo-maven-plugin/src/test/java/org/eolang/maven/SodgMojoTest.java), that's why I closed #2586. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.

Please sign in to comment.