Skip to content

Commit

Permalink
GH-4544 core/sail/elasticsearch java test cases changed
Browse files Browse the repository at this point in the history
Signed-off-by: Jerven Bolleman <[email protected]>
  • Loading branch information
JervenBolleman committed May 22, 2023
1 parent d95f112 commit bb6a438
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
*******************************************************************************/
package org.eclipse.rdf4j.sail.elasticsearchstore;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.util.List;
import java.util.concurrent.TimeUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*******************************************************************************/
package org.eclipse.rdf4j.sail.elasticsearchstore;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

import java.io.IOException;
import java.net.UnknownHostException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*******************************************************************************/
package org.eclipse.rdf4j.sail.elasticsearchstore;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

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

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

}

Expand Down Expand Up @@ -119,7 +119,7 @@ public void testRemoveLargeDataset() {

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

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

package org.eclipse.rdf4j.sail.elasticsearchstore;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.io.IOException;

Expand Down

0 comments on commit bb6a438

Please sign in to comment.