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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7489fd7  Add missing @Test annotation
7489fd7 is described below

commit 7489fd7cc318b00e91f90582c73cbcd6f95ee271
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 30 08:53:14 2026 -0400

    Add missing @Test annotation
---
 .../apache/commons/testing/junit4/ObjectToStringComparatorTest.java | 4 +++-
 pom.xml                                                             | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/commons-testing-junit4/src/test/java/org/apache/commons/testing/junit4/ObjectToStringComparatorTest.java
 
b/commons-testing-junit4/src/test/java/org/apache/commons/testing/junit4/ObjectToStringComparatorTest.java
index a3b720e..041a2e8 100644
--- 
a/commons-testing-junit4/src/test/java/org/apache/commons/testing/junit4/ObjectToStringComparatorTest.java
+++ 
b/commons-testing-junit4/src/test/java/org/apache/commons/testing/junit4/ObjectToStringComparatorTest.java
@@ -22,10 +22,12 @@ import java.util.Locale;
 import java.util.concurrent.ConcurrentSkipListSet;
 
 import org.junit.Assert;
+import org.junit.Test;
 
 public class ObjectToStringComparatorTest {
 
-    public static void afterClass() {
+    @Test
+    public void testAvailableLocales() {
         final ConcurrentSkipListSet<Locale> expected = createSet();
         final Locale[] availableLocales = Locale.getAvailableLocales();
         Collections.addAll(expected, availableLocales);
diff --git a/pom.xml b/pom.xml
index 4ecac57..e9fa0a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>43</version>
+    <version>106</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>commons-testing-parent</artifactId>
@@ -118,8 +118,8 @@
     <argLine>-Xmx512m</argLine>
     <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
     <!--
       This is also used to generate download_xxx file name.
       To override this when generating the download page:

Reply via email to