Ejemplo n.º 1
0
 private void setWatchPath(string path)
 {
     if (_isWatchingSolution && _configuration.UseLowestCommonDenominatorAsWatchPath)
     {
         path = _watchPathLocator.Locate(path);
     }
     Debug.WriteDebug("Watching {0}, IsWatchingSolution = {1}, UseLowestCommonDenominatorAsWatchPath = {2}", path, _isWatchingSolution, _configuration.UseLowestCommonDenominatorAsWatchPath);
     _bus.Publish(new InformationMessage(string.Format("Starting AutoTest.Net and watching \"{0}\" and all subdirectories.", path)));
     _watcher.Path = path;
     _launcer.Initialize(path);
 }