예제 #1
0
        private void RunrunSet(RunSetConfig runSetConfig)
        {
            RunsetExecutor runsetExecutor = new RunsetExecutor();

            runsetExecutor.RunSetConfig       = runSetConfig;
            WorkSpace.Instance.RunsetExecutor = runsetExecutor;
            runsetExecutor.RunRunset();
        }
        public async void OpenRunSet(string runSetName, string envName)
        {
            SolutionRepository SR           = WorkSpace.Instance.SolutionRepository;
            var             envs            = SR.GetAllRepositoryItems <ProjEnvironment>();
            ProjEnvironment projEnvironment = (from x in SR.GetAllRepositoryItems <ProjEnvironment>() where x.Name == envName select x).SingleOrDefault();
            RunSetConfig    runSetConfig    = (from x in SR.GetAllRepositoryItems <RunSetConfig>() where x.Name == runSetName select x).SingleOrDefault();
            RunsetExecutor  runsetExecutor  = new RunsetExecutor();

            WorkSpace.Instance.RunsetExecutor         = runsetExecutor;
            runsetExecutor.RunSetConfig               = runSetConfig;
            runsetExecutor.RunsetExecutionEnvironment = projEnvironment;
            runsetExecutor.InitRunners();
            await runsetExecutor.RunRunset();
        }
예제 #3
0
        private async void RunSet()
        {
            Console.WriteLine(GingerDicser.GetTermResValue(eTermResKey.RunSet) + " Name?");
            string       runSetName   = Console.ReadLine();
            RunSetConfig runSetConfig = (from x in SR.GetAllRepositoryItems <RunSetConfig>() where x.Name == runSetName select x).SingleOrDefault();

            if (runSetConfig == null)
            {
                Console.WriteLine("RunSetConfig not found");
                return;
            }


            Console.WriteLine("starting RunSetConfig execution");
            RunsetExecutor runsetExecuto = new RunsetExecutor();

            runsetExecuto.RunSetConfig = runSetConfig;
            await runsetExecuto.RunRunset();

            Console.WriteLine("Execution completed");
        }
예제 #4
0
파일: CLIArgs.cs 프로젝트: csuffyy/Ginger
 public void Execute(RunsetExecutor runsetExecutor)
 {
     runsetExecutor.RunRunset();
 }
예제 #5
0
 public async Task Execute(RunsetExecutor runsetExecutor)
 {
     await runsetExecutor.RunRunset();
 }