/// <summary> /// Runs the tests after building the project(s) under test. /// </summary> void BuildProjectBeforeRunningTests(SelectedTests selectedTests) { BuildProject build = CreateBuildProjectBeforeTestRun(selectedTests); build.BuildComplete += delegate { OnBuildComplete(build.LastBuildResults, selectedTests); }; build.Run(); }
public void Build(IProject project) { var build = new BuildProject(project); build.BuildComplete += BuildComplete; buildCompleteEvent.Reset(); SD.MainThread.InvokeAsyncAndForget(() => build.Run()); if (buildCompleteEvent.WaitOne(DefaultBuildTimeout)) { BuildResults = build.LastBuildResults; } else { BuildResults = GetBuildTimeoutResult(); } build.BuildComplete -= BuildComplete; }
public void Build(IProject project) { var build = new BuildProject(project); build.BuildComplete += BuildComplete; buildCompleteEvent.Reset(); WorkbenchSingleton.SafeThreadAsyncCall(() => build.Run()); if (buildCompleteEvent.WaitOne(DefaultBuildTimeout)) { BuildResults = build.LastBuildResults; } else { BuildResults = GetBuildTimeoutResult(); } build.BuildComplete -= BuildComplete; }
private void RunTarget(object sender, RoutedEventArgs e) { m_Project.Run(m_Project.DefaultTarget); }