From 8f16a480da3c23c0c083122227eee14d91cda4a9 Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Sat, 29 Aug 2015 23:36:53 +0200 Subject: [PATCH] Issue #1555: Remove usage of obsolete junit.framework.Assert Fixes `UseOfObsoleteAssert` inspection violations. Description: >Reports any calls to methods from the junit.framework.Assert class. This class is obsolete and the calls can be replaced by calls to methods from the org.junit.Assert class. --- .../java/com/puppycrawl/tools/checkstyle/AllChecksTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/AllChecksTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/AllChecksTest.java index dcdd5cb10..0f52f7ab4 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/AllChecksTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/AllChecksTest.java @@ -26,6 +26,7 @@ import java.util.HashSet; import java.util.Set; import org.apache.commons.lang3.ArrayUtils; +import org.junit.Assert; import org.junit.Test; import com.google.common.collect.ImmutableSet; @@ -33,7 +34,6 @@ import com.google.common.reflect.ClassPath; import com.puppycrawl.tools.checkstyle.api.Check; import com.puppycrawl.tools.checkstyle.api.Configuration; import com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck; -import junit.framework.Assert; public class AllChecksTest extends BaseCheckTestSupport {