Skip to content

Commit f2029e4

Browse files
authored
Merge pull request #32 from eharris369/31-updateLibertyDebugTest
Issue #31: Update LibertyDebugTest
2 parents d4eb785 + acbddd1 commit f2029e4

File tree

5 files changed

+31
-5
lines changed

5 files changed

+31
-5
lines changed

dev/com.ibm.microclimate.core/src/com/ibm/microclimate/core/internal/connection/MicroclimateConnection.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,6 @@ public void requestMicroprofileProjectCreate(String name)
590590
createProjectPayload.put(MCConstants.KEY_NAME, name);
591591
createProjectPayload.put(MCConstants.KEY_LANGUAGE, "java");
592592
createProjectPayload.put(MCConstants.KEY_FRAMEWORK, "microprofile");
593-
createProjectPayload.put(MCConstants.KEY_CONTEXTROOT, name);
594593

595594
HttpUtil.post(url, createProjectPayload);
596595
}

dev/com.ibm.microclimate.test/src/com/ibm/microclimate/test/BaseAutoBuildTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import com.ibm.microclimate.test.util.TestUtil;
2323

2424
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
25-
public class BaseAutoBuildTest extends BaseTest {
25+
public abstract class BaseAutoBuildTest extends BaseTest {
2626

2727
protected static String text1, text2, text3;
2828

dev/com.ibm.microclimate.test/src/com/ibm/microclimate/test/BaseValidationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import com.ibm.microclimate.test.util.TestUtil;
2828

2929
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
30-
public class BaseValidationTest extends BaseTest {
30+
public abstract class BaseValidationTest extends BaseTest {
3131

3232
protected static String text;
3333
protected static String dockerfile;

dev/com.ibm.microclimate.test/src/com/ibm/microclimate/test/LibertyDebugTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2018 IBM Corporation and others.
2+
* Copyright (c) 2018, 2019 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v2.0
55
* which accompanies this distribution, and is available at
@@ -22,6 +22,6 @@ public class LibertyDebugTest extends BaseDebugTest {
2222
srcPath = "src/main/java/application/rest/v1/Example.java";
2323
currentText = "Congratulations";
2424
newText = "Hello";
25-
dockerfile = "Dockerfile-lang";
25+
dockerfile = "Dockerfile";
2626
}
2727
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2019 IBM Corporation and others.
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v2.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v20.html
7+
*
8+
* Contributors:
9+
* IBM Corporation - initial API and implementation
10+
*******************************************************************************/
11+
12+
package com.ibm.microclimate.test;
13+
14+
import org.junit.runner.RunWith;
15+
import org.junit.runners.Suite;
16+
17+
@RunWith(Suite.class)
18+
@Suite.SuiteClasses({
19+
LibertyDebugTest.class,
20+
SpringDebugTest.class,
21+
SpringAutoBuildTest.class,
22+
NodeValidationTest.class
23+
})
24+
25+
public class MicroclimateTests {
26+
// intentionally empty
27+
}

0 commit comments

Comments
 (0)