use of org.sirix.index.path.summary.PathSummaryReader in project sirix by sirixdb.
the class PathSummaryTest method testInsert.
/**
* Test insert on test document.
*
* @throws SirixException if Sirix fails
*/
@Test
public void testInsert() throws SirixException {
PathSummaryReader pathSummary = wtx.getPathSummary();
pathSummary.moveToDocumentRoot();
testInsertHelper(pathSummary);
wtx.commit();
wtx.close();
pathSummary = holder.getResourceManager().openPathSummary();
testInsertHelper(pathSummary);
pathSummary.close();
}
Aggregations