This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 9378bb39f Test modernization
9378bb39f is described below

commit 9378bb39f67bb06cc61f5e9c5f6d5b3e52ff5794
Author: James Bognar <[email protected]>
AuthorDate: Wed Aug 27 11:05:15 2025 -0400

    Test modernization
---
 juneau-utest/pom.xml                               | 23 ----------------------
 .../org/apache/juneau/IgnoredClasses_Test.java     |  3 +--
 2 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/juneau-utest/pom.xml b/juneau-utest/pom.xml
index ee0bdab20..885543638 100644
--- a/juneau-utest/pom.xml
+++ b/juneau-utest/pom.xml
@@ -75,35 +75,12 @@
                        <artifactId>juneau-rest-mock</artifactId>
                        <version>${project.version}</version>
                </dependency>
-               <dependency>
-                       <groupId>org.junit.vintage</groupId>
-                       <artifactId>junit-vintage-engine</artifactId>
-                       <version>${junit.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>com.carrotsearch</groupId>
-                       <artifactId>junit-benchmarks</artifactId>
-                       <version>0.7.2</version>
-                       <scope>test</scope>
-               </dependency>
                <dependency>
                        <groupId>org.junit.jupiter</groupId>
                        <artifactId>junit-jupiter</artifactId>
                        <version>5.13.4</version>
                        <scope>test</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.junit.vintage</groupId>
-                       <artifactId>junit-vintage-engine</artifactId>
-                       <version>5.13.4</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.junit.jupiter</groupId>
-                       <artifactId>junit-jupiter-migrationsupport</artifactId>
-                       <version>5.13.4</version>
-                       <scope>test</scope>
-               </dependency>
                <dependency>
                        <groupId>org.openjdk.jmh</groupId>
                        <artifactId>jmh-core</artifactId>
diff --git 
a/juneau-utest/src/test/java/org/apache/juneau/IgnoredClasses_Test.java 
b/juneau-utest/src/test/java/org/apache/juneau/IgnoredClasses_Test.java
index b17197924..38fb21066 100755
--- a/juneau-utest/src/test/java/org/apache/juneau/IgnoredClasses_Test.java
+++ b/juneau-utest/src/test/java/org/apache/juneau/IgnoredClasses_Test.java
@@ -14,7 +14,6 @@ package org.apache.juneau;
 
 import static org.apache.juneau.TestUtils.*;
 import static org.junit.jupiter.api.Assertions.*;
-import static org.junit.Assume.*;
 
 import java.io.*;
 
@@ -27,7 +26,7 @@ class IgnoredClasses_Test extends SimpleTestBase {
        // testFilesRenderedAsStrings
        
//====================================================================================================
        @Test void a01_filesRenderedAsStrings() {
-               
assumeTrue(System.getProperty("os.name").toLowerCase().startsWith("win"));
+               if (! 
System.getProperty("os.name").toLowerCase().startsWith("win")) return;
                // Files should be rendered as strings.
                var f = new File("C:/temp");
                assertJson(f, "'C:\\\\temp'");

Reply via email to