]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.jcr/src/test/java/org/argeo/slc/jcr/dao/SlcExecutionDaoJcrTest.java
First slc execution JCR mapping
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / test / java / org / argeo / slc / jcr / dao / SlcExecutionDaoJcrTest.java
index fe07d2cfc16c6988b1350f8d12371d899509fb98..cd38e3b77f2eae78f8c4172539447cc837000760 100644 (file)
@@ -2,6 +2,9 @@ package org.argeo.slc.jcr.dao;
 
 import java.net.InetAddress;
 
+import javax.jcr.Session;
+
+import org.argeo.jcr.JcrUtils;
 import org.argeo.slc.dao.process.SlcExecutionDao;
 import org.argeo.slc.process.SlcExecution;
 import org.argeo.slc.unit.AbstractSpringTestCase;
@@ -10,6 +13,7 @@ import org.argeo.slc.unit.process.SlcExecutionTestUtils;
 public class SlcExecutionDaoJcrTest extends AbstractSpringTestCase {
        public void testCreate() throws Exception {
                SlcExecutionDao slcExecutionDao = getBean(SlcExecutionDao.class);
+               Session session = getBean(Session.class);
 
                // SlcExecution slcExecution = SlcExecutionTestUtils
                // .createSimpleSlcExecution();
@@ -19,6 +23,8 @@ public class SlcExecutionDaoJcrTest extends AbstractSpringTestCase {
                String uuid = slcExecution.getUuid();
                slcExecutionDao.create(slcExecution);
 
+               JcrUtils.debug(session.getRootNode());
+
                SlcExecution slcExecutionPersist = slcExecutionDao
                                .getSlcExecution(uuid);
                SlcExecutionTestUtils.assertSlcExecution(slcExecution,