bool CheckProjectHasTestRunner() { if (!projectHasTestRunner) { Runtime.RunInMainThread(() => { projectHasTestRunner = project.HasTestRunner(); }).Wait(); } return(projectHasTestRunner); }
public DnxProjectTestSuite(XProject xproject, DnxProject project) : base(project.Name, xproject) { this.project = project; lastBuildTime = project.LastBuildTime; projectHasTestRunner = project.HasTestRunner(); CreateResultsStore(); testLoader = new DnxTestLoader(); testLoader.DiscoveryCompleted += TestLoaderDiscoveryCompleted; testLoader.DiscoveryFailed += TestLoaderDiscoveryFailed; IdeApp.ProjectOperations.EndBuild += AfterBuild; }