Skip to content

Commit

Permalink
Rename test methods to comply with Codacy rules
Browse files Browse the repository at this point in the history
  • Loading branch information
aikebah committed Apr 8, 2018
1 parent 00f2314 commit 518b66b
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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();
Expand All @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit 518b66b

Please sign in to comment.