import java.util.UUID;
import java.util.Vector;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.argeo.slc.SlcException;
-import org.argeo.slc.test.TestResult;
-import org.argeo.slc.test.TestResultPart;
-import org.argeo.slc.test.TestRun;
+import org.argeo.api.slc.SlcException;
+import org.argeo.api.slc.test.TestResult;
+import org.argeo.api.slc.test.TestResultPart;
+import org.argeo.api.slc.test.TestRun;
/**
* Basic implementation of a test result containing only a list of result parts.
*/
public class SimpleTestResult implements TestResult {
- private static Log log = LogFactory.getLog(SimpleTestResult.class);
-
private String uuid;
private String currentTestRunUuid;
public void addResultPart(TestResultPart part) {
if (throwError && part.getStatus() == ERROR) {
- throw new SlcException(
- "There was an error in the underlying test: "
- + part.getExceptionMessage());
+ throw new SlcException("There was an error in the underlying test: " + part.getExceptionMessage());
}
parts.add(part);
- if (log.isDebugEnabled())
- log.debug(part);
+// if (log.isDebugEnabled())
+// log.debug(part);
}
public void close() {