Skip to content

Commit e29b839

Browse files
authored
Merge assertj -> testing (eugenp#1738)
1 parent 0af476d commit e29b839

10 files changed

Lines changed: 57 additions & 81 deletions

File tree

‎assertj/README.md‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎assertj/pom.xml‎

Lines changed: 0 additions & 61 deletions
This file was deleted.

‎pom.xml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<module>apache-fop</module>
2323
<module>apache-poi</module>
2424
<module>apache-thrift</module>
25-
<module>assertj</module>
2625
<module>autovalue</module>
2726
<module>axon</module>
2827

‎testing/README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
### Relevant Articles:
66
- [Introduction to Mutation Testing Using the PITest Library](http://www.baeldung.com/java-mutation-testing-with-pitest)
77
- [Intro to JaCoCo](http://www.baeldung.com/jacoco)
8+
- [AssertJ’s Java 8 Features](http://www.baeldung.com/assertJ-java-8-features)
9+
- [AssertJ for Guava](http://www.baeldung.com/assertJ-for-guava)
10+
- [Introduction to AssertJ](http://www.baeldung.com/introduction-to-assertj)
811

‎testing/pom.xml‎

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.baeldung</groupId>
5-
<artifactId>mutation-testing</artifactId>
5+
<artifactId>testing</artifactId>
66
<version>0.1-SNAPSHOT</version>
7-
<name>mutation-testing</name>
8-
9-
<properties>
10-
<pitest.version>1.1.10</pitest.version>
11-
<junit.version>4.12</junit.version>
12-
<jacoco.version>0.7.7.201606060606</jacoco.version>
13-
</properties>
7+
<name>testing</name>
8+
149
<dependencies>
10+
<dependency>
11+
<groupId>com.google.guava</groupId>
12+
<artifactId>guava</artifactId>
13+
<version>${guava.version}</version>
14+
</dependency>
15+
<dependency>
16+
<groupId>org.assertj</groupId>
17+
<artifactId>assertj-guava</artifactId>
18+
<version>3.0.0</version>
19+
</dependency>
20+
21+
<dependency>
22+
<groupId>junit</groupId>
23+
<artifactId>junit</artifactId>
24+
<version>${junit.version}</version>
25+
<scope>test</scope>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.assertj</groupId>
29+
<artifactId>assertj-core</artifactId>
30+
<version>${assertj-core.version}</version>
31+
<scope>test</scope>
32+
</dependency>
33+
34+
1535
<dependency>
1636
<groupId>org.pitest</groupId>
1737
<artifactId>pitest-parent</artifactId>
@@ -78,6 +98,26 @@
7898
</execution>
7999
</executions>
80100
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-compiler-plugin</artifactId>
104+
<version>${maven-compiler-plugin.version}</version>
105+
<configuration>
106+
<source>1.8</source>
107+
<target>1.8</target>
108+
</configuration>
109+
</plugin>
81110
</plugins>
82111
</build>
112+
113+
<properties>
114+
<pitest.version>1.1.10</pitest.version>
115+
<junit.version>4.12</junit.version>
116+
<jacoco.version>0.7.7.201606060606</jacoco.version>
117+
<guava.version>19.0</guava.version>
118+
<assertj-guava.version>3.1.0</assertj-guava.version>
119+
<junit.version>4.12</junit.version>
120+
<assertj-core.version>3.6.1</assertj-core.version>
121+
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
122+
</properties>
83123
</project>

assertj/src/main/java/com/baeldung/assertj/introduction/domain/Dog.java renamed to testing/src/main/java/com/baeldung/testing/assertj/Dog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.assertj.introduction.domain;
1+
package com.baeldung.testing.assertj;
22

33
public class Dog {
44
private String name;

assertj/src/main/java/com/baeldung/assertj/introduction/domain/Person.java renamed to testing/src/main/java/com/baeldung/testing/assertj/Person.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.assertj.introduction.domain;
1+
package com.baeldung.testing.assertj;
22

33
public class Person {
44
private String name;

assertj/src/test/java/com/baeldung/assertj/introduction/AssertJCoreTest.java renamed to testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
package com.baeldung.assertj.introduction;
1+
package com.baeldung.testing.assertj;
22

3-
import com.baeldung.assertj.introduction.domain.Dog;
4-
import com.baeldung.assertj.introduction.domain.Person;
53
import org.assertj.core.util.Maps;
64
import org.junit.Ignore;
75
import org.junit.Test;

assertj/src/test/java/com/baeldung/assertj/introduction/AssertJGuavaTest.java renamed to testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.assertj.introduction;
1+
package com.baeldung.testing.assertj;
22

33
import com.google.common.base.Optional;
44
import com.google.common.collect.ArrayListMultimap;

assertj/src/test/java/com/baeldung/assertj/introduction/AssertJJava8Test.java renamed to testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.assertj.introduction;
1+
package com.baeldung.testing.assertj;
22

33
import org.junit.Test;
44

0 commit comments

Comments
 (0)