public void webInspectResults() { var results = new WebInspectResults(); results.loadWebInspectScanFiles(webInspectFileWithResults); Assert.IsTrue(results.processedWebInspectScanFiles.Count > 0, "No Files Processed"); Assert.IsTrue(results.webInspectFindings.Count > 0, "No Findings in loaded files"); }
private void processWebInspectFileAndShowResults(string fileToLoad) { var webInspectResults = new WebInspectResults(); webInspectResults.loadWebInspectScanFiles(fileToLoad); WebInspectWindowsFormsUtils.showWebInspectResultsInO2DockWindow(webInspectResults); WebInspectWindowsFormsUtils.showFindingsCreatedFromWebInspectResults(webInspectResults); }
public void webInspectToOzasmt() { var webInspectResults = new WebInspectResults(); webInspectResults.loadWebInspectScanFiles(webInspectFileWithResults); Assert.IsTrue(webInspectResults.processedWebInspectScanFiles.Count > 0, "No Files Processed"); Assert.IsTrue(webInspectResults.webInspectFindings.Count > 0, "No WebInspectFindings in webInspectResults"); List<IO2Finding> o2Findings = WebInspectToOzasmt.createO2FindingsFromWebInspectResults(webInspectResults); Assert.IsTrue(o2Findings.Count > 0, "There were no findings created from webInspectResults"); }