Skip to content

Commit daa1037

Browse files
Merge pull request #33 from ithsjava25/revert-32-tests
Revert "Tests"
2 parents fcd0249 + dce624d commit daa1037

File tree

7 files changed

+3
-296
lines changed

7 files changed

+3
-296
lines changed

pom.xml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -45,54 +45,24 @@
4545
<artifactId>javafx-fxml</artifactId>
4646
<version>${javafx.version}</version>
4747
</dependency>
48-
49-
5048
</dependencies>
5149
<build>
5250
<plugins>
53-
54-
<plugin>
55-
<groupId>org.apache.maven.plugins</groupId>
56-
<artifactId>maven-compiler-plugin</artifactId>
57-
<version>3.11.0</version>
58-
<configuration>
59-
<source>25</source>
60-
<target>25</target>
61-
<release>25</release>
62-
</configuration>
63-
</plugin>
64-
6551
<plugin>
6652
<groupId>org.openjfx</groupId>
6753
<artifactId>javafx-maven-plugin</artifactId>
6854
<version>0.0.8</version>
6955
<configuration>
7056
<mainClass>com.example.HelloFX</mainClass>
7157
<options>
72-
<option>--enable-native-access=javafx.graphics</option>
58+
<option>--enable-native-access=javafx.graphics</option>
7359
</options>
7460
<launcher>javafx</launcher>
7561
<stripDebug>true</stripDebug>
7662
<noHeaderFiles>true</noHeaderFiles>
7763
<noManPages>true</noManPages>
7864
</configuration>
7965
</plugin>
80-
81-
<plugin>
82-
<groupId>org.apache.maven.plugins</groupId>
83-
<artifactId>maven-surefire-plugin</artifactId>
84-
<version>3.1.2</version>
85-
<configuration>
86-
<useModulePath>false</useModulePath>
87-
<includes>
88-
<include>**/*Test.java</include>
89-
</includes>
90-
</configuration>
91-
</plugin>
92-
9366
</plugins>
94-
95-
96-
9767
</build>
9868
</project>

src/main/java/com/example/ChatController.java

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/main/java/com/example/ChatModel.java

Lines changed: 0 additions & 120 deletions
This file was deleted.

src/main/java/com/example/HelloFX.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ public class HelloFX extends Application {
1010

1111
@Override
1212
public void start(Stage stage) throws Exception {
13-
FXMLLoader fxmlLoader = new FXMLLoader(HelloFX.class.getResource("chat-view.fxml"));
13+
FXMLLoader fxmlLoader = new FXMLLoader(HelloFX.class.getResource("hello-view.fxml"));
1414
Parent root = fxmlLoader.load();
1515
Scene scene = new Scene(root, 640, 480);
16-
stage.setTitle("Chat App");
16+
stage.setTitle("Hello MVC");
1717
stage.setScene(scene);
1818
stage.show();
1919
}

src/main/java/module-info.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module hellofx {
22
requires javafx.controls;
33
requires javafx.fxml;
4-
requires java.net.http;
5-
64

75
opens com.example to javafx.fxml;
86
exports com.example;

src/main/resources/com/example/chat-view.fxml

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/test/java/com/example/ChatModelTest.java

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)