Skip to content

Commit bb6a438

Browse files
GH-4544 core/sail/elasticsearch java test cases changed
Signed-off-by: Jerven Bolleman <[email protected]>
1 parent d95f112 commit bb6a438

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Diff for: core/sail/elasticsearch-store/src/test/java/org/eclipse/rdf4j/sail/elasticsearchstore/ElasticsearchStoreIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
*******************************************************************************/
1111
package org.eclipse.rdf4j.sail.elasticsearchstore;
1212

13-
import static org.junit.Assert.assertEquals;
14-
import static org.junit.Assert.assertTrue;
13+
import static org.junit.jupiter.api.Assertions.assertEquals;
1514
import static org.junit.jupiter.api.Assertions.assertThrows;
15+
import static org.junit.jupiter.api.Assertions.assertTrue;
1616

1717
import java.util.List;
1818
import java.util.concurrent.TimeUnit;

Diff for: core/sail/elasticsearch-store/src/test/java/org/eclipse/rdf4j/sail/elasticsearchstore/ElasticsearchStoreTransactionsIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*******************************************************************************/
1111
package org.eclipse.rdf4j.sail.elasticsearchstore;
1212

13-
import static org.junit.Assert.assertEquals;
14-
import static org.junit.Assert.assertThrows;
13+
import static org.junit.jupiter.api.Assertions.assertEquals;
14+
import static org.junit.jupiter.api.Assertions.assertThrows;
1515

1616
import java.io.IOException;
1717
import java.net.UnknownHostException;

Diff for: core/sail/elasticsearch-store/src/test/java/org/eclipse/rdf4j/sail/elasticsearchstore/ElasticsearchStoreWalIT.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*******************************************************************************/
1111
package org.eclipse.rdf4j.sail.elasticsearchstore;
1212

13-
import static org.junit.Assert.assertEquals;
14-
import static org.junit.Assert.assertTrue;
13+
import static org.junit.jupiter.api.Assertions.assertEquals;
14+
import static org.junit.jupiter.api.Assertions.assertTrue;
1515

1616
import org.eclipse.rdf4j.common.transaction.IsolationLevels;
1717
import org.eclipse.rdf4j.model.vocabulary.RDFS;
@@ -54,7 +54,7 @@ public void testAddLargeDataset() {
5454

5555
long size = connection.size();
5656
System.out.println(size);
57-
assertEquals("Since transaction failed there should be no statements in the store", 0, size);
57+
assertEquals(0, size, "Since transaction failed there should be no statements in the store");
5858

5959
}
6060

@@ -119,7 +119,7 @@ public void testRemoveLargeDataset() {
119119

120120
long size = connection.size();
121121
System.out.println(size);
122-
assertEquals("Since transaction failed there should be no statements in the store", count, size);
122+
assertEquals(count, size, "Since transaction failed there should be no statements in the store");
123123

124124
}
125125

Diff for: core/sail/elasticsearch-store/src/test/java/org/eclipse/rdf4j/sail/elasticsearchstore/InferenceIT.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
package org.eclipse.rdf4j.sail.elasticsearchstore;
1313

14-
import static org.junit.Assert.assertEquals;
15-
import static org.junit.Assert.assertFalse;
16-
import static org.junit.Assert.assertTrue;
14+
import static org.junit.jupiter.api.Assertions.assertEquals;
15+
import static org.junit.jupiter.api.Assertions.assertFalse;
16+
import static org.junit.jupiter.api.Assertions.assertTrue;
1717

1818
import java.io.IOException;
1919

0 commit comments

Comments
 (0)