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/incubator-tamaya.git


The following commit(s) were added to refs/heads/master by this push:
     new 14d703c  TAMAYA-219: Prohibit non-AssertJ test assertions
     new c1ab5ec  Merge pull request #40 from acoburn/TAMAYA-219
14d703c is described below

commit 14d703c9e8cdac9901e33603c5942ac536c1f1b8
Author: Aaron Coburn <[email protected]>
AuthorDate: Tue Jan 29 15:42:47 2019 -0500

    TAMAYA-219: Prohibit non-AssertJ test assertions
---
 buildconfigurations/src/main/resources/checkstyle/style.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/buildconfigurations/src/main/resources/checkstyle/style.xml 
b/buildconfigurations/src/main/resources/checkstyle/style.xml
index 653b181..ec99292 100644
--- a/buildconfigurations/src/main/resources/checkstyle/style.xml
+++ b/buildconfigurations/src/main/resources/checkstyle/style.xml
@@ -74,7 +74,10 @@ under the License.
             <property name="excludes"
                       value="java.io,java.net,java.util"/>
         </module>
-        <module name="IllegalImport"/>
+        <module name="IllegalImport">
+            <property name="illegalClasses" value="junit.framework.TestCase, 
org.junit.Assert, org.hamcrest.MatcherAssert, org.hamcrest.CoreMatchers, 
org.hamcrest.Matchers, org.hamcrest.core.Is"/>
+            <property name="illegalPkgs" value="junit.framework.TestCase, 
org.junit.Assert, org.hamcrest.MatcherAssert, org.hamcrest.CoreMatchers, 
org.hamcrest.Matchers, org.hamcrest.core.Is"/>
+        </module>
         <module name="RedundantImport"/>
         <module name="UnusedImports"/>
 

Reply via email to