Browse Source

JUnit tests moved to Maven

master
Piotr Dergun 10 years ago
parent
commit
273606e3d6
5 changed files with 12 additions and 8 deletions
  1. +8
    -4
      .classpath
  2. +1
    -1
      pom.xml
  3. +1
    -1
      src/test/java/ksiazka/kucharska/AddRecipeTest.java
  4. +1
    -1
      src/test/java/ksiazka/kucharska/AllTests.java
  5. +1
    -1
      src/test/java/ksiazka/kucharska/DelRecipeTestTest.java

+ 8
- 4
.classpath View File

@ -12,14 +12,18 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/>
<classpathentry kind="lib" path="forms-1.3.0.jar" sourcepath="forms-1.3.0-src.zip"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/>
<classpathentry kind="lib" path="forms-1.3.0.jar" sourcepath="forms-1.3.0-src.zip"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>

+ 1
- 1
pom.xml View File

@ -19,7 +19,7 @@
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>3.8.1</version>
<version>4.11</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>

src/main/java/test/AddRecipeTest.java → src/test/java/ksiazka/kucharska/AddRecipeTest.java View File

@ -1,4 +1,4 @@
package test;
package ksiazka.kucharska;
import static org.junit.Assert.*; import static org.junit.Assert.*;

src/main/java/test/AllTests.java → src/test/java/ksiazka/kucharska/AllTests.java View File

@ -1,4 +1,4 @@
package test;
package ksiazka.kucharska;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.junit.runners.Suite; import org.junit.runners.Suite;

src/main/java/test/DelRecipeTestTest.java → src/test/java/ksiazka/kucharska/DelRecipeTestTest.java View File

@ -1,4 +1,4 @@
package test;
package ksiazka.kucharska;
import static org.junit.Assert.*; import static org.junit.Assert.*;

Loading…
Cancel
Save