|
|
d433ea |
Submodule eclipse.jdt.debug contains modified content
|
|
|
d433ea |
diff --git a/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java b/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java
|
|
|
d433ea |
index ec9788a9f..d7914d1ac 100644
|
|
|
d433ea |
--- a/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java
|
|
|
d433ea |
+++ b/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java
|
|
|
d433ea |
@@ -25,10 +25,10 @@ public class ClassfileTransformer {
|
|
|
d433ea |
private static final String STRATA_ID = "jdt"; //$NON-NLS-1$
|
|
|
d433ea |
|
|
|
d433ea |
/** max supported java class format major version, must match {@link #ASM_API} below **/
|
|
|
d433ea |
- public static final int MAX_CLASS_MAJOR = Opcodes.V12;
|
|
|
d433ea |
+ public static final int MAX_CLASS_MAJOR = Opcodes.V10;
|
|
|
d433ea |
|
|
|
d433ea |
/** supported ASM API version, must match {@link #MAX_CLASS_MAJOR} above */
|
|
|
d433ea |
- private static final int ASM_API = Opcodes.ASM7;
|
|
|
d433ea |
+ private static final int ASM_API = Opcodes.ASM6;
|
|
|
d433ea |
|
|
|
d433ea |
public byte[] transform(byte[] classfileBuffer, final String location) {
|
|
|
d433ea |
|
|
|
d433ea |
Submodule eclipse.pde.ui contains modified content
|
|
|
d433ea |
diff --git a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java
|
|
|
d433ea |
index e6d64cf8dc..39b6182e8d 100644
|
|
|
d433ea |
--- a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java
|
|
|
d433ea |
+++ b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java
|
|
|
d433ea |
@@ -82,7 +82,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
|
d433ea |
protected List<Reference> references;
|
|
|
d433ea |
|
|
|
d433ea |
public ClassFileSignatureVisitor() {
|
|
|
d433ea |
- super(Opcodes.ASM7);
|
|
|
d433ea |
+ super(Opcodes.ASM6);
|
|
|
d433ea |
this.references = new ArrayList<>();
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
@@ -250,7 +250,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
|
d433ea |
* @param mv
|
|
|
d433ea |
*/
|
|
|
d433ea |
public ClassFileMethodVisitor(MethodVisitor mv, String name, int argumentcount) {
|
|
|
d433ea |
- super(Opcodes.ASM7, mv);
|
|
|
d433ea |
+ super(Opcodes.ASM6, mv);
|
|
|
d433ea |
this.argumentcount = argumentcount;
|
|
|
d433ea |
this.linePositionTracker = new LinePositionTracker();
|
|
|
d433ea |
this.lastLineNumber = -1;
|
|
|
d433ea |
@@ -635,7 +635,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
|
d433ea |
class ClassFileFieldVisitor extends FieldVisitor {
|
|
|
d433ea |
|
|
|
d433ea |
ClassFileFieldVisitor() {
|
|
|
d433ea |
- super(Opcodes.ASM7);
|
|
|
d433ea |
+ super(Opcodes.ASM6);
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
@Override
|
|
|
d433ea |
@@ -991,7 +991,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
|
d433ea |
* {@link ReferenceModifiers}
|
|
|
d433ea |
*/
|
|
|
d433ea |
public ReferenceExtractor(IApiType type, Set<Reference> collector, int referenceKinds) {
|
|
|
d433ea |
- super(Opcodes.ASM7, new ClassNode());
|
|
|
d433ea |
+ super(Opcodes.ASM6, new ClassNode());
|
|
|
d433ea |
fType = type;
|
|
|
d433ea |
this.collector = collector;
|
|
|
d433ea |
fReferenceKinds = referenceKinds;
|
|
|
d433ea |
@@ -1008,7 +1008,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
|
d433ea |
* @param tracker
|
|
|
d433ea |
*/
|
|
|
d433ea |
protected ReferenceExtractor(IApiType type, Set<Reference> collector, int referenceKinds, FieldTracker tracker) {
|
|
|
d433ea |
- super(Opcodes.ASM7, new ClassNode());
|
|
|
d433ea |
+ super(Opcodes.ASM6, new ClassNode());
|
|
|
d433ea |
fType = type;
|
|
|
d433ea |
this.collector = collector;
|
|
|
d433ea |
fReferenceKinds = referenceKinds;
|
|
|
d433ea |
diff --git a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java
|
|
|
d433ea |
index e6e38604eb..490598b7b9 100644
|
|
|
d433ea |
--- a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java
|
|
|
d433ea |
+++ b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java
|
|
|
d433ea |
@@ -32,7 +32,7 @@ final class SignatureDecoder extends SignatureVisitor {
|
|
|
d433ea |
SignatureDescriptor signatureDescriptor;
|
|
|
d433ea |
|
|
|
d433ea |
public SignatureDecoder(SignatureDescriptor signatureDescriptor) {
|
|
|
d433ea |
- super(Opcodes.ASM7);
|
|
|
d433ea |
+ super(Opcodes.ASM6);
|
|
|
d433ea |
this.signatureDescriptor = signatureDescriptor;
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
diff --git a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java
|
|
|
d433ea |
index 4ff1492e86..7dc03b6aa4 100644
|
|
|
d433ea |
--- a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java
|
|
|
d433ea |
+++ b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java
|
|
|
d433ea |
@@ -57,7 +57,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
|
d433ea |
* unknown
|
|
|
d433ea |
*/
|
|
|
d433ea |
TypeStructureBuilder(ClassVisitor cv, IApiComponent component, IApiTypeRoot file) {
|
|
|
d433ea |
- super(Opcodes.ASM7, cv);
|
|
|
d433ea |
+ super(Opcodes.ASM6, cv);
|
|
|
d433ea |
fComponent = component;
|
|
|
d433ea |
fFile = file;
|
|
|
d433ea |
}
|
|
|
d433ea |
@@ -154,7 +154,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
|
d433ea |
}
|
|
|
d433ea |
}
|
|
|
d433ea |
final ApiMethod method = fType.addMethod(name, desc, signature, laccess, names);
|
|
|
d433ea |
- return new MethodVisitor(Opcodes.ASM7,
|
|
|
d433ea |
+ return new MethodVisitor(Opcodes.ASM6,
|
|
|
d433ea |
super.visitMethod(laccess, name, desc, signature, exceptions)) {
|
|
|
d433ea |
@Override
|
|
|
d433ea |
public AnnotationVisitor visitAnnotation(String sig, boolean visible) {
|
|
|
d433ea |
@@ -190,7 +190,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
|
d433ea |
int traceCount = 0;
|
|
|
d433ea |
|
|
|
d433ea |
public AnnotationDefaultVisitor(ApiMethod method) {
|
|
|
d433ea |
- super(Opcodes.ASM7);
|
|
|
d433ea |
+ super(Opcodes.ASM6);
|
|
|
d433ea |
this.method = method;
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
@@ -308,7 +308,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
|
d433ea |
String typeName;
|
|
|
d433ea |
|
|
|
d433ea |
public EnclosingMethodSetter(ClassVisitor cv, String typeName) {
|
|
|
d433ea |
- super(Opcodes.ASM7, cv);
|
|
|
d433ea |
+ super(Opcodes.ASM6, cv);
|
|
|
d433ea |
this.typeName = typeName.replace('.', '/');
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
@@ -341,7 +341,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
|
d433ea |
protected EnclosingMethodSetter setter;
|
|
|
d433ea |
|
|
|
d433ea |
public TypeNameFinder(MethodVisitor mv, EnclosingMethodSetter enclosingMethodSetter) {
|
|
|
d433ea |
- super(Opcodes.ASM7, mv);
|
|
|
d433ea |
+ super(Opcodes.ASM6, mv);
|
|
|
d433ea |
this.setter = enclosingMethodSetter;
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
Submodule eclipse.platform.ui contains modified content
|
|
|
d433ea |
diff --git a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF
|
|
|
d433ea |
index eb08f62a5d..c11656359b 100644
|
|
|
d433ea |
--- a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF
|
|
|
d433ea |
+++ b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF
|
|
|
d433ea |
@@ -10,8 +10,9 @@ Require-Bundle: org.junit,
|
|
|
d433ea |
org.w3c.css.sac,
|
|
|
d433ea |
org.eclipse.e4.ui.css.swt.theme;bundle-version="0.9.1",
|
|
|
d433ea |
org.eclipse.ui;bundle-version="3.106.0",
|
|
|
d433ea |
+ org.hamcrest.core;bundle-version="1.3.0",
|
|
|
d433ea |
org.hamcrest.library;bundle-version="1.3.0",
|
|
|
d433ea |
- org.mockito;bundle-version="2.13.0",
|
|
|
d433ea |
+ org.mockito.mockito-core,
|
|
|
d433ea |
org.eclipse.equinox.preferences;bundle-version="3.5.200",
|
|
|
d433ea |
org.eclipse.ui.forms,
|
|
|
d433ea |
org.eclipse.ui.views.properties.tabbed
|
|
|
d433ea |
diff --git a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF
|
|
|
d433ea |
index 19458ab029..986226a097 100644
|
|
|
d433ea |
--- a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF
|
|
|
d433ea |
+++ b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF
|
|
|
d433ea |
@@ -31,8 +31,9 @@ Require-Bundle: org.eclipse.emf.ecore.xmi;bundle-version="2.4.0",
|
|
|
d433ea |
org.eclipse.core.expressions;bundle-version="3.4.200",
|
|
|
d433ea |
org.eclipse.e4.ui.workbench.addons.swt;bundle-version="0.9.0",
|
|
|
d433ea |
org.eclipse.e4.ui.css.swt;bundle-version="0.11.0",
|
|
|
d433ea |
+ org.hamcrest.core;bundle-version="1.3.0",
|
|
|
d433ea |
org.hamcrest.library;bundle-version="1.3.0",
|
|
|
d433ea |
- org.mockito;bundle-version="2.13.0",
|
|
|
d433ea |
+ org.mockito.mockito-core,
|
|
|
d433ea |
org.eclipse.e4.ui.css.core;bundle-version="0.10.100",
|
|
|
d433ea |
org.eclipse.test.performance;bundle-version="3.13.0"
|
|
|
d433ea |
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
|
|
d433ea |
diff --git a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java
|
|
|
d433ea |
index 6d98e184d3..7def31d02c 100644
|
|
|
d433ea |
--- a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java
|
|
|
d433ea |
+++ b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java
|
|
|
d433ea |
@@ -16,7 +16,7 @@ package org.eclipse.e4.ui.workbench.renderers.swt;
|
|
|
d433ea |
|
|
|
d433ea |
import static org.junit.Assert.assertEquals;
|
|
|
d433ea |
import static org.junit.Assert.assertTrue;
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.any;
|
|
|
d433ea |
+import static org.mockito.Matchers.any;
|
|
|
d433ea |
import static org.mockito.Mockito.doReturn;
|
|
|
d433ea |
import static org.mockito.Mockito.mock;
|
|
|
d433ea |
import static org.mockito.Mockito.never;
|
|
|
d433ea |
diff --git a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java
|
|
|
d433ea |
index 99654e3845..07facbb824 100644
|
|
|
d433ea |
--- a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java
|
|
|
d433ea |
+++ b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java
|
|
|
d433ea |
@@ -13,8 +13,8 @@
|
|
|
d433ea |
*******************************************************************************/
|
|
|
d433ea |
package org.eclipse.ui.tests.themes;
|
|
|
d433ea |
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.anyBoolean;
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.anyObject;
|
|
|
d433ea |
+import static org.mockito.Matchers.anyBoolean;
|
|
|
d433ea |
+import static org.mockito.Matchers.anyObject;
|
|
|
d433ea |
import static org.mockito.Mockito.doReturn;
|
|
|
d433ea |
import static org.mockito.Mockito.mock;
|
|
|
d433ea |
import static org.mockito.Mockito.spy;
|
|
|
d433ea |
diff --git a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java
|
|
|
d433ea |
index 5c6d765a76..fa59d14187 100644
|
|
|
d433ea |
--- a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java
|
|
|
d433ea |
+++ b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java
|
|
|
d433ea |
@@ -15,10 +15,10 @@
|
|
|
d433ea |
package org.eclipse.ui.tests.themes;
|
|
|
d433ea |
|
|
|
d433ea |
import static org.eclipse.ui.internal.themes.WorkbenchThemeManager.EMPTY_COLOR_VALUE;
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.any;
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.anyObject;
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.eq;
|
|
|
d433ea |
-import static org.mockito.ArgumentMatchers.isNull;
|
|
|
d433ea |
+import static org.mockito.Matchers.any;
|
|
|
d433ea |
+import static org.mockito.Matchers.anyObject;
|
|
|
d433ea |
+import static org.mockito.Matchers.eq;
|
|
|
d433ea |
+import static org.mockito.Matchers.isNull;
|
|
|
d433ea |
import static org.mockito.Mockito.doReturn;
|
|
|
d433ea |
import static org.mockito.Mockito.mock;
|
|
|
d433ea |
import static org.mockito.Mockito.never;
|
|
|
d433ea |
@@ -102,11 +102,11 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
|
d433ea |
verify(colorRegistry, times(1)).put(eq("colorDefinition"), any(RGB.class));
|
|
|
d433ea |
verify(colorRegistry, times(1)).put(eq("colorDefinition"), eq(EMPTY_COLOR_VALUE));
|
|
|
d433ea |
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class),
|
|
|
d433ea |
eq(fontRegistry), eq(fontDefinition1), any(IPreferenceStore.class));
|
|
|
d433ea |
verify(handler, never()).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class),
|
|
|
d433ea |
eq(fontRegistry), eq(fontDefinition2), any(IPreferenceStore.class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class),
|
|
|
d433ea |
eq(colorRegistry), eq(colorDefinition), any(IPreferenceStore.class));
|
|
|
d433ea |
|
|
|
d433ea |
verify(stylingEngine, times(1)).style(fontDefinition2);
|
|
|
d433ea |
@@ -165,22 +165,22 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
|
d433ea |
//then
|
|
|
d433ea |
verify(stylingEngine, times(1)).style(fontDefinition1);
|
|
|
d433ea |
verify(fontRegistry, times(1)).put("fontDefinition1", null);
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition1),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition1),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
|
|
|
d433ea |
verify(stylingEngine, times(1)).style(fontDefinition2);
|
|
|
d433ea |
verify(fontRegistry, never()).put(eq("fontDefinition2"), any(FontData[].class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition2),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition2),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
|
|
|
d433ea |
verify(stylingEngine, times(1)).style(colorDefinition1);
|
|
|
d433ea |
verify(colorRegistry, never()).put(eq("colorDefinition1"), any(RGB.class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition1),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition1),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
|
|
|
d433ea |
verify(stylingEngine, times(1)).style(colorDefinition2);
|
|
|
d433ea |
verify(colorRegistry, times(1)).put("colorDefinition2", null);
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition2),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition2),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
}
|
|
|
d433ea |
|
|
|
d433ea |
@@ -227,9 +227,9 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
|
d433ea |
verify(colorRegistry, times(1)).put("colorDefinition", null);
|
|
|
d433ea |
assertEquals(1, themeRegistry.getColors().length);
|
|
|
d433ea |
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
|
|
|
d433ea |
verify(handler, times(1)).resetThemeRegistries(themeRegistry, fontRegistry, colorRegistry);
|
|
|
d433ea |
@@ -297,13 +297,13 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
|
d433ea |
verify(colorRegistry, times(1)).put(eq("colorDefinition2"), any(RGB.class));
|
|
|
d433ea |
verify(colorRegistry, times(1)).put(eq("colorDefinition2"), eq(EMPTY_COLOR_VALUE));
|
|
|
d433ea |
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition1),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition1),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition2),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition2),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition1),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition1),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition2),
|
|
|
d433ea |
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition2),
|
|
|
d433ea |
any(IPreferenceStore.class));
|
|
|
d433ea |
|
|
|
d433ea |
verify(handler, times(1)).resetThemeRegistries(themeRegistry, fontRegistry, colorRegistry);
|
|
|
d433ea |
diff --git a/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF b/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
|
|
|
d433ea |
index 45c025610f..484f3a0092 100644
|
|
|
d433ea |
--- a/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
|
|
|
d433ea |
+++ b/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
|
|
|
d433ea |
@@ -44,7 +44,7 @@ Require-Bundle: org.eclipse.core.resources,
|
|
|
d433ea |
org.eclipse.osgi.services;bundle-version="3.3.100",
|
|
|
d433ea |
org.hamcrest.core;bundle-version="1.3.0",
|
|
|
d433ea |
org.hamcrest.library;bundle-version="1.3.0",
|
|
|
d433ea |
- org.mockito;bundle-version="2.13.0"
|
|
|
d433ea |
+ org.mockito.mockito-core
|
|
|
d433ea |
Import-Package: javax.annotation
|
|
|
d433ea |
Eclipse-AutoStart: true
|
|
|
d433ea |
Export-Package: org.eclipse.ui.tests.api,
|
|
|
d433ea |
diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
|
d433ea |
index 5514138f..ac5c0ee4 100644
|
|
|
d433ea |
--- a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
|
d433ea |
+++ b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
|
d433ea |
@@ -23,7 +23,7 @@
|
|
|
d433ea |
<import plugin="org.apache.commons.io" />
|
|
|
d433ea |
<import plugin="org.hamcrest.core" />
|
|
|
d433ea |
<import plugin="org.hamcrest.library" />
|
|
|
d433ea |
- <import plugin="org.mockito" />
|
|
|
d433ea |
+ <import plugin="org.mockito.mockito-core" />
|
|
|
d433ea |
<import plugin="org.objenesis" />
|
|
|
d433ea |
</requires>
|
|
|
d433ea |
|
|
|
d433ea |
diff --git a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
|
d433ea |
index d4728693..297e1031 100644
|
|
|
d433ea |
--- a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
|
d433ea |
+++ b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
|
d433ea |
@@ -24,7 +24,7 @@
|
|
|
d433ea |
<import plugin="org.easymock" />
|
|
|
d433ea |
<import plugin="org.hamcrest.core" />
|
|
|
d433ea |
<import plugin="org.hamcrest.library" />
|
|
|
d433ea |
- <import plugin="org.mockito" />
|
|
|
d433ea |
+ <import plugin="org.mockito.mockito-core" />
|
|
|
d433ea |
</requires>
|
|
|
d433ea |
|
|
|
d433ea |
|