From fd940c6f66126734e82c00889e7c987e11deea91 Mon Sep 17 00:00:00 2001
From: Tomas Bjerre <tomas.bjerre85@gmail.com>
Date: Sun, 6 Sep 2020 11:20:34 +0200
Subject: [PATCH] removing file

---
 .../violations/lib/model/ViolationTest.java   | 37 -------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 src/test/java/se/bjurr/violations/lib/model/ViolationTest.java

diff --git a/src/test/java/se/bjurr/violations/lib/model/ViolationTest.java b/src/test/java/se/bjurr/violations/lib/model/ViolationTest.java
deleted file mode 100644
index 3e40b52..0000000
--- a/src/test/java/se/bjurr/violations/lib/model/ViolationTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package se.bjurr.violations.lib.model;
-
-import static org.assertj.core.api.Assertions.assertThat;
-import static se.bjurr.violations.lib.model.SEVERITY.ERROR;
-import static se.bjurr.violations.lib.model.Violation.violationBuilder;
-import static se.bjurr.violations.lib.reports.Parser.CHECKSTYLE;
-
-import org.junit.Test;
-import se.bjurr.violations.lib.model.Violation.ViolationBuilder;
-import uk.co.jemos.podam.api.PodamFactoryImpl;
-
-public class ViolationTest {
-
-  @Test
-  public void testThatFilePathsAreAlwaysFronSlashes() {
-    final Violation violation =
-        violationBuilder() //
-            .setParser(CHECKSTYLE) //
-            .setFile("c:\\path\\to\\file.xml") //
-            .setMessage("message") //
-            .setSeverity(ERROR) //
-            .setStartLine(1) //
-            .build();
-    assertThat(violation.getFile()) //
-        .isEqualTo("c:/path/to/file.xml");
-  }
-
-  @Test
-  public void testThatCopyConstructorWorks() {
-    final ViolationBuilder originalBuilder =
-        new PodamFactoryImpl().manufacturePojo(ViolationBuilder.class);
-    final Violation original = originalBuilder.build();
-    final Violation copied = new Violation(original);
-    assertThat(copied) //
-        .isEqualTo(original);
-  }
-}
-- 
2.25.1
