public virtual void TestWrap() { TreeWalk tw = new TreeWalk(db); TreeFilter a = TreeFilter.ALL; TreeFilter n = NotTreeFilter.Create(a); NUnit.Framework.Assert.IsNotNull(n); NUnit.Framework.Assert.IsTrue(a.Include(tw)); NUnit.Framework.Assert.IsFalse(n.Include(tw)); }
/// <exception cref="NGit.Errors.MissingObjectException"></exception> /// <exception cref="NGit.Errors.IncorrectObjectTypeException"></exception> /// <exception cref="System.IO.IOException"></exception> public override bool Include(TreeWalk walker) { return(!a.Include(walker)); }