This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.eoniantech.echoapi.portadaptor.rest; | |
import javax.ws.rs.client.Client; | |
import javax.ws.rs.client.ClientBuilder; | |
import javax.ws.rs.client.Invocation; | |
import javax.ws.rs.client.WebTarget; | |
import javax.ws.rs.core.Response; | |
import static org.junit.Assert.assertEquals; | |
import org.junit.BeforeClass; | |
import org.junit.Test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.eoniantech.echoapi.domain.model; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertTrue; | |
import org.junit.Before; | |
import org.junit.Test; | |
/** | |
* Test class for the {@link Message} model's equals method. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.eoniantech.echoapi.domain.model; | |
import org.junit.Test; | |
/** | |
* Test class for the {@link Message} model's constructor. | |
* | |
* @author Michael Andrews <[email protected]> | |
* @since 1.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.eoniantech.echoapi.domain.model; | |
import com.googlecode.junittoolbox.SuiteClasses; | |
import com.googlecode.junittoolbox.WildcardPatternSuite; | |
import org.junit.runner.RunWith; | |
/** | |
* Unit Test suite for the {@link Message} model. | |
* | |
* @author Michael Andrews <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Run integration tests against Tomcat with code coverage --> | |
<profile> | |
<id>integration-test</id> | |
<activation> | |
<file> | |
<exists>${basedir}/src/test</exists> | |
</file> | |
</activation> | |
<properties> | |
<itServerHome>${project.build.directory}/${itServerId}</itServerHome> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Run IT test with code coverage --> | |
<profile> | |
<id>integration-test</id> | |
<activation> | |
<file> | |
<exists>${basedir}/src/test</exists> | |
</file> | |
</activation> | |
<properties> | |
<itAgent></itAgent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Run unit tests with code coverage --> | |
<profile> | |
<id>unit-test</id> | |
<activation> | |
<file> | |
<exists>${basedir}/src/test</exists> | |
</file> | |
</activation> | |
<properties> | |
<testAgent></testAgent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profiles> | |
<profile> | |
<id>compile-with-debug</id> | |
... | |
<profile> | |
<id>enforce-dependency-blacklist</id> | |
<activation> | |
<file> | |
<exists>${basedir}/src</exists> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.7.0</version> | |
<configuration> | |
<compilerArguments> | |
<Xlint:all/> | |
</compilerArguments> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependencyManagement> | |
<dependencies> | |
<!-- Logging --> | |
<dependency> | |
<groupId>com.eoniantech.build</groupId> | |
<artifactId>slf4j-bom</artifactId> | |
<version>1.8.0-beta2</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> |
NewerOlder