private void addTest(ItestCase test)
 {
     IJob job = new GUnitFramework.Implementation.Job();
     job.Command = m_runner.GTestExecutable;
     job.Argument = " --gtest_filter=" + test.Name;
     job.StdErrCallBack = StdErrCallBack;
     job.StdOutCallBack = StdOutCallBack;
     m_runner.Processhandler.JobList.Add(job);
 }
 protected virtual void StyleCode(string fileName)
 {
     if (File.Exists("AStyle.exe"))
     {
         Job job = new Job();
         job.Command = "AStyle.exe";
         job.Argument = "--style=gnu --indent-classes --mode=c " + fileName;
         ExternalProcessHandler process = new ExternalProcessHandler(job);
         process.RunExternalProcess(job);
     }
 }
        private void ListTests()
        {
            m_output.Clear();
            m_runner.TestSuits.Clear();
            m_runner.SelectedTests.Clear();
            IJob job = new GUnitFramework.Implementation.Job();
            job.Command = m_runner.GTestExecutable;
            job.Argument = " --gtest_list_tests";
            job.StdErrCallBack = StdErrCallBack;
            job.StdOutCallBack = StdOutCallBack;
            m_runner.Processhandler.JobList.Clear();
            m_runner.Processhandler.JobList.Add(job);

            m_runner.Processhandler.evProcessComplete -= (Processhandler_evProcessComplete);
            m_runner.Processhandler.evProcessComplete+=(Processhandler_evProcessComplete);
            m_runner.Processhandler.Start();
        }
 IJob createBuildJob(string command)
 {
     Job job = new Job();
    
     job.Command = CompilorPath;
     job.Argument = command;
     job.StdErrCallBack = StdErrCallBack;
     job.StdOutCallBack = StdOutCallBack;
     if (Directory.Exists(BuildDirectory))
     {
         job.WorkingDirectory = BuildDirectory;
     }
     return job;
 }