Skip to content

Commit

Permalink
dependency fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
izzat5233 committed May 13, 2023
1 parent 6439c4f commit 03b2ec7
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions ccsm-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<dependency>
<groupId>org.testfx</groupId>
<artifactId>testfx-core</artifactId>
<version>4.0.15-alpha</version>
<version>4.0.16-alpha</version>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
Expand All @@ -87,8 +87,8 @@
</dependency>
<dependency>
<groupId>org.testfx</groupId>
<artifactId>testfx-junit</artifactId>
<version>4.0.15-alpha</version>
<artifactId>testfx-junit5</artifactId>
<version>4.0.16-alpha</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
3 changes: 1 addition & 2 deletions ccsm-ui/src/test/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
requires io.cucumber.core;
requires io.cucumber.junit;

requires org.hamcrest;
requires org.testfx;
requires org.testfx.junit;
requires org.testfx.junit5;
requires junit;

exports stu.najah.se.test.ui.features.aya;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import io.cucumber.java.AfterStep;
import io.cucumber.java.Before;
import io.cucumber.java.BeforeAll;
import org.testfx.framework.junit.ApplicationTest;
import org.testfx.framework.junit5.ApplicationTest;
import org.testfx.util.WaitForAsyncUtils;
import stu.najah.se.core.ServiceManager;
import stu.najah.se.ui.Prompter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import javafx.scene.Node;
import org.testfx.framework.junit.ApplicationTest;
import org.testfx.framework.junit5.ApplicationTest;
import stu.najah.se.ui.SceneManager;

import static org.junit.Assert.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import javafx.scene.control.ComboBox;
import javafx.scene.control.TableView;
import javafx.scene.control.TextInputControl;
import org.testfx.framework.junit.ApplicationTest;
import org.testfx.framework.junit5.ApplicationTest;
import org.testfx.util.WaitForAsyncUtils;

import static org.junit.Assert.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import io.cucumber.java.AfterStep;
import io.cucumber.java.Before;
import io.cucumber.java.BeforeAll;
import org.testfx.framework.junit.ApplicationTest;
import org.testfx.framework.junit5.ApplicationTest;
import org.testfx.util.WaitForAsyncUtils;
import stu.najah.se.core.ServiceManager;
import stu.najah.se.ui.Prompter;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.0</version>
<version>2.19.1</version>
<configuration>
<argLine>
--add-exports javafx.graphics/com.sun.javafx.application=org.testfx
Expand Down

0 comments on commit 03b2ec7

Please sign in to comment.