Browse Source

fixed project setup Junit Tests can now run automaticly and removed some unused imports.

featureMatrixCalculator
Lukas Reichwein 5 years ago
parent
commit
52b8a818a8
  1. 2
      pom.xml
  2. 8
      src/main/java/com/ugsbo/gui/StartApplication.java
  3. 2
      src/main/java/com/ugsbo/matrixcalc/MatrixCalcMath.java
  4. 9
      src/main/java/module-info.java
  5. 2
      src/test/java/com/ugsbo/matrixcalc/MatrixTransposeTest.java

2
pom.xml

@ -99,7 +99,7 @@
<release>12</release>
<jlinkImageName>UGSBO</jlinkImageName>
<launcher>launcher</launcher>
<mainClass>UGSBO/com.ugsbo.gui.MainApp</mainClass>
<mainClass>UGSBO/com.ugsbo.gui.StartApplication</mainClass>
</configuration>
</plugin>
</plugins>

8
src/main/java/com/ugsbo/gui/StartApplication.java

@ -0,0 +1,8 @@
package com.ugsbo.gui;
public class StartApplication {
public static void main(String[] args) {
MainApp.main(args);
}
}

2
src/main/java/com/ugsbo/matrixcalc/MatrixCalcMath.java

@ -1,6 +1,6 @@
package com.ugsbo.matrixcalc;
import java.io.IOException;
//import java.io.IOException;
/**
* Contains all basic matrix math calculations.

9
src/main/java/module-info.java

@ -1,9 +0,0 @@
module UGSBO {
requires javafx.controls;
requires javafx.fxml;
opens com.ugsbo.matrixcalc to javafx.fxml;
opens com.ugsbo.gui to javafx.fxml;
exports com.ugsbo.gui;
}

2
src/test/java/com/ugsbo/matrixcalc/MatrixTransposeTest.java

@ -1,8 +1,6 @@
package com.ugsbo.matrixcalc;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

Loading…
Cancel
Save