Inheritance: ValueMatchFilter
Example #1
0
        public void ClassNameFilter_ToXml_Regex()
        {
            TestFilter filter = new ClassNameFilter("FULLNAME")
            {
                IsRegex = true
            };

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<class re=\"1\">FULLNAME</class>"));
        }
Example #2
0
        public void ClassNameFilter_ToXml()
        {
            TestFilter filter = new ClassNameFilter("FULLNAME");

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<class>FULLNAME</class>"));
        }
Example #3
0
 public void ClassNameFilter_ToXml_Regex()
 {
     TestFilter filter = new ClassNameFilter("FULLNAME") { IsRegex = true };
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<class re=\"1\">FULLNAME</class>"));
 }
Example #4
0
 public void ClassNameFilter_ToXml()
 {
     TestFilter filter = new ClassNameFilter("FULLNAME");
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<class>FULLNAME</class>"));
 }