Skip to content

Commit 7c92d9d

Browse files
authored
Merge pull request #858 from eclipse-mylyn/857-isolate-juni4-utility-code
isolate juni4 utility code #857
2 parents 308a3f9 + 595df94 commit 7c92d9d

File tree

47 files changed

+266
-92
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+266
-92
lines changed

mylyn.builds/org.eclipse.mylyn.jenkins.tests/META-INF/MANIFEST.MF

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="0.0.0",
1111
org.eclipse.mylyn.commons.core;bundle-version="4.4.0",
1212
org.eclipse.mylyn.commons.repositories.core;bundle-version="4.4.0",
1313
org.eclipse.mylyn.commons.sdk.util;bundle-version="4.4.0",
14+
org.eclipse.mylyn.commons.sdk.util.junit4;bundle-version="4.8.0",
1415
org.eclipse.mylyn.jenkins.core;bundle-version="4.4.0",
1516
org.eclipse.mylyn.jenkins.ui;bundle-version="4.4.0",
1617
org.eclipse.search;bundle-version="0.0.0",

mylyn.builds/org.eclipse.mylyn.jenkins.tests/src/org/eclipse/mylyn/jenkins/tests/AllJenkinsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
import java.util.List;
1515

1616
import org.eclipse.mylyn.commons.sdk.util.CommonTestUtil;
17-
import org.eclipse.mylyn.commons.sdk.util.ManagedSuite;
18-
import org.eclipse.mylyn.commons.sdk.util.ManagedTestSuite;
1917
import org.eclipse.mylyn.commons.sdk.util.TestConfiguration;
18+
import org.eclipse.mylyn.commons.sdk.util.junit4.ManagedSuite;
19+
import org.eclipse.mylyn.commons.sdk.util.junit4.ManagedTestSuite;
2020
import org.eclipse.mylyn.jenkins.tests.client.JenkinsClientTest;
2121
import org.eclipse.mylyn.jenkins.tests.client.JenkinsUrlTest;
2222
import org.eclipse.mylyn.jenkins.tests.client.JenkinsValidationTest;

mylyn.builds/org.eclipse.mylyn.jenkins.tests/src/org/eclipse/mylyn/jenkins/tests/support/JenkinsFixture.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import org.eclipse.mylyn.commons.core.StatusHandler;
2121
import org.eclipse.mylyn.commons.repositories.core.RepositoryLocation;
2222
import org.eclipse.mylyn.commons.sdk.util.FixtureConfiguration;
23-
import org.eclipse.mylyn.commons.sdk.util.RepositoryTestFixture;
2423
import org.eclipse.mylyn.commons.sdk.util.TestConfiguration;
24+
import org.eclipse.mylyn.commons.sdk.util.junit4.RepositoryTestFixture;
2525
import org.eclipse.mylyn.internal.jenkins.core.JenkinsCorePlugin;
2626
import org.eclipse.mylyn.internal.jenkins.core.client.JenkinsConfigurationCache;
2727
import org.eclipse.mylyn.internal.jenkins.core.client.JenkinsServerInfo.Type;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
5+
<accessrules>
6+
<accessrule kind="accessible" pattern="org/eclipse/mylyn/internal/**"/>
7+
<accessrule kind="accessible" pattern="org/eclipse/core/internal/net/**"/>
8+
</accessrules>
9+
</classpathentry>
10+
<classpathentry kind="src" path="src"/>
11+
<classpathentry kind="output" path="bin"/>
12+
</classpath>
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.mylyn.commons.sdk.util.junit4</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.eclipse.pde.PluginNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
33+
</natures>
34+
<filteredResources>
35+
<filter>
36+
<id>1368069128607</id>
37+
<name></name>
38+
<type>10</type>
39+
<matcher>
40+
<id>org.eclipse.ui.ide.multiFilter</id>
41+
<arguments>1.0-projectRelativePath-matches-false-false-target</arguments>
42+
</matcher>
43+
</filter>
44+
</filteredResources>
45+
</projectDescription>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Manifest-Version: 1.0
2+
Automatic-Module-Name: org.eclipse.mylyn.commons.sdk.util.junit4
3+
Bundle-ManifestVersion: 2
4+
Bundle-Name: Mylyn Commons SDK JUnit 4 Utilities
5+
Bundle-SymbolicName: org.eclipse.mylyn.commons.sdk.util.junit4;singleton:=true
6+
Bundle-Version: 4.8.0.qualifier
7+
Bundle-RequiredExecutionEnvironment: JavaSE-21
8+
Require-Bundle: org.eclipse.core.runtime;bundle-version="0.0.0",
9+
org.eclipse.mylyn.commons.core;bundle-version="4.8.0",
10+
org.eclipse.mylyn.commons.sdk.util;bundle-version="4.8.0",
11+
org.eclipse.osgi;bundle-version="0.0.0",
12+
org.junit;bundle-version="4.8.2"
13+
Export-Package: org.eclipse.mylyn.commons.sdk.util.junit4;x-internal:=true
14+
Bundle-Vendor: Eclipse Mylyn
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2+
<html>
3+
<head>
4+
<title>About</title>
5+
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
6+
</head>
7+
<body lang="EN-US">
8+
<h2>About This Content</h2>
9+
10+
<p>June 25, 2008</p>
11+
<h3>License</h3>
12+
13+
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
14+
indicated below, the Content is provided to you under the terms and conditions of the
15+
Eclipse Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is available
16+
at <a href="https://www.eclipse.org/legal/epl-v20.html">https://www.eclipse.org/legal/epl-v20.html</a>.
17+
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
18+
19+
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
20+
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
21+
apply to your use of any object code in the Content. Check the Redistributor's license that was
22+
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
23+
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
24+
and such source code may be obtained at <a href="/">https://www.eclipse.org</a>.</p>
25+
26+
</body>
27+
</html>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
###############################################################################
2+
# Copyright (c) 2009, 2012 Tasktop Technologies and others.
3+
#
4+
# This program and the accompanying materials are made available under the
5+
# terms of the Eclipse Public License v. 2.0 which is available at
6+
# https://www.eclipse.org/legal/epl-2.0
7+
#
8+
# SPDX-License-Identifier: EPL-2.0
9+
#
10+
# Contributors:
11+
# Tasktop Technologies - initial API and implementation
12+
###############################################################################
13+
source.. = src/
14+
output.. = bin/
15+
bin.includes = .,\
16+
META-INF/,\
17+
about.html
18+
src.includes = about.html
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@
99
*
1010
* Frank Becker and others - initial API and implementation
1111
* ArSysOp - ongoing support
12+
* See git history
1213
*******************************************************************************/
13-
package org.eclipse.mylyn.commons.sdk.util;
14+
package org.eclipse.mylyn.commons.sdk.util.junit4;
1415

1516
import java.lang.annotation.ElementType;
1617
import java.lang.annotation.Retention;
1718
import java.lang.annotation.RetentionPolicy;
1819
import java.lang.annotation.Target;
1920
import java.lang.reflect.Modifier;
2021

22+
import org.eclipse.mylyn.commons.sdk.util.AbstractTestFixture;
2123
import org.junit.rules.TestRule;
2224
import org.junit.runner.Description;
2325
import org.junit.runners.model.Statement;
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88
* SPDX-License-Identifier: EPL-2.0
99
*
1010
* Frank Becker - initial API and implementation
11+
* See git history
1112
*******************************************************************************/
1213

13-
package org.eclipse.mylyn.commons.sdk.util;
14+
package org.eclipse.mylyn.commons.sdk.util.junit4;
15+
16+
import org.eclipse.mylyn.commons.sdk.util.AbstractTestFixture;
1417

1518
public interface IFixtureJUnitClass {
1619
AbstractTestFixture getActualFixture();

0 commit comments

Comments
 (0)