Esempio n. 1
0
 public CommandLineHandler(
     Preprocessing.IManager preprocessingManager,
     IStepsFactory preprocessingStepsFactory)
 {
     this.preprocessingManager      = preprocessingManager;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Esempio n. 2
0
 public static Task OpenWorkspace(this IManager logSourcesPreprocessings,
                                  IStepsFactory preprocessingStepsFactory, string workspaceUrl)
 {
     return(logSourcesPreprocessings.Preprocess(
                new[] { preprocessingStepsFactory.CreateOpenWorkspaceStep(new PreprocessingStepParams(workspaceUrl)) },
                "opening workspace"
                ));
 }
Esempio n. 3
0
 internal GunzippingStep(
     PreprocessingStepParams srcFile,
     Progress.IProgressAggregator progressAggregator,
     IStepsFactory preprocessingStepsFactory)
 {
     this.sourceFile = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.progressAggregator        = progressAggregator;
 }
 public PreprocessingManagerExtension(
     IStepsFactory preprocessingStepsFactory,
     ILogProviderFactory chromeDriverLogsFactory,
     ITextLogParser textLogParser)
 {
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.chromeDriverLogsFactory   = chromeDriverLogsFactory;
     this.textLogParser             = textLogParser;
 }
Esempio n. 5
0
 internal UntarStep(
     PreprocessingStepParams srcFile,
     Progress.IProgressAggregator progressAggregator,
     IStepsFactory preprocessingStepsFactory)
 {
     this.@params = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.progressAggregator        = progressAggregator;
 }
Esempio n. 6
0
 public DragDropHandler(
     ILogSourcesManager logSourcesManager,
     IManager preprocessingManager,
     IStepsFactory preprocessingStepsFactory)
 {
     this.logSourcesManager         = logSourcesManager;
     this.preprocessingManager      = preprocessingManager;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Esempio n. 7
0
 public Presenter(
     IView view,
     IManager preprocessingManager,
     IStepsFactory preprocessingStepsFactory
     )
 {
     this.view = view;
     this.preprocessingManager      = preprocessingManager;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Esempio n. 8
0
 public Model(
     IManager manager,
     IStepsFactory stepsFactory,
     IExtensionsRegistry extentionsRegistry
     )
 {
     this.Manager            = manager;
     this.StepsFactory       = stepsFactory;
     this.ExtensionsRegistry = extentionsRegistry;
 }
Esempio n. 9
0
 internal TextConversionPreprocessingStep(
     IStepsFactory preprocessingStepsFactory,
     ILogProviderFactory harLogsFactory,
     PreprocessingStepParams srcFile
     )
 {
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.sourceFile     = srcFile;
     this.harLogsFactory = harLogsFactory;
 }
Esempio n. 10
0
 public void Setup()
 {
     workspacesManager         = Substitute.For <IWorkspacesManager>();
     appLaunch                 = Substitute.For <ILaunchUrlParser>();
     preprocessingStepsFactory = Substitute.For <IStepsFactory>();
     extensions                = Substitute.For <IExtensionsRegistry>();
     preprocessingStepsFactory.CreateURLTypeDetectionStep(null).ReturnsForAnyArgs(
         callInfo => new URLTypeDetectionStep(
             callInfo.Arg <PreprocessingStepParams>(), preprocessingStepsFactory, workspacesManager, appLaunch, extensions));
     callback = Substitute.For <IPreprocessingStepCallback>();
 }
Esempio n. 11
0
 internal UnpackingStep(
     PreprocessingStepParams srcFile,
     Progress.IProgressAggregator progressAggregator,
     ICredentialsCache credCache,
     IStepsFactory preprocessingStepsFactory)
 {
     this.@params = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.progressAggregator        = progressAggregator;
     this.credCache = credCache;
 }
Esempio n. 12
0
 internal TimeFixerPreprocessingStep(
     IStepsFactory preprocessingStepsFactory,
     ILogProviderFactory chromeDriverLogsFactory,
     PreprocessingStepParams srcFile,
     ITextLogParser textLogParser
     )
 {
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.sourceFile = srcFile;
     this.chromeDriverLogsFactory = chromeDriverLogsFactory;
     this.textLogParser           = textLogParser;
 }
Esempio n. 13
0
 internal TimeAnomalyFixingStep(
     PreprocessingStepParams srcFile,
     Progress.IProgressAggregator progressAggregator,
     ILogProviderFactoryRegistry logProviderFactoryRegistry,
     IStepsFactory preprocessingStepsFactory,
     ITraceSourceFactory traceSourceFactory)
 {
     this.@params = srcFile;
     this.preprocessingStepsFactory  = preprocessingStepsFactory;
     this.progressAggregator         = progressAggregator;
     this.logProviderFactoryRegistry = logProviderFactoryRegistry;
     this.traceSourceFactory         = traceSourceFactory;
 }
Esempio n. 14
0
 internal TimeAnomalyFixingStep(
     PreprocessingStepParams srcFile,
     Progress.IProgressAggregator progressAggregator,
     ILogProviderFactoryRegistry logProviderFactoryRegistry,
     IStepsFactory preprocessingStepsFactory,
     RegularExpressions.IRegexFactory regexFactory)
 {
     this.@params = srcFile;
     this.preprocessingStepsFactory  = preprocessingStepsFactory;
     this.progressAggregator         = progressAggregator;
     this.logProviderFactoryRegistry = logProviderFactoryRegistry;
     this.regexFactory = regexFactory;
 }
Esempio n. 15
0
 internal URLTypeDetectionStep(
     PreprocessingStepParams srcFile,
     IStepsFactory preprocessingStepsFactory,
     Workspaces.IWorkspacesManager workspacesManager,
     AppLaunch.ILaunchUrlParser appLaunch,
     IExtensionsRegistry extensions
     )
 {
     this.sourceFile = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.workspacesManager         = workspacesManager;
     this.appLaunch  = appLaunch;
     this.extensions = extensions;
 }
Esempio n. 16
0
 internal DownloadingStep(
     PreprocessingStepParams srcFile,
     Progress.IProgressAggregator progressAgg,
     Persistence.IWebContentCache cache,
     ICredentialsCache credCache,
     WebViewTools.IWebViewTools webBrowserDownloader,
     ILogsDownloaderConfig config,
     IStepsFactory preprocessingStepsFactory
     )
 {
     this.sourceFile = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.progressAggregator        = progressAgg;
     this.cache                = cache;
     this.credCache            = credCache;
     this.webBrowserDownloader = webBrowserDownloader;
     this.config               = config;
 }
 public PreprocessingManagerExtension(Preprocessing.IStepsFactory preprocessingStepsFactory)
 {
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Esempio n. 18
0
 public BuiltinStepsExtension(IStepsFactory stepsFactory)
 {
     this.stepsFactory = stepsFactory;
 }
 public PreprocessingManagerExtension(IStepsFactory preprocessingStepsFactory, ILogProviderFactory harLogsFactory)
 {
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.harLogsFactory            = harLogsFactory;
 }
Esempio n. 20
0
 internal LocationTypeDetectionStep(PreprocessingStepParams srcFile, IStepsFactory preprocessingStepsFactory)
 {
     this.sourceFile = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Esempio n. 21
0
 internal FormatDetectionStep(PreprocessingStepParams srcFile, IExtensionsRegistry extentions, IStepsFactory preprocessingStepsFactory)
 {
     this.sourceFile = srcFile;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
     this.extentions = extentions;
 }