use of org.apache.jackrabbit.oak.plugins.observation.ChangeSetBuilder in project jackrabbit-oak by apache.
the class ChangeSetFilterImplTest method testIncludeOnParentPathsOverflow.
@Test
public void testIncludeOnParentPathsOverflow() throws Exception {
ChangeSetBuilder builder = sampleBuilder();
ChangeSetFilterImpl prefilter = new ChangeSetFilterImpl(s("/"), true, null, s("/excluded"), s("foo", "bars"), s("nt:file"), s());
assertTrue(prefilter.excludes(builder.build()));
overflowParentPaths(builder);
assertFalse(prefilter.excludes(builder.build()));
}
Aggregations