public HtmlTestStepRunFormatter() { var runtime = RuntimeAccessor.Instance; var resourcesPath = runtime.ResourceLocator.ResolveResourcePath(new Uri("plugin://Gallio.Reports/Resources/")); resourcesUrl = new Uri(resourcesPath); cssUrl = new Uri(resourcesUrl, "css"); imgUrl = new Uri(resourcesUrl, "img"); jsDir = Path.Combine(resourcesPath, "js"); cache = new TemporaryDiskCache("Gallio.UI"); cacheGroup = cache.Groups[Guid.NewGuid().ToString()]; reportFilePool = new ReportFilePool(cacheGroup, 5); attachmentPaths = new HashSet<string>(); }
public HtmlTestStepRunFormatter() { var runtime = RuntimeAccessor.Instance; var resourcesPath = runtime.ResourceLocator.ResolveResourcePath(new Uri("plugin://Gallio.Reports/Resources/")); resourcesUrl = new Uri(resourcesPath); cssUrl = new Uri(resourcesUrl, "css"); imgUrl = new Uri(resourcesUrl, "img"); jsDir = Path.Combine(resourcesPath, "js"); cache = new TemporaryDiskCache("Gallio.UI"); cacheGroup = cache.Groups[Guid.NewGuid().ToString()]; reportFilePool = new ReportFilePool(cacheGroup, 5); attachmentPaths = new HashSet <string>(); }