public File getLogDir() { return opts.getLogDir(); }
public File getLogDir() { return opts.getLogDir(); }
/** * 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 PrintWriter createLog() throws Exception { return LogUtils.createLog(opts.getLogDir(), testPath); }
public PrintWriter createLog() throws Exception { return LogUtils.createLog(opts.getLogDir(), testPath); }
public Document readLog() throws Exception { return LogUtils.readLog(opts.getLogDir(), testPath); }
public Document readLog() throws Exception { return LogUtils.readLog(opts.getLogDir(), testPath); }
throw new RuntimeException(ex); File resultsDir = new File(runOpts.getLogDir(), runOpts.getSessionId()); File testLog = new File(resultsDir, "report_logs.xml");
throw new RuntimeException(ex); File resultsDir = new File(runOpts.getLogDir(), runOpts.getSessionId()); File testLog = new File(resultsDir, "report_logs.xml");
+ " with defaultResult of " + defaultResultName + " ..."); RecordTestResult recordTestResult = new RecordTestResult(); if(opts.getLogDir()!=null){ recordTestResult.recordingStartCheck(suite); recordTestResult.recordingStartClause(suite); out.println(MSG_PASS); if(opts.getLogDir()!=null){ recordTestResult.saveRecordingClause(suite, dirPath); recordTestResult.saveRecordingData(suite, dirPath);
public void reexecute_test(String testPath) throws Exception { Document log = LogUtils.readLog(opts.getLogDir(), testPath); String testId = LogUtils.getTestIdFromLog(log); TestEntry test = index.getTest(testId); if (testPath.equals(opts.getSessionId())) { suiteLog = LogUtils.readLog(opts.getLogDir(), testPath); ArrayList<String> params = opts.getParams(); List<String> profiles = opts.getProfiles();
+ " with defaultResult of " + defaultResultName + " ..."); RecordTestResult recordTestResult = new RecordTestResult(); if(opts.getLogDir()!=null){ recordTestResult.recordingStartCheck(suite); recordTestResult.recordingStartClause(suite); out.println(MSG_PASS); if(opts.getLogDir()!=null){ recordTestResult.saveRecordingClause(suite, dirPath); recordTestResult.saveRecordingData(suite, dirPath);
public void reexecute_test(String testPath) throws Exception { Document log = LogUtils.readLog(opts.getLogDir(), testPath); String testId = LogUtils.getTestIdFromLog(log); TestEntry test = index.getTest(testId); if (testPath.equals(opts.getSessionId())) { suiteLog = LogUtils.readLog(opts.getLogDir(), testPath); ArrayList<String> params = opts.getParams(); List<String> profiles = opts.getProfiles();
Document log = LogUtils.readLog(opts.getLogDir(), sessionId); if (log == null) { execute_suite(suite.getId(), params); log = LogUtils.readLog(opts.getLogDir(), sessionId); String name = profile.getPrefix() + ":" + profile.getLocalName(); out.println("\nTesting profile " + name + "..."); Document baseLog = LogUtils.makeTestList(opts.getLogDir(), sessionId, profile.getExcludes()); Element baseTest = DomUtils.getElement(baseLog);
Document doc = LogUtils.readLog(opts.getLogDir(), testPath + "/" + callId); int result = LogUtils.getResultFromLog(doc);
Document doc = LogUtils.readLog(opts.getLogDir(), testPath + "/" + callId); int result = LogUtils.getResultFromLog(doc);
Document doc = LogUtils.readLog(opts.getLogDir(), testPath + "/" + callId); int result = LogUtils.getResultFromLog(doc);
Document doc = LogUtils.readLog(opts.getLogDir(), testPath + "/" + callId); int result = LogUtils.getResultFromLog(doc);