You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2022/08/14 22:16:49 UTC

[creadur-rat] branch master updated (3784f136 -> 15daebea)

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

pottlinger pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


    from 3784f136 RAT-307: Do not build with openJDK8 as it is not supported on Travis anymore with focal
     new c2485e60 RAT-310: Use hamcrest assertion instead of junit one's
     new 15daebea RAT-310: Add changelog

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java  | 2 +-
 .../src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java  | 2 +-
 src/changes/changes.xml                                                | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)


[creadur-rat] 01/02: RAT-310: Use hamcrest assertion instead of junit one's

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit c2485e603fb32f566890192e30cb4a011cf520bf
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Mon Aug 15 00:15:22 2022 +0200

    RAT-310: Use hamcrest assertion instead of junit one's
---
 .../test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java   | 2 +-
 .../src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java b/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java
index 739806ca..3883e90a 100644
--- a/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java
+++ b/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java
@@ -19,8 +19,8 @@
 package org.apache.rat.api.domain;
 
 import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertThat;
 
 import org.junit.Test;
 
diff --git a/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java b/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java
index bf7c7bd3..9270510e 100644
--- a/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java
+++ b/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java
@@ -30,7 +30,7 @@ import static org.apache.rat.api.domain.RatLicenseFamily.TMF854;
 import static org.apache.rat.api.domain.RatLicenseFamily.W3C;
 import static org.apache.rat.api.domain.RatLicenseFamily.W3C_DOCUMENTATION;
 import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import org.junit.Test;
 


[creadur-rat] 02/02: RAT-310: Add changelog

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit 15daebea391bba69b8f98e6c2590920ba7e8abdc
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Mon Aug 15 00:16:44 2022 +0200

    RAT-310: Add changelog
---
 src/changes/changes.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index b67357e8..4ba80377 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -56,6 +56,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action issue="RAT-305" type="fix" dev="pottlinger" due-to="dependabot">
         TODO: collect all dependabot updates for release 0.15.
       </action>
+      <action issue="RAT-310" type="update" dev="pottlinger">
+        Fix deprecation warnings in tests. Use hamcrest's annotations instead of ones from JUnit.
+      </action>
       <action issue="RAT-307" type="fix" dev="pottlinger" due-to="dependabot">
         Update to focal (Ubuntu 20.04) on Travis to circumvent build errors and be able to use more modern JDK versions. Deprecate openJDK8 build with focal as it is not supported on Travis.
       </action>