aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Still2013-09-18 05:49:57 (EDT)
committerHendrik Still2013-09-18 05:50:33 (EDT)
commit65af4d1068503632de6a26721755209e734e0d09 (patch)
treea5383f8bad5057ac6909044d96bd84bf12dc8401
parent4821302fabf4f316b32d55acd083484863a9ce3f (diff)
downloadeclipse.platform.ui-65af4d1068503632de6a26721755209e734e0d09.zip
eclipse.platform.ui-65af4d1068503632de6a26721755209e734e0d09.tar.gz
eclipse.platform.ui-65af4d1068503632de6a26721755209e734e0d09.tar.bz2
Bug 417142 - [Viewers] Update Viewer JUnit tests to use genericsrefs/changes/41/16541/1
-fixed type error Change-Id: I4336615fd690810e8422e96edef5eea805e9e683 Signed-off-by: Hendrik Still <hendrik.still@gammas.de>
-rw-r--r--tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ComboViewerComparerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ComboViewerComparerTest.java b/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ComboViewerComparerTest.java
index 02b92a3..79ffd1c 100644
--- a/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ComboViewerComparerTest.java
+++ b/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ComboViewerComparerTest.java
@@ -48,7 +48,7 @@ public class ComboViewerComparerTest extends TestCase {
}
public void testSetSelection() {
- viewer.setContentProvider(new ArrayContentProvider<String>(String.class));
+ viewer.setContentProvider(new ArrayContentProvider<TestElement>(TestElement.class));
viewer.setComparer(new IElementComparer() {
public boolean equals(final Object element1, final Object element2) {
TestElement testElement1 = (TestElement) element1;