Ejemplo n.º 1
0
 @SafeVarargs
 public final void assertHasOnlyGlobalAndFinishedSetsAndPaneInfoFor(W... expectedWindows) {
   assertHasOnlyGlobalAndAllowedTags(
       ImmutableSet.copyOf(expectedWindows),
       ImmutableSet.<StateTag<?>>of(
           TriggerRunner.FINISHED_BITS_TAG,
           PaneInfoTracker.PANE_INFO_TAG,
           WatermarkHold.PANE_HOLD_TAG));
 }
Ejemplo n.º 2
0
 public final void assertHasOnlyGlobalState() {
   assertHasOnlyGlobalAndAllowedTags(
       Collections.<W>emptySet(), Collections.<StateTag<?>>emptySet());
 }
Ejemplo n.º 3
0
 @SafeVarargs
 public final void assertHasOnlyGlobalAndFinishedSetsFor(W... expectedWindows) {
   assertHasOnlyGlobalAndAllowedTags(
       ImmutableSet.copyOf(expectedWindows),
       ImmutableSet.<StateTag<?>>of(TriggerRunner.FINISHED_BITS_TAG));
 }