public void testShouldBeRecursive_ALL() { TreeFilter a = TreeFilter.ALL; TreeFilter n = NotTreeFilter.create(a); Assert.AreEqual(a.shouldBeRecursive(), n.shouldBeRecursive()); }
public void testShouldBeRecursive_PathFilter() { TreeFilter a = PathFilter.create("a/b"); Assert.IsTrue(a.shouldBeRecursive()); TreeFilter n = NotTreeFilter.create(a); Assert.IsTrue(n.shouldBeRecursive()); }
public RewriteTreeFilter(RevWalk walker, TreeFilter t) { _pathFilter = new TreeWalk.TreeWalk(walker.Repository); _pathFilter.setFilter(t); _pathFilter.Recursive = t.shouldBeRecursive(); }
public override bool shouldBeRecursive() { return(a.shouldBeRecursive()); }