ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/SubmissionPublisherTest.java
(Generate patch)

Comparing jsr166/src/test/tck/SubmissionPublisherTest.java (file contents):
Revision 1.3 by jsr166, Mon Sep 7 20:28:47 2015 UTC vs.
Revision 1.4 by jsr166, Mon Sep 7 20:33:41 2015 UTC

# Line 804 | Line 804 | public class SubmissionPublisherTest ext
804  
805  
806      /**
807 <     * TimedOffer to a publisher with no subscribers returns lag 0
807 >     * Timed offer to a publisher with no subscribers returns lag 0
808       */
809      public void testEmptyTimedOffer() {
810          SubmissionPublisher<Integer> p = basicPublisher();
811 <        assertEquals(p.offer(1, null), 0);
811 >        assertEquals(0, p.offer(1, LONG_DELAY_MS, MILLISECONDS, null));
812      }
813  
814      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines