Skip to content

Commit

Permalink
[SHRINKDESC-141] upgraded junit, introduced fest assert and mockito d…
Browse files Browse the repository at this point in the history
…ependencies
  • Loading branch information
mmatloka authored and ALRubinger committed Dec 23, 2012
1 parent eeeb355 commit 02a6d82
Show file tree
Hide file tree
Showing 11 changed files with 166 additions and 26 deletions.
24 changes: 18 additions & 6 deletions ant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,37 @@
<version>1.1</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.4</version>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>1.8.4</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
13 changes: 13 additions & 0 deletions impl-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,25 @@
<version>${project.version}</version>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
13 changes: 13 additions & 0 deletions impl-javaee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,25 @@
<scope>test</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
13 changes: 13 additions & 0 deletions impl-jboss/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,25 @@
<scope>test</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
13 changes: 13 additions & 0 deletions impl-misc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,25 @@
<scope>test</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
13 changes: 13 additions & 0 deletions metadata-parser-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,25 @@
<scope>test</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>


Expand Down
25 changes: 19 additions & 6 deletions metadata-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@
<version>8.7</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.sun.codemodel</groupId>
<artifactId>codemodel</artifactId>
Expand All @@ -136,6 +130,25 @@
<scope>test</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

</project>
20 changes: 16 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
<properties>

<!-- Versioning -->
<version.junit_junit>4.8.1</version.junit_junit>

<version.junit>4.11</version.junit>
<version.fest-assert-core>2.0M8</version.fest-assert-core>
<version.mockito-all>1.9.5</version.mockito-all>
</properties>

<!-- SCM -->
Expand Down Expand Up @@ -260,8 +261,19 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit_junit}</version>
<scope>test</scope>
<version>${version.junit}</version>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<version>${version.fest-assert-core}</version>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${version.mockito-all}</version>
</dependency>

</dependencies>
Expand Down
18 changes: 15 additions & 3 deletions spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,28 @@
<version>${project.version}</version>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-test-util</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-test-util</artifactId>
<version>${project.version}</version>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

Expand Down
27 changes: 20 additions & 7 deletions test-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,32 @@

<dependencies>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.3</version>
<scope>compile</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand All @@ -46,7 +59,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Run in Java5; be build with a JDK6 compiler so ensure we don't
<!-- Run in Java5; be build with a JDK6 compiler so ensure we don't
use any JDK6 libs -->
<jvm>${env.JAVA5_HOME}/bin/java</jvm>
</configuration>
Expand Down
13 changes: 13 additions & 0 deletions test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,25 @@
<scope>test</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down

0 comments on commit 02a6d82

Please sign in to comment.