summaryrefslogtreecommitdiff
path: root/examples/05-list/output/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-14 18:29:39 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-14 18:29:39 +0100
commit2d44c6f5790f4ed1f143adde92f9aeb25a274d66 (patch)
treed49d9778252322c68e842c335a5e45635cb52aa6 /examples/05-list/output/java
parent43d1f5df6c9f298621c665bd6d5d9450822a8edc (diff)
Convert example 05-list to use JUnit
Diffstat (limited to 'examples/05-list/output/java')
-rw-r--r--examples/05-list/output/java/.gitignore2
-rw-r--r--examples/05-list/output/java/pom.xml40
-rw-r--r--examples/05-list/output/java/src/main/java/org/zwobble/example/Main.java19
3 files changed, 0 insertions, 61 deletions
diff --git a/examples/05-list/output/java/.gitignore b/examples/05-list/output/java/.gitignore
deleted file mode 100644
index ff511d4..0000000
--- a/examples/05-list/output/java/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/src/gen/
-/target/
diff --git a/examples/05-list/output/java/pom.xml b/examples/05-list/output/java/pom.xml
deleted file mode 100644
index 0035469..0000000
--- a/examples/05-list/output/java/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.zwobble.hobgoblin.examples</groupId>
- <artifactId>example</artifactId>
- <version>1.0-SNAPSHOT</version>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>25</maven.compiler.source>
- <maven.compiler.target>25</maven.compiler.target>
- <exec.mainClass>org.zwobble.example.Main</exec.mainClass>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.6.1</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src/gen/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/examples/05-list/output/java/src/main/java/org/zwobble/example/Main.java b/examples/05-list/output/java/src/main/java/org/zwobble/example/Main.java
deleted file mode 100644
index 4cfb23f..0000000
--- a/examples/05-list/output/java/src/main/java/org/zwobble/example/Main.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.zwobble.example;
-
-import java.util.List;
-import org.zwobble.example.types.point.Path;
-import org.zwobble.example.types.point.Point;
-
-public class Main {
- public static void main() {
- Path path = new Path(List.of(
- new Point(10, 25),
- new Point(25, 10)
- ));
-
- Path path2 = Path.arbitrary()
- .addPoint(new Point(10, 25))
- .addPoint(new Point(25, 10))
- .build();
- }
-}