public virtual void TestShouldBeRecursive_ALL() { TreeFilter a = TreeFilter.ALL; TreeFilter n = NotTreeFilter.Create(a); NUnit.Framework.Assert.AreEqual(a.ShouldBeRecursive(), n.ShouldBeRecursive()); }
public virtual void TestShouldBeRecursive_PathFilter() { TreeFilter a = PathFilter.Create("a/b"); NUnit.Framework.Assert.IsTrue(a.ShouldBeRecursive()); TreeFilter n = NotTreeFilter.Create(a); NUnit.Framework.Assert.IsTrue(n.ShouldBeRecursive()); }
public override bool ShouldBeRecursive() { return(a.ShouldBeRecursive()); }
internal RewriteTreeFilter(RevWalk walker, TreeFilter t) { repository = walker.repository; pathFilter = new TreeWalk(walker.reader); pathFilter.Filter = t; pathFilter.Recursive = t.ShouldBeRecursive(); }