[BAEL-16669] moved testing-modules/testing modules into relevant folders
This commit is contained in:
parent
bfba59a42f
commit
ff871516ee
|
@ -0,0 +1,81 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>assertion-libraries</artifactId>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
<name>assertion-libraries</name>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-java</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<relativePath>../parent-java</relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.google.truth</groupId>
|
||||
<artifactId>truth</artifactId>
|
||||
<version>${truth.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.truth.extensions</groupId>
|
||||
<artifactId>truth-java8-extension</artifactId>
|
||||
<version>${truth.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-guava</artifactId>
|
||||
<version>${assertj-guava.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>${assertj-core.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.javalite</groupId>
|
||||
<artifactId>javalite-common</artifactId>
|
||||
<version>${javalite.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jgotesting</groupId>
|
||||
<artifactId>jgotesting</artifactId>
|
||||
<version>${jgotesting.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-assertions-generator-maven-plugin</artifactId>
|
||||
<version>${assertj-generator.version}</version>
|
||||
<configuration>
|
||||
<classes>
|
||||
<param>com.baeldung.testing.assertj.custom.Person</param>
|
||||
</classes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<truth.version>0.32</truth.version>
|
||||
<assertj-guava.version>3.1.0</assertj-guava.version>
|
||||
<assertj-core.version>3.9.0</assertj-core.version>
|
||||
<assertj-generator.version>2.1.0</assertj-generator.version>
|
||||
<javalite.version>1.4.13</javalite.version>
|
||||
<jgotesting.version>0.12</jgotesting.version>
|
||||
</properties>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</project>
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
public class Dog {
|
||||
private String name;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
public class Member {
|
||||
private String name;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
public class Person {
|
||||
private String name;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj.custom;
|
||||
package com.baeldung.assertj.custom;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.truth;
|
||||
package com.baeldung.truth;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.truth;
|
||||
package com.baeldung.truth;
|
||||
|
||||
import com.google.common.truth.ComparableSubject;
|
||||
import com.google.common.truth.FailureStrategy;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
import static org.assertj.core.api.Assertions.allOf;
|
||||
import static org.assertj.core.api.Assertions.anyOf;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
import org.assertj.core.util.Maps;
|
||||
import org.junit.Ignore;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
import com.google.common.base.Optional;
|
||||
import com.google.common.collect.ArrayListMultimap;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj;
|
||||
package com.baeldung.assertj;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.baeldung.testing.assertj.custom;
|
||||
package com.baeldung.assertj.custom;
|
||||
|
||||
import static com.baeldung.testing.assertj.custom.Assertions.assertThat;
|
||||
import static com.baeldung.assertj.custom.Assertions.assertThat;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import org.junit.Rule;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj.custom;
|
||||
package com.baeldung.assertj.custom;
|
||||
|
||||
public class Assertions {
|
||||
public static PersonAssert assertThat(Person actual) {
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj.custom;
|
||||
package com.baeldung.assertj.custom;
|
||||
|
||||
import org.assertj.core.api.AbstractAssert;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj.exceptions;
|
||||
package com.baeldung.assertj.exceptions;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.fail;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.assertj.exceptions;
|
||||
package com.baeldung.assertj.exceptions;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.truth;
|
||||
package com.baeldung.truth;
|
||||
|
||||
import com.google.common.collect.ArrayListMultimap;
|
||||
import com.google.common.collect.Multimap;
|
||||
|
@ -6,7 +6,7 @@ import com.google.common.collect.Range;
|
|||
import com.google.common.collect.Table;
|
||||
import com.google.common.collect.TreeBasedTable;
|
||||
import com.google.common.collect.TreeMultiset;
|
||||
import static com.baeldung.testing.truth.UserSubject.*;
|
||||
import static com.baeldung.truth.UserSubject.*;
|
||||
import static com.google.common.truth.Truth.*;
|
||||
import static com.google.common.truth.Truth8.*;
|
||||
import java.math.BigDecimal;
|
8
pom.xml
8
pom.xml
|
@ -780,7 +780,9 @@
|
|||
<module>structurizr</module>
|
||||
<module>struts-2</module>
|
||||
|
||||
<module>testing-modules</module>
|
||||
<module>assertion-libraries</module>
|
||||
<module>testing-libraries</module>
|
||||
<module>testing-libraries-2</module>
|
||||
|
||||
<module>twilio</module>
|
||||
<module>twitter4j</module>
|
||||
|
@ -1458,7 +1460,9 @@
|
|||
<module>structurizr</module>
|
||||
<module>struts-2</module>
|
||||
|
||||
<module>testing-modules</module>
|
||||
<module>assertion-libraries</module>
|
||||
<module>testing-libraries</module>
|
||||
<module>testing-libraries-2</module>
|
||||
|
||||
<module>twilio</module>
|
||||
<module>twitter4j</module>
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
## Testing Modules
|
||||
|
||||
This is a aggregator module containing several modules focused on testing libraries 2.
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>cucumber</artifactId>
|
||||
<name>cucumber</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>info.cukes</groupId>
|
||||
<artifactId>cucumber-junit</artifactId>
|
||||
<version>${cucumber.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>info.cukes</groupId>
|
||||
<artifactId>cucumber-java</artifactId>
|
||||
<version>${cucumber.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>info.cukes</groupId>
|
||||
<artifactId>cucumber-java8</artifactId>
|
||||
<version>${cucumber.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<cucumber.version>1.2.5</cucumber.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.calculator;
|
||||
package com.baeldung.calculator;
|
||||
|
||||
import cucumber.api.CucumberOptions;
|
||||
import cucumber.api.junit.Cucumber;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.calculator;
|
||||
package com.baeldung.calculator;
|
||||
|
||||
import com.baeldung.cucumber.Calculator;
|
||||
import cucumber.api.java.Before;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.shopping;
|
||||
package com.baeldung.shopping;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.testing.shopping;
|
||||
package com.baeldung.shopping;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import cucumber.api.java8.En;
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>lambdabehave</artifactId>
|
||||
<name>lambdabehave</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.insightfullogic</groupId>
|
||||
<artifactId>lambda-behave</artifactId>
|
||||
<version>${lambda-behave.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<lambda-behave.version>0.4</lambda-behave.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>mutations</artifactId>
|
||||
<name>mutations</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
|
||||
</project>
|
|
@ -1,11 +1,11 @@
|
|||
package com.baeldung.mutation.test;
|
||||
package com.baeldung.mutation;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.baeldung.testing.mutation.Palindrome;
|
||||
import com.baeldung.mutation.Palindrome;
|
||||
|
||||
public class PalindromeUnitTest {
|
||||
@Test
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>testing-libraries-2</artifactId>
|
||||
<name>testing-libraries-2</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<modules>
|
||||
<module>mutations</module>
|
||||
<module>cucumber</module>
|
||||
<module>lambdabehave</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue