상속: ValueMatchFilter
예제 #1
0
        public void FullNameFilter_ToXml_Regex()
        {
            TestFilter filter = new FullNameFilter("FULLNAME")
            {
                IsRegex = true
            };

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<test re=\"1\">FULLNAME</test>"));
        }
예제 #2
0
        public void FullNameFilter_ToXml()
        {
            TestFilter filter = new FullNameFilter("FULLNAME");

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<test>FULLNAME</test>"));
        }
예제 #3
0
 public void FullNameFilter_ToXml_Regex()
 {
     TestFilter filter = new FullNameFilter("FULLNAME") { IsRegex = true };
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<test re=\"1\">FULLNAME</test>"));
 }
예제 #4
0
 public void FullNameFilter_ToXml()
 {
     TestFilter filter = new FullNameFilter("FULLNAME");
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<test>FULLNAME</test>"));
 }