Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-03-10 03:35:51 -0500
committerspingel2011-03-10 03:35:51 -0500
commitbf812266f8d7a1f266fef63d25debec8114f0cde (patch)
treec31870849404e3bbc60b7ba332c4a0646dbc1f6b
parent63b2e3ef5c2cb660683268047f62bb7cbfedd399 (diff)
downloadorg.eclipse.mylyn.tasks-bf812266f8d7a1f266fef63d25debec8114f0cde.tar.gz
org.eclipse.mylyn.tasks-bf812266f8d7a1f266fef63d25debec8114f0cde.tar.xz
org.eclipse.mylyn.tasks-bf812266f8d7a1f266fef63d25debec8114f0cde.zip
NEW - bug 336657: improve Task List appearance on blank workspace
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336657
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java
index 2de037b78..a2e01231c 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java
@@ -313,7 +313,7 @@ public class TaskListUiTest extends TestCase {
}
public boolean checkCompleteIncompleteFilter(TreeItem[] items, boolean checkComplete) {
- assertEquals(3, items.length);
+ assertEquals(2, items.length);
int count = 0;
for (TreeItem item : items) {
if (item.getData() instanceof TaskCategory) {
@@ -330,12 +330,12 @@ public class TaskListUiTest extends TestCase {
}
}
}
- assertTrue(count == 5);
+ assertEquals(5, count);
return true;
}
public boolean checkPriorityFilter(TreeItem[] items) {
- assertTrue(items.length == 3);
+ assertEquals(2, items.length);
int p2Count = 0;
int p1Count = 0;
for (TreeItem item : items) {

Back to the top