diff options
author | Alexander Kurtakov | 2020-03-11 16:04:17 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-03-11 16:04:17 +0000 |
commit | 7feb7fa160a7c2226ef264a03ed625c9a4a51a8e (patch) | |
tree | 5988680cb190dda9aa7124f46be61b1dff6a866f /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java | |
parent | 5568c512c3fb8d793ca06d0a8e0c6bc062f96cc8 (diff) | |
download | rt.equinox.p2-7feb7fa160a7c2226ef264a03ed625c9a4a51a8e.tar.gz rt.equinox.p2-7feb7fa160a7c2226ef264a03ed625c9a4a51a8e.tar.xz rt.equinox.p2-7feb7fa160a7c2226ef264a03ed625c9a4a51a8e.zip |
Increase visibility in tests to reduce syntetic method warnings.X20200313-0410X20200312-1900X20200312-1530X20200312-1210X20200312-0700X20200311-2150X20200311-1900I20200315-2240I20200315-1800I20200314-1800I20200313-1800I20200313-0810I20200312-1835I20200312-1800I20200311-1800
Change-Id: I1755caf1c38fc526b31c035bd4a099e548f597f9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java index 1c3846cc1..1ccf1db02 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/testserver/helper/AbstractTestServerClientCase.java @@ -15,7 +15,9 @@ package org.eclipse.equinox.p2.tests.testserver.helper; import java.security.cert.Certificate; -import junit.framework.*; +import junit.framework.Protectable; +import junit.framework.TestCase; +import junit.framework.TestResult; import org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper; import org.eclipse.equinox.p2.core.IProvisioningAgent; import org.eclipse.equinox.p2.core.UIServices; @@ -41,11 +43,11 @@ public class AbstractTestServerClientCase extends TestCase { * Returns a URL string part consisting of http://localhost:<port> * @return String with first part of URL */ - protected String getBaseURL() { + public String getBaseURL() { return "http://localhost:" + System.getProperty(TestServerController.PROP_TESTSERVER_PORT, "8080"); } - protected static IProvisioningAgent getAgent() { + public static IProvisioningAgent getAgent() { //get the global agent for the currently running system return ServiceHelper.getService(TestActivator.getContext(), IProvisioningAgent.class); } |