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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 43f9e938e Fix benchmarks
43f9e938e is described below

commit 43f9e938e36dfc7823565740cd497f72c41e712b
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 6 08:40:34 2025 -0500

    Fix benchmarks
---
 pom.xml                                                       | 11 +++++++++++
 .../java/org/apache/commons/lang3/HashSetvBitSetTest.java     |  2 +-
 .../org/apache/commons/lang3/StringUtilsIsMixedCaseTest.java  |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index ff634f269..34ab64877 100644
--- a/pom.xml
+++ b/pom.xml
@@ -503,6 +503,17 @@
       </properties>
       <build>
         <plugins>
+          <!-- Enable the compilation of the benchmarks -->
+          <plugin>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <version>${commons.compiler.version}</version>
+            <configuration combine.self="override">
+              <testIncludes>
+                <testInclude>**/*</testInclude>
+              </testIncludes>
+            </configuration>
+          </plugin>
+          <!-- Hook the benchmarks to the test phase -->
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>exec-maven-plugin</artifactId>
diff --git a/src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java 
b/src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java
index ac1a39470..8e9e13ca7 100644
--- a/src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java
+++ b/src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java
@@ -33,7 +33,7 @@
 @BenchmarkMode(Mode.AverageTime)
 @OutputTimeUnit(TimeUnit.NANOSECONDS)
 @State(Scope.Thread)
-class HashSetvBitSetTest extends AbstractLangTest {
+public class HashSetvBitSetTest extends AbstractLangTest {
 
     private static final int numberOfElementsToCompute = 10;
 
diff --git 
a/src/test/java/org/apache/commons/lang3/StringUtilsIsMixedCaseTest.java 
b/src/test/java/org/apache/commons/lang3/StringUtilsIsMixedCaseTest.java
index c40a8cd4e..7a4c8e8fd 100644
--- a/src/test/java/org/apache/commons/lang3/StringUtilsIsMixedCaseTest.java
+++ b/src/test/java/org/apache/commons/lang3/StringUtilsIsMixedCaseTest.java
@@ -33,7 +33,7 @@
 @OutputTimeUnit(TimeUnit.NANOSECONDS)
 @State(Scope.Thread)
 @Warmup(iterations = 5, time = 10)
-class StringUtilsIsMixedCaseTest {
+public class StringUtilsIsMixedCaseTest {
 
     public static final String LOWER_CASE_LETTERS = 
"abcdefghijklmnopqrstuvwxyz";
     public static final String END_MATCH = "at the enD";

Reply via email to