Наследование: 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>"));
 }