aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java')
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java b/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java
index 0081a43181..c548042a2e 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentDescriptor.java
@@ -17,10 +17,10 @@
package org.apache.poi.poifs.filesystem;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotEquals;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
/**
* Class to test DocumentDescriptor functionality
@@ -50,7 +50,7 @@ public final class TestDocumentDescriptor {
DocumentDescriptor d2 = new DocumentDescriptor(paths[ k ], names[ n ]);
if (m == n) {
- assertEquals("" + j + "," + k + "," + m + "," + n, d1, d2);
+ assertEquals(d1, d2, "" + j + "," + k + "," + m + "," + n);
} else {
assertNotEquals(d1, d2);
}
@@ -80,7 +80,7 @@ public final class TestDocumentDescriptor {
DocumentDescriptor d2 = new DocumentDescriptor(builtUpPaths[ k ], names[ n ]);
if ((k == j) && (m == n)) {
- assertEquals("" + j + "," + k + "," + m + "," + n, d1, d2);
+ assertEquals(d1, d2, "" + j + "," + k + "," + m + "," + n);
} else {
assertNotEquals(d1, d2);
}