Пример #1
0
        public void Setup()
        {
            base.SetUp();

            listener = new SupportUpdateListener();
            EPStatement stmt = FindMissingEventStmt.Create(epService.EPAdministrator);

            stmt.Events += listener.Update;

            // Use external clocking for the test
            epService.EPRuntime.SendEvent(new TimerControlEvent(TimerControlEvent.ClockTypeEnum.CLOCK_EXTERNAL));
        }
Пример #2
0
        public void Setup()
        {
            base.SetUp();

            listener = new SupportUpdateListener();
            EPStatement stmt = FindMissingEventStmt.Create(_runtime);

            stmt.Events += listener.Update;

            // Use external clocking for the test
            _runtime.EventService.ClockExternal();
        }