Example #1
0
 /// <summary>Compare the new data underlying events underlying events captured by the child against expected values in the exact same order. Clears the last new data in the test child view after comparing.  </summary>
 /// <param name="testChildView">is the child view</param>
 /// <param name="expectedValues">are the expected values</param>
 public static void CheckNewDataUnderlying(SupportBaseView testChildView, EventBean[] expectedValues)
 {
     EventBean[] newData            = testChildView.LastNewData;
     Object[]    expectedUnderlying = GetUnderlying(expectedValues);
     Object[]    newUnderlying      = GetUnderlying(newData);
     EPAssertionUtil.AssertEqualsExactOrder(expectedUnderlying, newUnderlying);
     testChildView.ClearLastNewData();
 }
Example #2
0
 /// <summary>Compare the new data captured by the child against expected values in the exact same order. Clears the last new data in the test child view after comparing.  </summary>
 /// <param name="testChildView">is the child view</param>
 /// <param name="expectedValues">are the expected values</param>
 public static void CheckNewData(SupportBaseView testChildView, EventBean[] expectedValues)
 {
     EventBean[] newData = testChildView.LastNewData;
     EPAssertionUtil.AssertEqualsExactOrder(expectedValues, newData);
     testChildView.ClearLastNewData();
 }