public void TearDown() { if (InstrumentationHelper.ENABLED) { InstrumentationHelper.EndTest(); } _listener = null; _subscriber = null; }
public void SetUp() { Configuration config = SupportConfigFactory.GetConfiguration(); _epService = EPServiceProviderManager.GetDefaultProvider(config); _epService.Initialize(); foreach (Type clazz in new Type[] { typeof(SupportBean), typeof(SupportBean_S0), typeof(SupportBean_S1), typeof(SupportBean_S2) }) { _epService.EPAdministrator.Configuration.AddEventType(clazz); } _listener = new SupportUpdateListener(); _subscriber = new MySubscriberMultirowObjectArr(); if (InstrumentationHelper.ENABLED) { InstrumentationHelper.StartTest(_epService, this.GetType(), GetType().FullName); } }