상속: 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>"));
 }