예제 #1
0
        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));
        }
예제 #2
0
 /// <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));
 }