Merge pull request #40 from acoburn/TAMAYA-219
TAMAYA-219: Prohibit non-AssertJ test assertions
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 @@
<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"/>