public override void Consume(int input) { StaticTestHelper.LogMessage("Logging input: " + input); if (input == 8 || input == 10) { StaticTestHelper.PassTest("Got expected value"); } else { StaticTestHelper.FailTest("got unexpected value : " + input); } }
public override void ProcessWatermark(Watermark wm, Metadata metadata) { StaticTestHelper.LogMessage("Watermarktime: " + wm.TimeStamp); base.ProcessWatermark(wm, metadata); }
public override void ProcessData(Data <Test> input, Metadata metadata) { StaticTestHelper.LogMessage("Window start: " + this.WindowStart); StaticTestHelper.LogMessage("Logginge event time: " + input.Value.EventTime); base.ProcessData(input, metadata); }