예제 #1
0
 public void throws_TypeMatcherError_if_empty_and_filter_requested()
 {
     Assert.Throws(typeof(TypeMatcherException), new TestDelegate(() =>
     {
         NamespaceMatcher emptyInstance = new NamespaceMatcher();
         emptyInstance.CreateTypeFilter();
     }
                                                                  ));
 }
예제 #2
0
        public void setUp()
        {
            REQUIRE   = PARENT_PACKAGE;
            REQUIRE_2 = PACKAGE_A;
            ANY_OF    = new string[] { PACKAGE_A, PACKAGE_B };
            ANY_OF_2  = new string[] { PACKAGE_B, PACKAGE_C };
            NONE_OF   = new string[] { PACKAGE_C };
            NONE_OF_2 = new string[] { PACKAGE_B };

            instance = new NamespaceMatcher();
        }
예제 #3
0
 public void tearDown()
 {
     instance = null;
 }