Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerTest.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerTest.java
index 67dbd65d4..bc44ec061 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerTest.java
@@ -351,11 +351,10 @@ public class TracTaskDataHandlerTest extends TestCase {
assertEquals("", subTaskMapper.getSummary());
assertEquals("", subTaskMapper.getDescription());
assertEquals(component, subTaskMapper.getComponent());
- assertEquals(parentTaskData.getTaskId(), subTaskData.getRoot().getMappedAttribute(
- TracTaskDataHandler.ATTRIBUTE_BLOCKING).getValue());
- assertEquals("", parentTaskData.getRoot()
- .getMappedAttribute(TracTaskDataHandler.ATTRIBUTE_BLOCKED_BY)
- .getValue());
+ TaskAttribute attribute = subTaskData.getRoot().getMappedAttribute(TracTaskDataHandler.ATTRIBUTE_BLOCKING);
+ assertEquals(parentTaskData.getTaskId(), attribute.getValue());
+ attribute = parentTaskData.getRoot().getMappedAttribute(TracTaskDataHandler.ATTRIBUTE_BLOCKED_BY);
+ assertEquals("", attribute.getValue());
}
public void testGetSubTaskIds() throws Exception {

Back to the top