220221222223224225226227228229230
TestResultsReportManager reportManager = TestResultsReportManager.getInstance(); reportManager.putEntry(tr); isRestartingSUT = true; boolean returnValue = stopSUT(tr) && startSUT(tr); isRestartingSUT = false; tr.stop(); reportManager.refresh(); // reportManager.stopReport(); return returnValue; } else { return false;
260261262263264265266267268269270
tr.start(); TestResultsReportManager reportManager = TestResultsReportManager.getInstance(); reportManager.putEntry(tr); stopSUT(null); boolean success = startSUT(tr); tr.stop(); reportManager.refresh(); if (!success) { return false; } }
287288289290291292293294295296297
TestResult tr = new TestResultImpl("Stop SUT", null, null, 1, 1); tr.setTestScriptVersion("-"); tr.start(); reportManager.putEntry(tr); stopSUT(tr); tr.stop(); reportManager.refresh(); } } public static void shutdown() {
328329330331332333334335336337338
TestEngine.stopSUT(null); TestEngine.startSUT(tr); } else { TestEngine.stopSUT(tr); } tr.stop(); reportManager.refresh(); //reportManager.putEntry(tr); SwingUtilities.invokeLater(new Runnable() {