Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2009-12-14 16:48:38 -0500
committerrelves2009-12-14 16:48:38 -0500
commit5ca6f9eff264007227de347dd270653c9ccfc6a2 (patch)
tree52dd64863d79fc6834966868c5e81b375417e3b7
parent0a185337e5b47b0e48144bb8aad5d8d544c6bdf0 (diff)
downloadorg.eclipse.mylyn.tasks-5ca6f9eff264007227de347dd270653c9ccfc6a2.tar.gz
org.eclipse.mylyn.tasks-5ca6f9eff264007227de347dd270653c9ccfc6a2.tar.xz
org.eclipse.mylyn.tasks-5ca6f9eff264007227de347dd270653c9ccfc6a2.zip
NEW - bug 290465: fix Bugzilla test suiteR_3_3_1_e_3_5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290465
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java19
1 files changed, 8 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
index 7a73d0439..d3a27d780 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
@@ -759,22 +759,19 @@ public class BugzillaRepositoryConnectorTest extends AbstractBugzillaTest {
assertTrue(config.getComponents().size() > 0);
}
- // FIXME: Time Tracking needs to be enabled on test servers
- public void testTimeTracker() throws Exception {
- timeTracker(15, true);
- }
- /**
- * @param enableDeadline
- * bugzilla 218 doesn't support deadlines
- */
- protected void timeTracker(int taskid, boolean enableDeadline) throws Exception {
- ITask task = generateLocalTaskAndDownload("" + taskid);
+ public void testTimeTracker() throws Exception {
+ boolean enableDeadline = true;
+ TaskData data = BugzillaFixture.current().createTask(PrivilegeLevel.USER, null, null);
+ assertNotNull(data);
+ ITask task = generateLocalTaskAndDownload(data.getTaskId());
assertNotNull(task);
+
+ //ITask task = generateLocalTaskAndDownload("" + taskid);
+ //assertNotNull(task);
TaskDataModel model = createModel(task);
TaskData taskData = model.getTaskData();
assertNotNull(taskData);
- assertEquals(taskid + "", taskData.getTaskId());
assertEquals(SynchronizationState.SYNCHRONIZED, task.getSynchronizationState());
Set<ITask> tasks = new HashSet<ITask>();

Back to the top