From 0d71c375f9b34fd3e498a86f4f9f2efa5144f7ed Mon Sep 17 00:00:00 2001 From: Seva Safris Date: Tue, 16 Jan 2024 14:50:01 +0700 Subject: [PATCH] Transition to JUnit 5, re #68 --- .../java/org/libj/lang/ResourcesTest.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/test/java/org/libj/lang/ResourcesTest.java b/src/test/java/org/libj/lang/ResourcesTest.java index 901e8b5..18337a9 100644 --- a/src/test/java/org/libj/lang/ResourcesTest.java +++ b/src/test/java/org/libj/lang/ResourcesTest.java @@ -72,26 +72,4 @@ public void testWalkJUnitRunner() throws IOException { }); assertEquals(6, counter.get()); } - - @Test - public void testListLibJRunner() throws IOException { - final AtomicInteger counter = new AtomicInteger(); - Resources.list(ClassLoader.getSystemClassLoader(), "org/junit/", (final URL root, final String entry, final boolean isDirectory) -> { - if (logger.isDebugEnabled()) { logger.debug(root + entry); } - counter.getAndIncrement(); - return true; - }); - assertEquals(30, counter.get()); - } - - @Test - public void testWalkLibJRunner() throws IOException { - final AtomicInteger counter = new AtomicInteger(); - Resources.walk(ClassLoader.getSystemClassLoader(), "org/junit/", (final URL root, final String entry, final boolean isDirectory) -> { - if (logger.isDebugEnabled()) { logger.debug(root + entry); } - counter.getAndIncrement(); - return true; - }); - assertEquals(354, counter.get()); - } } \ No newline at end of file