public void RunDebugging() { var svge = new SvgExport(); foreach (var zip in FindZips(_dirIn)) { _logger.Info(@"Opening {0} ...", zip); var intervals = InitTransformer().TransformFile(zip).ToList(); _logger.Info(@"Found {0} intervals.", intervals.Count); var userId = zip.Substring(_dirIn.Length, zip.Length - _dirIn.Length - 4); // strip baseDir and extension var svgFile = _dirSvg + userId + ".svg"; var relEventsFile = userId + ".txt"; var wdFilesFolder = _dirWd + userId; _logger.Info(@"Dumping Event Stream ... ({0})", relEventsFile); WriteEventStream(zip, relEventsFile); _logger.Info(@"Converting to WD format ... ({0})", wdFilesFolder); WatchdogExporter.Convert(intervals).WriteToFiles(wdFilesFolder); _logger.Info(@"Now exporting .svg files for debugging ..."); svge.Run(Lists.NewListFrom(intervals), svgFile); } }
private void Render() { _sut.Run(_input, FileOut); }