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

Commit 8306ca1

Browse files
committed
rename test classes to allow tests to run
1 parent ce9e26d commit 8306ca1

5 files changed

Lines changed: 12 additions & 11 deletions

File tree

boost-maven/boost-boms/booster-ee8-bom/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@
6060
<scope>provided</scope>
6161
</dependency>
6262
<dependency>
63-
<groupId>io.openliberty.boosters</groupId>
63+
<groupId>boost.boosters</groupId>
6464
<artifactId>cdi</artifactId>
6565
<version>0.2-SNAPSHOT</version>
6666
</dependency>
6767
<dependency>
68-
<groupId>io.openliberty.boosters</groupId>
68+
<groupId>boost.boosters</groupId>
6969
<artifactId>jsonp</artifactId>
7070
<version>0.2-SNAPSHOT</version>
7171
</dependency>

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<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">
3-
4-
<modelVersion>4.0.0</modelVersion>
1+
<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/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
54

65
<groupId>boost</groupId>
76
<artifactId>test-cdi-2.0</artifactId>

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/main/java/io/openliberty/guides/inventory/client/SystemClient.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
public class SystemClient {
2828

2929
// Constants for building URI to the system service.
30-
private final int DEFAULT_PORT = Integer.valueOf(System.getProperty("default.http.port"));
30+
// private final int DEFAULT_PORT =
31+
// Integer.valueOf(System.getProperty("default.http.port"));
32+
private final int DEFAULT_PORT = 9000;
3133
private final String SYSTEM_PROPERTIES = "/system/properties";
3234
private final String PROTOCOL = "http";
3335

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointTest.java renamed to boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.junit.BeforeClass;
2929
import org.junit.Test;
3030

31-
public class InventoryEndpointTest {
31+
public class InventoryEndpointIT {
3232

3333
private static String port;
3434
private static String baseUrl;
@@ -41,7 +41,7 @@ public class InventoryEndpointTest {
4141
@BeforeClass
4242
public static void oneTimeSetup() {
4343
// port = System.getProperty("liberty.test.port");
44-
String port = "9080";
44+
String port = "9000";
4545
baseUrl = "http://localhost:" + port + "/";
4646
}
4747

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/system/SystemEndpointTest.java renamed to boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/system/SystemEndpointIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
import org.apache.cxf.jaxrs.provider.jsrjsonp.JsrJsonpProvider;
2323
import org.junit.Test;
2424

25-
public class SystemEndpointTest {
25+
public class SystemEndpointIT {
2626

2727
@Test
2828
public void testGetProperties() {
2929
// String port = System.getProperty("liberty.test.port");
30-
String port = "9080";
30+
String port = "9000";
3131
String url = "http://localhost:" + port + "/";
3232

3333
Client client = ClientBuilder.newClient();

0 commit comments

Comments
 (0)