Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
rename test classes to allow tests to run
Browse files Browse the repository at this point in the history
  • Loading branch information
ajm01 committed May 9, 2019
1 parent ce9e26d commit f114966
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions boost-maven/boost-boms/booster-ee8-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.openliberty.boosters</groupId>
<groupId>boost.boosters</groupId>
<artifactId>cdi</artifactId>
<version>0.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.openliberty.boosters</groupId>
<groupId>boost.boosters</groupId>
<artifactId>jsonp</artifactId>
<version>0.2-SNAPSHOT</version>
</dependency>
Expand Down
9 changes: 3 additions & 6 deletions boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<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>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>boost</groupId>
<artifactId>test-cdi-2.0</artifactId>
Expand Down Expand Up @@ -81,7 +80,6 @@
<scope>test</scope>
</dependency>
<!-- Support for JDK 9 and above -->
<!--
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
Expand All @@ -97,7 +95,6 @@
<artifactId>jaxb-impl</artifactId>
<version>2.3.2</version>
</dependency>
-->
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
public class SystemClient {

// Constants for building URI to the system service.
private final int DEFAULT_PORT = Integer.valueOf(System.getProperty("default.http.port"));
// private final int DEFAULT_PORT =
// Integer.valueOf(System.getProperty("default.http.port"));
private final int DEFAULT_PORT = 9000;
private final String SYSTEM_PROPERTIES = "/system/properties";
private final String PROTOCOL = "http";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.junit.BeforeClass;
import org.junit.Test;

public class InventoryEndpointTest {
public class InventoryEndpointIT {

private static String port;
private static String baseUrl;
Expand All @@ -41,7 +41,7 @@ public class InventoryEndpointTest {
@BeforeClass
public static void oneTimeSetup() {
// port = System.getProperty("liberty.test.port");
String port = "9080";
String port = "9000";
baseUrl = "http://localhost:" + port + "/";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
import org.apache.cxf.jaxrs.provider.jsrjsonp.JsrJsonpProvider;
import org.junit.Test;

public class SystemEndpointTest {
public class SystemEndpointIT {

@Test
public void testGetProperties() {
// String port = System.getProperty("liberty.test.port");
String port = "9080";
String port = "9000";
String url = "http://localhost:" + port + "/";

Client client = ClientBuilder.newClient();
Expand Down

0 comments on commit f114966

Please sign in to comment.