Inheritance: ValueMatchFilter
Esempio n. 1
0
        public void PropertyFilter_ToXml_Regex()
        {
            TestFilter filter = new PropertyFilter("Priority", "High")
            {
                IsRegex = true
            };

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<prop re=\"1\" name=\"Priority\">High</prop>"));
        }
Esempio n. 2
0
        public void PropertyFilter_ToXml()
        {
            TestFilter filter = new PropertyFilter("Priority", "High");

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<prop name=\"Priority\">High</prop>"));
        }
Esempio n. 3
0
 public void PropertyFilter_ToXml_Regex()
 {
     TestFilter filter = new PropertyFilter("Priority", "High") { IsRegex = true };
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<prop re=\"1\" name=\"Priority\">High</prop>"));
 }
Esempio n. 4
0
 public void PropertyFilter_ToXml()
 {
     TestFilter filter = new PropertyFilter("Priority", "High");
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<prop name=\"Priority\">High</prop>"));
 }