@Override public void run() { fromOctober.to("timestamp", earlier); } });
@Override public void run() { toOct.to("timestamp", later); } });
@Override public void run() { withSpecificTimestamp.to("timestamp", earlier); } });
@Override public void run() { afterSep.to("timestamp", instant); } });
@Override public void run() { afterSep.to("timestamp", earlier); } });
@Override public void run() { oct.to("timestamp", earlier); } });
@Override public RefinableView<E> to(String name, Comparable value) { return asRefinableView().to(name, value); }
@Override public void run() { oct.to("timestamp", later); } });
@Override public void run() { unbounded.to("timestamp", sepInstant).deleteAll(); } });
@Override public void run() { unbounded.to("timestamp", sepInstant).deleteAll(); } });
@Override public void run() { unbounded.from("timestamp", nov11Start).to("timestamp", nov12Start).deleteAll(); } });
@Override public void run() { unbounded.from("timestamp", nov11Start).to("timestamp", nov12Start).moveToTrash(); } });
@Override public void run() { unbounded.from("timestamp", octInstant).to("timestamp", octInstant).deleteAll(); } });
@Override public void run() { unbounded.from("timestamp", oct12BadStart).to("timestamp", oct12End).deleteAll(); } });
@Override public void run() { unbounded.from("timestamp", oct12BadStart).to("timestamp", oct12End).moveToTrash(); } });
@Override public void run() { unbounded.from("timestamp", oct12Start).to("timestamp", oct12BadEnd).deleteAll(); } });
@Override public void run() { unbounded.from("timestamp", octInstant).to("timestamp", octInstant).moveToTrash(); } });
@Override public void run() { unbounded.from("timestamp", oct12Start).to("timestamp", oct12BadEnd).moveToTrash(); } });
@Test @SuppressWarnings("rawtypes") public void testReadySignalToConstraint() { Assume.assumeTrue(unbounded instanceof Signalable); final long instant = new DateTime(2013, 10, 1, 0, 0, DateTimeZone.UTC).getMillis(); final Signalable toSpecificTimestamp = (Signalable) unbounded.to("timestamp", instant); Assert.assertFalse("Should not be ready initially", toSpecificTimestamp.isReady()); toSpecificTimestamp.signalReady(); Assert.assertTrue("Should be ready after signal", toSpecificTimestamp.isReady()); }