From 518b66b30d3690754b452689d7f044a5a0d7fd2a Mon Sep 17 00:00:00 2001 From: Hans Aikema Date: Thu, 29 Mar 2018 23:29:11 +0200 Subject: [PATCH] Rename test methods to comply with Codacy rules --- .../xml/suppression/SuppressionParserTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/src/test/java/org/owasp/dependencycheck/xml/suppression/SuppressionParserTest.java b/core/src/test/java/org/owasp/dependencycheck/xml/suppression/SuppressionParserTest.java index e93d20dfba9..fa83d0a231c 100644 --- a/core/src/test/java/org/owasp/dependencycheck/xml/suppression/SuppressionParserTest.java +++ b/core/src/test/java/org/owasp/dependencycheck/xml/suppression/SuppressionParserTest.java @@ -21,8 +21,6 @@ import java.util.List; import org.junit.Assert; -import static org.junit.Assert.assertTrue; - import org.junit.Test; import org.owasp.dependencycheck.BaseTest; @@ -37,7 +35,7 @@ public class SuppressionParserTest extends BaseTest { * Test of parseSuppressionRules method, of class SuppressionParser for the v1.0 suppressions XML Schema. */ @Test - public void testParseSuppressionRulesV1_0() throws Exception { + public void testParseSuppressionRulesV1dot0() throws Exception { //File file = new File(this.getClass().getClassLoader().getResource("suppressions.xml").getPath()); File file = BaseTest.getResourceAsFile(this, "suppressions.xml"); SuppressionParser instance = new SuppressionParser(); @@ -48,7 +46,7 @@ public void testParseSuppressionRulesV1_0() throws Exception { * Test of parseSuppressionRules method, of class SuppressionParser for the v1.1 suppressions XML Schema. */ @Test - public void testParseSuppressionRulesV1_1() throws Exception { + public void testParseSuppressionRulesV1dot1() throws Exception { //File file = new File(this.getClass().getClassLoader().getResource("suppressions.xml").getPath()); File file = BaseTest.getResourceAsFile(this, "suppressions_1_1.xml"); SuppressionParser instance = new SuppressionParser(); @@ -59,7 +57,7 @@ public void testParseSuppressionRulesV1_1() throws Exception { * Test of parseSuppressionRules method, of class SuppressionParser for the v1.2 suppressions XML Schema. */ @Test - public void testParseSuppressionRulesV1_2() throws Exception { + public void testParseSuppressionRulesV1dot2() throws Exception { //File file = new File(this.getClass().getClassLoader().getResource("suppressions.xml").getPath()); File file = BaseTest.getResourceAsFile(this, "suppressions_1_2.xml"); SuppressionParser instance = new SuppressionParser();