Beispiel #1
0
        public void testNegateIsUnwrap()
        {
            TreeFilter a = PathFilter.create("a/b");
            TreeFilter n = NotTreeFilter.create(a);

            Assert.AreSame(a, n.negate());
        }
Beispiel #2
0
        public void testShouldBeRecursive_PathFilter()
        {
            TreeFilter a = PathFilter.create("a/b");

            Assert.IsTrue(a.shouldBeRecursive());
            TreeFilter n = NotTreeFilter.create(a);

            Assert.IsTrue(n.shouldBeRecursive());
        }