Skip to content

Commit

Permalink
Upgrade tests to JUnit platform
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Dec 28, 2023
1 parent 5b60730 commit aa0e4de
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
9 changes: 7 additions & 2 deletions java/processor-functions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ dependencies {

implementation project(':engine-time')

Classpaths.inheritJUnitClassic(project, 'testImplementation')
Classpaths.inheritSlf4j(project, 'slf4j-simple', 'testRuntimeOnly')
Classpaths.inheritJUnitPlatform(project)
Classpaths.inheritAssertJ(project)
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}

test {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import io.deephaven.processor.ObjectProcessor;
import io.deephaven.qst.type.Type;
import io.deephaven.util.BooleanUtils;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import java.util.List;

Expand Down
9 changes: 7 additions & 2 deletions java/processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ dependencies {

implementation project(':engine-time')

Classpaths.inheritJUnitClassic(project, 'testImplementation')
Classpaths.inheritSlf4j(project, 'slf4j-simple', 'testRuntimeOnly')
Classpaths.inheritJUnitPlatform(project)
Classpaths.inheritAssertJ(project)
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}

test {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import io.deephaven.chunk.WritableShortChunk;
import io.deephaven.qst.type.Type;
import io.deephaven.util.QueryConstants;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import io.deephaven.chunk.WritableIntChunk;
import io.deephaven.chunk.WritableObjectChunk;
import io.deephaven.qst.type.Type;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import io.deephaven.chunk.attributes.Any;
import io.deephaven.qst.type.Type;
import io.deephaven.util.QueryConstants;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import io.deephaven.chunk.ChunkType;
import io.deephaven.qst.type.PrimitiveType;
import io.deephaven.qst.type.Type;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;

Expand Down

0 comments on commit aa0e4de

Please sign in to comment.