Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-06-21 16:10:50 +0000
committerAlexander Kurtakov2017-06-21 20:34:38 +0000
commiteba656968c699f1a9415fad59d2b19e8452f9a0a (patch)
treeb7a6e7742d2c1ff9ee660630a188adb89c3884e8 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java
parent7f22c5b775e1e0ce90bbf3055fd99b974d1e7414 (diff)
downloadrt.equinox.p2-eba656968c699f1a9415fad59d2b19e8452f9a0a.tar.gz
rt.equinox.p2-eba656968c699f1a9415fad59d2b19e8452f9a0a.tar.xz
rt.equinox.p2-eba656968c699f1a9415fad59d2b19e8452f9a0a.zip
Bug 518587 - Modernize o.e.equinox.p2.testsI20170621-2000
Move to Java 8, enable more warnings and save actions and go through the codebase to minimize the warnings. Change-Id: I6283bfeef18e250f5283e80f7bfad38e6ef65415 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java
index 9d99ff1ce..861565711 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ANYConfigCUsActionTest.java
@@ -1,10 +1,10 @@
/*******************************************************************************
- * Copyright (c) 2011 SAP and others. All rights reserved. This
+ * Copyright (c) 2011, 2017 SAP and others. All rights reserved. This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
+ *
+ * Contributors:
* SAP - initial API and implementation
******************************************************************************/
package org.eclipse.equinox.p2.tests.publisher.actions;
@@ -42,6 +42,7 @@ public class ANYConfigCUsActionTest extends ActionTest {
private IMetadataRepository metadataRepo;
private DataLoader loader;
+ @Override
public void setUp() throws Exception {
// configuration spec for creation of filterless CUs
@@ -171,6 +172,7 @@ public class ANYConfigCUsActionTest extends ActionTest {
assertTrue("my.property", body.indexOf("setProgramProperty(propName:my.property,propValue:${#123}a${#44}b${#58}c${#59}${#36}d${#125});") > -1); //$NON-NLS-1$ //$NON-NLS-2$
}
+ @Override
protected void insertPublisherInfoBehavior() {
loader = new DataLoader(configLocation, executableLocation);

Back to the top