import org.argeo.slc.test.TestResultPart;
import org.argeo.slc.test.TestStatus;
-/** Persists results in JCR */
+/**
+ * Persists results in JCR by listening to {@link TreeTestResult}. This is to
+ * facilitate transition from legacy approaches and should not be used in new
+ * implementations.
+ */
public class JcrResultListener implements TreeTestResultListener, SlcNames {
private final static Log log = LogFactory.getLog(JcrResultListener.class);
uuidToIdentifier.remove(uuid);
session.save();
+
+ if (log.isDebugEnabled())
+ log.debug("Closed test result " + uuid);
} catch (RepositoryException e) {
JcrUtils.discardQuietly(session);
log.error("Cannot close result " + testResult, e);