Search in sources :

Example 1 with NamespaceRegistryImpl

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();
    }
}
Also used : MemoryFileSystem(org.apache.jackrabbit.core.fs.mem.MemoryFileSystem) RepositoryStatisticsImpl(org.apache.jackrabbit.stats.RepositoryStatisticsImpl) NamespaceRegistryImpl(org.apache.jackrabbit.core.NamespaceRegistryImpl)

Aggregations

NamespaceRegistryImpl (org.apache.jackrabbit.core.NamespaceRegistryImpl)1 MemoryFileSystem (org.apache.jackrabbit.core.fs.mem.MemoryFileSystem)1 RepositoryStatisticsImpl (org.apache.jackrabbit.stats.RepositoryStatisticsImpl)1