You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by do...@apache.org on 2023/06/21 13:36:25 UTC
[accumulo-classloaders] 01/01: Upgrade from Junit4 to Junit5
This is an automated email from the ASF dual-hosted git repository.
domgarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-classloaders.git
commit 802ce65771e381c1766b73ba2ab3ef172981b015
Merge: b4ecd67 10a1efd
Author: Dom G <do...@apache.org>
AuthorDate: Wed Jun 21 09:36:18 2023 -0400
Upgrade from Junit4 to Junit5
modules/vfs-class-loader/pom.xml | 10 +++---
.../accumulo/classloader/vfs/AccumuloDFSBase.java | 8 ++---
.../vfs/AccumuloVFSClassLoaderTest.java | 25 +++++++------
.../classloader/vfs/ClassPathPrinterTest.java | 25 +++++++------
.../classloader/vfs/VfsClassLoaderTest.java | 26 +++++++-------
.../ReloadingVFSContextClassLoaderFactoryTest.java | 41 +++++++++++++---------
pom.xml | 36 ++++++++++++++-----
7 files changed, 98 insertions(+), 73 deletions(-)
diff --cc modules/vfs-class-loader/src/test/java/org/apache/accumulo/classloader/vfs/VfsClassLoaderTest.java
index e5a5cd1,15998ea..a3bbb4e
--- a/modules/vfs-class-loader/src/test/java/org/apache/accumulo/classloader/vfs/VfsClassLoaderTest.java
+++ b/modules/vfs-class-loader/src/test/java/org/apache/accumulo/classloader/vfs/VfsClassLoaderTest.java
@@@ -18,11 -18,13 +18,11 @@@
*/
package org.apache.accumulo.classloader.vfs;
- import static org.junit.Assert.assertEquals;
- import static org.junit.Assert.assertNotNull;
- import static org.junit.Assert.assertTrue;
+ import static org.junit.jupiter.api.Assertions.assertEquals;
+ import static org.junit.jupiter.api.Assertions.assertNotNull;
+ import static org.junit.jupiter.api.Assertions.assertTrue;
import java.net.URL;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
import java.util.Arrays;
import org.apache.commons.vfs2.FileChangeEvent;