Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2011-09-02 18:24:47 +0000
committerFrank Becker2011-09-02 18:24:47 +0000
commit035d2db70818b997d109059f0ff6fca1487b44de (patch)
tree7211b35da8938499840e92969a338cccf6f87792 /org.eclipse.mylyn.tasks.tests/src
parent218ff6409520a1e0f1101e7b2e0511fac4b4214e (diff)
downloadorg.eclipse.mylyn.tasks-035d2db70818b997d109059f0ff6fca1487b44de.tar.gz
org.eclipse.mylyn.tasks-035d2db70818b997d109059f0ff6fca1487b44de.tar.xz
org.eclipse.mylyn.tasks-035d2db70818b997d109059f0ff6fca1487b44de.zip
Revert "ASSIGNED - bug 305169: Use different color for attachments marked with iplog flag https://bugs.eclipse.org/bugs/show_bug.cgi?id=305169"
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests/src')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ui/editor/AttachmentTableLabelProviderTest.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ui/editor/AttachmentTableLabelProviderTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ui/editor/AttachmentTableLabelProviderTest.java
index b2bda831d..5226c6e24 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ui/editor/AttachmentTableLabelProviderTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ui/editor/AttachmentTableLabelProviderTest.java
@@ -14,13 +14,6 @@ package org.eclipse.mylyn.tasks.tests.ui.editor;
import junit.framework.TestCase;
import org.eclipse.mylyn.internal.tasks.core.TaskAttachment;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnCreated;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnCreator;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnDefinition;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnDescription;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnID;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnName;
-import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentColumnSize;
import org.eclipse.mylyn.internal.tasks.ui.editors.AttachmentTableLabelProvider;
import org.eclipse.mylyn.tasks.tests.TaskTestUtil;
@@ -29,13 +22,10 @@ import org.eclipse.mylyn.tasks.tests.TaskTestUtil;
* @author Steffen Pingel
*/
public class AttachmentTableLabelProviderTest extends TestCase {
- private static AttachmentColumnDefinition[] columnDefinitions = { new AttachmentColumnName(0),
- new AttachmentColumnDescription(1), new AttachmentColumnSize(2), new AttachmentColumnCreator(3),
- new AttachmentColumnCreated(4), new AttachmentColumnID(5) };
public void testGetAttachmentId() {
TaskAttachment attachment = TaskTestUtil.createMockTaskAttachment("1");
- AttachmentTableLabelProvider labelProvider = new AttachmentTableLabelProvider(null, null, columnDefinitions);
+ AttachmentTableLabelProvider labelProvider = new AttachmentTableLabelProvider(null, null);
attachment.setUrl(null);
assertEquals("", labelProvider.getColumnText(attachment, 5));

Back to the top