private void SendSupportBeanEvent(String stringValue, SupportEnum supportEnum) { var theEvent = new SupportBeanWithEnum(stringValue, supportEnum); _epService.EPRuntime.SendEvent(theEvent); }
private void RunAssertionEnum(EPStatement stmtEnum, SupportSubscriberRowByRowSpecificBase subscriber) { stmtEnum.Subscriber = subscriber; var theEvent = new SupportBeanWithEnum("abc", SupportEnum.ENUM_VALUE_1); _epService.EPRuntime.SendEvent(theEvent); subscriber.AssertOneReceivedAndReset(stmtEnum, new object[] { theEvent.TheString, theEvent.SupportEnum }); }
private static void SendSupportBeanEvent( RegressionEnvironment env, string theString, SupportEnum supportEnum) { var theEvent = new SupportBeanWithEnum(theString, supportEnum); env.SendEventBean(theEvent); }
public void TestEnum() { var subscriber = new MySubscriberRowByRowSpecific(); EPStatement stmt = _epService.EPAdministrator.CreateEPL( "select TheString, supportEnum from SupportBeanWithEnum"); stmt.Subscriber = subscriber; var theEvent = new SupportBeanWithEnum("abc", SupportEnum.ENUM_VALUE_1); _epService.EPRuntime.SendEvent(theEvent); EPAssertionUtil.AssertEqualsExactOrder(new Object[] { theEvent.TheString, theEvent.SupportEnum } , subscriber.GetAndResetIndicate()[0]); }
private void SendSupportBeanEvent(EPServiceProvider epService, string theString, SupportEnum supportEnum) { var theEvent = new SupportBeanWithEnum(theString, supportEnum); epService.EPRuntime.SendEvent(theEvent); }