use of org.apache.jackrabbit.core.NamespaceRegistryImpl in project jackrabbit by apache.
the class PersistenceManagerTest method assertPersistenceManager.
private void assertPersistenceManager(PersistenceManager manager) throws Exception {
manager.init(new PMContext(directory, new MemoryFileSystem(), RepositoryImpl.ROOT_NODE_ID, new NamespaceRegistryImpl(new MemoryFileSystem()), null, null, new RepositoryStatisticsImpl()));
try {
assertCreateNewNode(manager);
assertCreateNewProperty(manager);
assertMissingItemStates(manager);
assertCreateUpdateDelete(manager);
} finally {
manager.close();
}
}
Aggregations