Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jul 7, 2024
2 parents 483c2fe + ce4acc0 commit 9b9d6de
Show file tree
Hide file tree
Showing 65 changed files with 1,379 additions and 321 deletions.
2 changes: 1 addition & 1 deletion src/it/annotations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ The integration test verifies that the program can run successfully, and the jeo
If you only need to run this test, use the following command:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=annotations -DskipTests
mvn clean integration-test -Dinvoker.test=annotations -DskipTests
```
3 changes: 1 addition & 2 deletions src/it/annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ SOFTWARE.
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.1</version>
<version>0.38.4</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
Expand All @@ -72,7 +72,6 @@ SOFTWARE.
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiOptimize>false</phiOptimize>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-eo</phiOutputDir>
</configuration>
Expand Down
7 changes: 7 additions & 0 deletions src/it/bytecode-to-eo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Bytecode To Eo Integration Test

If you need to run only this test, use the following command:

```shell
mvn clean integration-test -Dinvoker.test=bytecode-to-eo -DskipTests
```
20 changes: 19 additions & 1 deletion src/it/bytecode-to-eo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SOFTWARE.
<packaging>jar</packaging>
<description>Integration test.
If you need to run only this test, use the following command:
"mvn clean integration-test invoker:run -Dinvoker.test=bytecode-to-eo -DskipTests"
"mvn clean integration-test -Dinvoker.test=bytecode-to-eo -DskipTests"
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -93,6 +93,24 @@ SOFTWARE.
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.4</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-eo</phiOutputDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion src/it/custom-transformations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ the plugin didn't break anything. If you need to run only this test, use the
following command:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=custom-transformations -DskipTests
mvn clean integration-test -Dinvoker.test=custom-transformations -DskipTests
```
22 changes: 11 additions & 11 deletions src/it/custom-transformations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ SOFTWARE.
Once it is implemented, this comment should be removed and the goal
should be enabled.
-->
<!-- <execution>-->
<!-- <id>convert-xmir-to-phi</id>-->
<!-- <phase>process-classes</phase>-->
<!-- <goals>-->
<!-- <goal>xmir-to-phi</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>-->
<!-- <phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>-->
<!-- </configuration>-->
<!-- </execution>-->
<execution>
<id>convert-xmir-to-phi</id>
<phase>process-classes</phase>
<goals>
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/it/eo-to-bytecode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ generated XMIR files to bytecode. In other words, it checks the
If you need to run only this test, use the following command:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=eo-to-bytecode -DskipTests
mvn clean integration-test -Dinvoker.test=eo-to-bytecode -DskipTests
```
2 changes: 1 addition & 1 deletion src/it/exceptions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ that utilizes exceptions.
If you need to run only this test, use the following command:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=exceptions -DskipTests
mvn clean integration-test -Dinvoker.test=exceptions -DskipTests
```
18 changes: 18 additions & 0 deletions src/it/exceptions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,24 @@ SOFTWARE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.4</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-eo</phiOutputDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
10 changes: 10 additions & 0 deletions src/it/generics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Generics Integration Test

Integration test that checks correct transformation Java generics from
bytecode into EO and back.

To run only this test, just run the following command:

```shell
mvn clean integration-test -Dinvoker.test=generics -DskipTests
```
18 changes: 18 additions & 0 deletions src/it/generics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,24 @@ SOFTWARE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.4</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/it/spring-fat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The process is as follows:
To exclusively run this test, execute the command below:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=spring-fat -DskipTests
mvn clean integration-test -Dinvoker.test=spring-fat -DskipTests
```

## The First Results
Expand Down
25 changes: 25 additions & 0 deletions src/it/spring-fat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,31 @@ SOFTWARE.
</execution>
</executions>
</plugin>
<!--
@todo #627:30min Too Long PHI Printing In Spring-Fat IT
We need to optimize PHI pringint in `eo-maven-plugin`
and then enable the code below.
You can check the progress of the issue by the link:
https://github.com/objectionary/eo/issues/3257
-->
<!-- <plugin>-->
<!-- <groupId>org.eolang</groupId>-->
<!-- <artifactId>eo-maven-plugin</artifactId>-->
<!-- <version>0.38.4</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>convert-xmir-to-phi</id>-->
<!-- <phase>process-classes</phase>-->
<!-- <goals>-->
<!-- <goal>xmir-to-phi</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>-->
<!-- <phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/it/spring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ application with several beans and prints results to the console.
If you need to run only this test, use the following command:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=spring -DskipTests
mvn clean integration-test -Dinvoker.test=spring -DskipTests
```
20 changes: 20 additions & 0 deletions src/it/spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,38 @@ SOFTWARE.
<executions>
<execution>
<id>bytecode-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>disassemble</goal>
</goals>
</execution>
<execution>
<id>eo-to-bytecode</id>
<phase>generate-test-sources</phase>
<goals>
<goal>assemble</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.4</version>
<executions>
<execution>
<id>convert-xmir-to-phi</id>
<phase>process-classes</phase>
<goals>
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/phi-jeo</phiOutputDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand Down
7 changes: 3 additions & 4 deletions src/it/takes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,17 @@ SOFTWARE.
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.1</version>
<version>0.38.4</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
<id>convert-xmir-to-phi</id>
<phase>process-classes</phase>
<goals>
<goal>xmir-to-phi</goal>
</goals>
<configuration>
<phiOptimize>false</phiOptimize>
<phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-eo</phiOutputDir>
<phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>
</configuration>
</execution>
</executions>
Expand Down
Loading

5 comments on commit 9b9d6de

@0pdd
Copy link

@0pdd 0pdd commented on 9b9d6de Jul 7, 2024

Choose a reason for hiding this comment

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

Puzzle 627-3e5a4432 discovered in src/it/spring-fat/pom.xml) and submitted as #633. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link

@0pdd 0pdd commented on 9b9d6de Jul 7, 2024

Choose a reason for hiding this comment

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

Puzzle 627-16d688fd discovered in src/main/java/org/eolang/jeo/representation/bytecode/BytecodeAnnotation.java) and submitted as #634. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link

@0pdd 0pdd commented on 9b9d6de Jul 7, 2024

Choose a reason for hiding this comment

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

Puzzle 627-fdafed58 discovered in src/main/java/org/eolang/jeo/representation/directives/DirectivesData.java) and submitted as #635. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link

@0pdd 0pdd commented on 9b9d6de Jul 7, 2024

Choose a reason for hiding this comment

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

Puzzle 627-e9cbafe1 discovered in src/main/java/org/eolang/jeo/representation/xmir/XmlClassProperties.java) and submitted as #636. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link

@0pdd 0pdd commented on 9b9d6de Jul 7, 2024

Choose a reason for hiding this comment

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

Puzzle 627-6ec10c06 discovered in src/main/java/org/eolang/jeo/representation/xmir/XmlMethod.java) and submitted as #637. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

Please sign in to comment.