public static LogsharkConfiguration GetMockConfiguration() { var options = LogsharkConfigReader.LoadConfiguration(); options.TableauConnectionInfo.Site = "Test"; return(options); }
public LogsharkRunner() { // Initialize log4net settings. var assemblyLocation = Assembly.GetExecutingAssembly().Location; Directory.SetCurrentDirectory(Path.GetDirectoryName(assemblyLocation)); XmlConfigurator.Configure(new FileInfo(@"Config\Log.config")); configuration = LogsharkConfigReader.LoadConfiguration(); }
public static LogsharkConfiguration GetMockConfiguration() { return(LogsharkConfigReader.LoadConfiguration()); }
public LogsharkCLI(LogsharkCommandLineOptions commandLineOptions, string currentWorkingDirectory) { configuration = LogsharkConfigReader.LoadConfiguration(); this.commandLineOptions = commandLineOptions; this.currentWorkingDirectory = currentWorkingDirectory; }
public LogsharkCLI(string currentWorkingDirectory) { _configuration = LogsharkConfigReader.LoadConfiguration(); _currentWorkingDirectory = currentWorkingDirectory; }