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>")); }
public void TestNameFilter_ToXml() { TestFilter filter = new TestNameFilter("TestFilterTests+DummyFixture"); Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<name>TestFilterTests+DummyFixture</name>")); }