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 7, 2019
1 parent ce9e26d commit a4b3d99
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 3 additions & 4 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
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 a4b3d99

Please sign in to comment.