Esempio n. 1
0
        bool CheckProjectHasTestRunner()
        {
            if (!projectHasTestRunner)
            {
                Runtime.RunInMainThread(() => {
                    projectHasTestRunner = project.HasTestRunner();
                }).Wait();
            }

            return(projectHasTestRunner);
        }
Esempio n. 2
0
        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;
        }