Example #1
0
        public void throws_TypeMatcherError_if_conditions_empty_and_filter_requested()
        {
            NamespaceMatcher emptyInstance = new NamespaceMatcher();

            emptyInstance.AnyOf(new string[0]).NoneOf(new string[0]);
            emptyInstance.CreateTypeFilter();
        }
		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();
		}
Example #3
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();
        }
		public void tearDown()
		{
			instance = null;
		}
		public void throws_TypeMatcherError_if_empty_and_filter_requested()
		{
			NamespaceMatcher emptyInstance = new NamespaceMatcher();
			emptyInstance.CreateTypeFilter();
		}
		public void throws_TypeMatcherError_if_conditions_empty_and_filter_requested()
		{
			NamespaceMatcher emptyInstance = new NamespaceMatcher();
			emptyInstance.AnyOf(new string[0]).NoneOf(new string[0]);
			emptyInstance.CreateTypeFilter();
		}
Example #7
0
 public void tearDown()
 {
     instance = null;
 }
Example #8
0
        public void throws_TypeMatcherError_if_empty_and_filter_requested()
        {
            NamespaceMatcher emptyInstance = new NamespaceMatcher();

            emptyInstance.CreateTypeFilter();
        }