protected void tearDown() throws Exception { if (sessionInfo != null) { helper.getRepositoryService().dispose(sessionInfo); } super.tearDown(); }
@Override protected void tearDown() throws Exception { try { removeTestNode(testPath); } finally { rs.dispose(si); super.tearDown(); } }
@Override protected void tearDown() throws Exception { try { Batch b = rs.createBatch(si, getNodeId("/")); b.remove(getNodeId(testPath)); rs.submit(b); } finally { rs.dispose(si); super.tearDown(); } }
@Override protected void tearDown() throws Exception { try { Batch b = rs.createBatch(si, getNodeId("/")); b.remove(getNodeId(testPath)); rs.submit(b); } finally { rs.dispose(si); super.tearDown(); } }
@Override protected void tearDown() throws Exception { try { Batch b = rs.createBatch(si, getNodeId("/")); b.remove(getNodeId(testPath)); rs.submit(b); } finally { rs.dispose(si); super.tearDown(); } }
@Override protected void tearDown() throws Exception { try { Batch b = rs.createBatch(si, getNodeId("/")); b.remove(getNodeId(testPath)); rs.submit(b); } finally { rs.dispose(si); super.tearDown(); } }
@Override protected void tearDown() throws Exception { try { if (si != null) { Batch b = rs.createBatch(si, getNodeId("/")); b.remove(getNodeId(testPath)); rs.submit(b); } if (sInfo != null && clonedId != null) { Batch b = rs.createBatch(sInfo, getNodeId("/")); b.remove(clonedId); rs.submit(b); } } catch (RepositoryException e) { // cleanup failed... ignore. } finally { if (sInfo != null) { rs.dispose(sInfo); } if (si != null) { rs.dispose(si); } super.tearDown(); } }
@Override protected void tearDown() throws Exception { try { if (si != null) { Batch b = rs.createBatch(si, getNodeId("/")); b.remove(getNodeId(testPath)); rs.submit(b); } if (sInfo != null && copiedId != null) { Batch b = rs.createBatch(sInfo, getNodeId("/")); b.remove(copiedId); rs.submit(b); } } catch (RepositoryException e) { // cleanup failed... ignore. } finally { if (sInfo != null) { rs.dispose(sInfo); } if (si != null) { rs.dispose(si); } super.tearDown(); } }