Updated module-info to work with junit in the test package.

This commit is contained in:
top19 2020-04-29 11:45:25 +01:00
parent 429417e7f6
commit 70dd1a57d8
3 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,7 @@ module uk.ac.aber.cs22120.group20 {
requires com.fasterxml.jackson.core;
requires com.fasterxml.jackson.databind;
requires junit;
requires org.junit.jupiter.api;
opens uk.ac.aber.cs22120.group20.javafx to javafx.fxml;
@ -12,4 +13,5 @@ module uk.ac.aber.cs22120.group20 {
exports uk.ac.aber.cs22120.group20.json to com.fasterxml.jackson.databind;
exports uk.ac.aber.cs22120.group20.javafx to javafx.graphics, javafx.fxml;
exports uk.ac.aber.cs22120.group20.test to junit;
}

View file

@ -0,0 +1,5 @@
import static org.junit.jupiter.api.Assertions.*;
class FlashcardControllerTest {
}