Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-02-26 00:37:14 +0000
committerrelves2010-02-26 00:37:14 +0000
commite4948989d90db570f3814ebd5e185713891ffb56 (patch)
treed3f913ad2720ba25c95e2c5b1185765966de50ca /org.eclipse.mylyn.tasks.tests
parent58da2dc6852000f312db11b114e741f617ed80b7 (diff)
downloadorg.eclipse.mylyn.tasks-e4948989d90db570f3814ebd5e185713891ffb56.tar.gz
org.eclipse.mylyn.tasks-e4948989d90db570f3814ebd5e185713891ffb56.tar.xz
org.eclipse.mylyn.tasks-e4948989d90db570f3814ebd5e185713891ffb56.zip
303714: fix TaskActivityTimingTest
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303714
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTimingTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTimingTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTimingTest.java
index 1b621bc77..7de674af6 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTimingTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTimingTest.java
@@ -497,6 +497,7 @@ public class TaskActivityTimingTest extends TestCase {
{
Calendar startActiveTime2 = Calendar.getInstance();
Calendar endActiveTime2 = Calendar.getInstance();
+ endActiveTime2.setTimeInMillis(startActiveTime2.getTimeInMillis());
endActiveTime2.add(Calendar.SECOND, 20);
Calendar startTime2 = Calendar.getInstance();
@@ -542,6 +543,7 @@ public class TaskActivityTimingTest extends TestCase {
Calendar startTime = Calendar.getInstance();
Calendar endTime = Calendar.getInstance();
+ endTime.setTimeInMillis(startTime.getTimeInMillis());
endTime.add(Calendar.SECOND, 20);
InteractionEvent event1 = new InteractionEvent(InteractionEvent.Kind.SELECTION, "structureKind",

Back to the top