jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1471355 [2/2] - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/core/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/p2/strategy/ o...
Date Wed, 24 Apr 2013 10:37:52 GMT
Modified: jackrabbit/oak/trunk/oak-solr-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrCommitHookTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrCommitHookTest.java?rev=1471355&r1=1471354&r2=1471355&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrCommitHookTest.java
(original)
+++ jackrabbit/oak/trunk/oak-solr-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrCommitHookTest.java
Wed Apr 24 10:37:51 2013
@@ -19,7 +19,6 @@ package org.apache.jackrabbit.oak.plugin
 import org.apache.jackrabbit.mk.api.MicroKernel;
 import org.apache.jackrabbit.mk.core.MicroKernelImpl;
 import org.apache.jackrabbit.oak.kernel.KernelNodeStore;
-import org.apache.jackrabbit.oak.plugins.index.solr.index.SolrCommitHook;
 import org.apache.jackrabbit.oak.plugins.index.solr.SolrBaseTest;
 import org.apache.jackrabbit.oak.spi.state.NodeState;
 import org.junit.Before;
@@ -63,7 +62,7 @@ public class SolrCommitHookTest extends 
     public void testRemoveNode() throws Exception {
         SolrCommitHook solrCommitHook = new SolrCommitHook(server);
         NodeState before = store.getRoot().builder().child("somechild").getNodeState();
-        NodeState after = before.builder().removeNode("somechild").getNodeState();
+        NodeState after = before.builder().removeChildNode("somechild").getNodeState();
         NodeState changedState = solrCommitHook.processCommit(before, after);
         assertEquals(after, changedState);
     }



Mime
View raw message