public RunOrchestrator( IAppBundleInformationParser appBundleInformationParser, IAppInstaller appInstaller, IAppUninstaller appUninstaller, IAppRunnerFactory appRunnerFactory, IDeviceFinder deviceFinder, IiOSExitCodeDetector iOSExitCodeDetector, IMacCatalystExitCodeDetector macCatalystExitCodeDetector, ILogger consoleLogger, ILogs logs, IFileBackedLog mainLog, IErrorKnowledgeBase errorKnowledgeBase, IDiagnosticsData diagnosticsData, IHelpers helpers) : base(appBundleInformationParser, appInstaller, appUninstaller, deviceFinder, consoleLogger, logs, mainLog, errorKnowledgeBase, diagnosticsData, helpers) { _iOSExitCodeDetector = iOSExitCodeDetector ?? throw new ArgumentNullException(nameof(iOSExitCodeDetector)); _macCatalystExitCodeDetector = macCatalystExitCodeDetector ?? throw new ArgumentNullException(nameof(macCatalystExitCodeDetector)); _logger = consoleLogger ?? throw new ArgumentNullException(nameof(consoleLogger)); _logs = logs ?? throw new ArgumentNullException(nameof(logs)); _errorKnowledgeBase = errorKnowledgeBase ?? throw new ArgumentNullException(nameof(errorKnowledgeBase)); // Only add the extra callback if we do know that the feature was indeed enabled Action <string>?logCallback = IsLldbEnabled() ? (l) => NotifyUserLldbCommand(_logger, l) : null; _appRunner = appRunnerFactory.Create(mainLog, logs, logCallback); }
public InstallOrchestrator( IAppInstaller appInstaller, IAppUninstaller appUninstaller, IAppBundleInformationParser appBundleInformationParser, IDeviceFinder deviceFinder, ILogger consoleLogger, ILogs logs, IFileBackedLog mainLog, IErrorKnowledgeBase errorKnowledgeBase, IDiagnosticsData diagnosticsData, IHelpers helpers) : base(appBundleInformationParser, appInstaller, appUninstaller, deviceFinder, consoleLogger, logs, mainLog, errorKnowledgeBase, diagnosticsData, helpers) { }
public JustRunOrchestrator( IAppBundleInformationParser appBundleInformationParser, IAppInstaller appInstaller, IAppUninstaller appUninstaller, IAppRunnerFactory appRunnerFactory, IDeviceFinder deviceFinder, IiOSExitCodeDetector iOSExitCodeDetector, IMacCatalystExitCodeDetector macCatalystExitCodeDetector, ILogger consoleLogger, ILogs logs, IFileBackedLog mainLog, IErrorKnowledgeBase errorKnowledgeBase, IDiagnosticsData diagnosticsData, IHelpers helpers) : base(appBundleInformationParser, appInstaller, appUninstaller, appRunnerFactory, deviceFinder, iOSExitCodeDetector, macCatalystExitCodeDetector, consoleLogger, logs, mainLog, errorKnowledgeBase, diagnosticsData, helpers) { }
public TestOrchestrator( IAppBundleInformationParser appBundleInformationParser, IAppInstaller appInstaller, IAppUninstaller appUninstaller, IAppTesterFactory appTesterFactory, IDeviceFinder deviceFinder, ILogger consoleLogger, ILogs logs, IFileBackedLog mainLog, IErrorKnowledgeBase errorKnowledgeBase, IDiagnosticsData diagnosticsData, IHelpers helpers) : base(appBundleInformationParser, appInstaller, appUninstaller, deviceFinder, consoleLogger, logs, mainLog, errorKnowledgeBase, diagnosticsData, helpers) { _appTesterFactory = appTesterFactory ?? throw new ArgumentNullException(nameof(appTesterFactory)); _logger = consoleLogger ?? throw new ArgumentNullException(nameof(consoleLogger)); _logs = logs ?? throw new ArgumentNullException(nameof(logs)); _mainLog = mainLog ?? throw new ArgumentNullException(nameof(mainLog)); _errorKnowledgeBase = errorKnowledgeBase ?? throw new ArgumentNullException(nameof(errorKnowledgeBase)); }
protected BaseOrchestrator( IAppBundleInformationParser appBundleInformationParser, IAppInstaller appInstaller, IAppUninstaller appUninstaller, IDeviceFinder deviceFinder, ILogger consoleLogger, ILogs logs, IFileBackedLog mainLog, IErrorKnowledgeBase errorKnowledgeBase, IDiagnosticsData diagnosticsData, IHelpers helpers) { _appBundleInformationParser = appBundleInformationParser ?? throw new ArgumentNullException(nameof(appBundleInformationParser)); _appInstaller = appInstaller ?? throw new ArgumentNullException(nameof(appInstaller)); _appUninstaller = appUninstaller ?? throw new ArgumentNullException(nameof(appUninstaller)); _deviceFinder = deviceFinder ?? throw new ArgumentNullException(nameof(deviceFinder)); _logger = consoleLogger ?? throw new ArgumentNullException(nameof(consoleLogger)); _logs = logs ?? throw new ArgumentNullException(nameof(logs)); _mainLog = mainLog ?? throw new ArgumentNullException(nameof(mainLog)); _errorKnowledgeBase = errorKnowledgeBase ?? throw new ArgumentNullException(nameof(errorKnowledgeBase)); _diagnosticsData = diagnosticsData ?? throw new ArgumentNullException(nameof(diagnosticsData)); _helpers = helpers ?? throw new ArgumentNullException(nameof(helpers)); }