Exemplo n.º 1
0
        private static void RunInternal(
            RegressionSession session,
            RegressionExecution execution)
        {
                if (session.Runtime == null) {
                    var exists = EPRuntimeProvider.HasRuntime(EPRuntimeProvider.DEFAULT_RUNTIME_URI);
                    var runtime = EPRuntimeProvider.GetDefaultRuntime(session.Configuration);
                    if (exists) {
                        runtime.Initialize();
                    }

                    session.Runtime = runtime;
                }

                LOG.Info("Running test " + execution.Name());
                execution.Run(new RegressionEnvironmentEsper(session.Configuration, session.Runtime));
        }