/** * Returns the location of the directory containing the test run output. * * @return A String representing a file URI denoting the path name of a * directory. */ public String getTestRunDirectory() { String logDirURI = opts.getLogDir().toURI().toString(); return logDirURI + opts.getSessionId(); }
/** * Returns the location of the directory containing the test run output. * * @return A String representing a file URI denoting the path name of a * directory. */ public String getTestRunDirectory() { String logDirURI = opts.getLogDir().toURI().toString(); return logDirURI + opts.getSessionId(); }
public TECore(Engine engine, Index index, RuntimeOptions opts) { this.engine = engine; this.index = index; this.opts = opts; this.recordedForms = new RecordedForms(opts.getRecordedForms()); testPath = opts.getSessionId(); out = System.out; }
public TECore(Engine engine, Index index, RuntimeOptions opts) { this.engine = engine; this.index = index; this.opts = opts; this.recordedForms = new RecordedForms(opts.getRecordedForms()); this.testPath = opts.getSessionId(); this.out = System.out; this.imageHandler = new ImageHandler(opts.testLogDir, opts.sessionId); }
RuntimeOptions runOpts = extractTestRunArguments(testRunArgs); runOpts.setLogDir(new File(System.getProperty("java.io.tmpdir"))); if (null == runOpts.getSessionId()) { runOpts.setSessionId(UUID.randomUUID().toString()); throw new RuntimeException(ex); File resultsDir = new File(runOpts.getLogDir(), runOpts.getSessionId()); File testLog = new File(resultsDir, "report_logs.xml");
RuntimeOptions runOpts = extractTestRunArguments(testRunArgs); runOpts.setLogDir(new File(System.getProperty("java.io.tmpdir"))); if (null == runOpts.getSessionId()) { runOpts.setSessionId(UUID.randomUUID().toString()); throw new RuntimeException(ex); File resultsDir = new File(runOpts.getLogDir(), runOpts.getSessionId()); File testLog = new File(resultsDir, "report_logs.xml");
grandParent.setType("Mandatory"); testStack.push(grandParent); String sessionId = opts.getSessionId(); int mode = opts.getMode(); ArrayList<String> params = opts.getParams(); + File.separator + opts.getSessionId()); File resultsDir = new File(opts.getLogDir(), opts.getSessionId()); if(supportHtmlReport == true){ Map<String, String> testInputMap = new HashMap<String, String>();
File indexFile = null; if (logDir != null && session != null) { File dir = new File(logDir, runOpts.getSessionId()); indexFile = new File(dir, "index.xml"); boolean hasCache = ViewLog.hasCache(); if (!hasCache) { File dir = new File(logDir, runOpts.getSessionId()); throw new Exception("Error: no cache for " + dir.getAbsolutePath());
File indexFile = null; if (logDir != null && session != null) { File dir = new File(logDir, runOpts.getSessionId()); indexFile = new File(dir, "index.xml"); boolean hasCache = ViewLog.hasCache(); if (!hasCache) { File dir = new File(logDir, runOpts.getSessionId()); throw new Exception("Error: no cache for " + dir.getAbsolutePath());
setTestPath(testPath); executeTest(test, paramsNode, context); if (testPath.equals(opts.getSessionId())) {
grandParent.setType("Mandatory"); testStack.push(grandParent); String sessionId = opts.getSessionId(); int mode = opts.getMode(); ArrayList<String> params = opts.getParams(); + File.separator + opts.getSessionId()); File resultsDir = new File(opts.getLogDir(), opts.getSessionId()); if(supportHtmlReport == true){ Map<String, String> testInputMap = new HashMap<String, String>();
setTestPath(testPath); executeTest(test, paramsNode, context); if (testPath.equals(opts.getSessionId())) {
+ profileName + ") not found."); String sessionId = opts.getSessionId(); Document log = LogUtils.readLog(opts.getLogDir(), sessionId); if (log == null) {
+ profileName + ") not found."); String sessionId = opts.getSessionId(); Document log = LogUtils.readLog(opts.getLogDir(), sessionId); if (log == null) {