Skip to content

Commit

Permalink
Fix some test problems
Browse files Browse the repository at this point in the history
  • Loading branch information
lizekai-richard committed Sep 27, 2022
1 parent 3a5fc9b commit fbecd46
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ repositories {
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.8.1'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.8.1'
String javaFxVersion = '11'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include 'src:test:java'
findProject(':src:test:java')?.name = 'java'
include 'src'

5 changes: 2 additions & 3 deletions src/test/java/cwq/parser/ParserTest.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package cwq;
package cwq.parser;

import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import cwq.parser.*;
import java.util.*;


public class ParserTest {
@Test
Expand Down
6 changes: 2 additions & 4 deletions src/test/java/cwq/task/TasksControllerTest.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

package cwq;
package cwq.task;

import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import cwq.task.*;
import java.util.*;
public class TasksControllerTest {

public class TasksControllerTest {
@Test
public void getTasksTest() {
ToDo task1 = new ToDo("CS2103T");
Expand Down

0 comments on commit fbecd46

Please sign in to comment.