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.
This commit is contained in:
Michal Kordas 2015-08-29 23:36:53 +02:00 committed by Roman Ivanov
parent f418179fce
commit 8f16a480da
1 changed files with 1 additions and 1 deletions

View File

@ -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 {