You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-commits@incubator.apache.org by rf...@apache.org on 2011/04/05 18:23:20 UTC

svn commit: r1089153 - /incubator/droids/trunk/droids-core/src/test/java/org/apache/droids/impl/TestSimpleTaskQueueWithHistory.java

Author: rfrovarp
Date: Tue Apr  5 18:23:20 2011
New Revision: 1089153

URL: http://svn.apache.org/viewvc?rev=1089153&view=rev
Log:
Add check to make sure that the history part of the queue works as well.

Modified:
    incubator/droids/trunk/droids-core/src/test/java/org/apache/droids/impl/TestSimpleTaskQueueWithHistory.java

Modified: incubator/droids/trunk/droids-core/src/test/java/org/apache/droids/impl/TestSimpleTaskQueueWithHistory.java
URL: http://svn.apache.org/viewvc/incubator/droids/trunk/droids-core/src/test/java/org/apache/droids/impl/TestSimpleTaskQueueWithHistory.java?rev=1089153&r1=1089152&r2=1089153&view=diff
==============================================================================
--- incubator/droids/trunk/droids-core/src/test/java/org/apache/droids/impl/TestSimpleTaskQueueWithHistory.java (original)
+++ incubator/droids/trunk/droids-core/src/test/java/org/apache/droids/impl/TestSimpleTaskQueueWithHistory.java Tue Apr  5 18:23:20 2011
@@ -40,6 +40,7 @@ public class TestSimpleTaskQueueWithHist
     Assert.assertNotNull(task);
     queue.offer(task);
     Assert.assertEquals(1, queue.size());
-
+    queue.offer(task);
+    Assert.assertEquals(1, queue.size());
   }
 }