Esempio n. 1
0
 public CTestInfo()
 {
     _tests = new List<TestInfo>();
     _log = new CTestLogWindow()
     {
         Enabled = true,
     };
 }
 public CTestContainerDiscoverer(
     [Import(typeof (SVsServiceProvider))] IServiceProvider serviceProvider)
     : base(serviceProvider, new CTestTestfileAddRemoveListener(), CTestExecutor.ExecutorUriString)
 {
     _log = new CTestLogWindow
     {
         Enabled = false,
         AutoRaise = false
     };
     _buildConfiguration = new BuildConfiguration(serviceProvider);
     _cmakeCache = new CMakeCache();
     _testCollector = new CTestTestCollector();
     _testInfo = new CTestInfo();
     _cmakeCache.CMakeCacheDir = _buildConfiguration.SolutionDir;
     _cmakeCache.CacheChanged += OnCMakeCacheChanged;
     _cmakeCache.StartWatching();
     _testCollector.CTestWorkingDir = _cmakeCache.CMakeCacheDir;
     _testCollector.CTestExecutable = _cmakeCache.CTestExecutable;
 }