Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public override void ProcessWatermark(Watermark wm, Metadata metadata)
 {
     StaticTestHelper.LogMessage("Watermarktime: " + wm.TimeStamp);
     base.ProcessWatermark(wm, metadata);
 }
Exemplo n.º 3
0
 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);
 }