Inheritance: ValueMatchFilter
示例#1
0
        public void TestNameFilter_ToXml_Regex()
        {
            TestFilter filter = new TestNameFilter("TestFilterTests+DummyFixture")
            {
                IsRegex = true
            };

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<name re=\"1\">TestFilterTests+DummyFixture</name>"));
        }
示例#2
0
        public void TestNameFilter_ToXml()
        {
            TestFilter filter = new TestNameFilter("TestFilterTests+DummyFixture");

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<name>TestFilterTests+DummyFixture</name>"));
        }
示例#3
0
 public void TestNameFilter_ToXml_Regex()
 {
     TestFilter filter = new TestNameFilter("TestFilterTests+DummyFixture") { IsRegex = true };
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<name re=\"1\">TestFilterTests+DummyFixture</name>"));
 }
示例#4
0
 public void TestNameFilter_ToXml()
 {
     TestFilter filter = new TestNameFilter("TestFilterTests+DummyFixture");
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<name>TestFilterTests+DummyFixture</name>"));
 }