예제 #1
0
        public void MethodNameFilter_ToXml_Regex()
        {
            TestFilter filter = new MethodNameFilter("Test")
            {
                IsRegex = true
            };

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<method re=\"1\">Test</method>"));
        }
예제 #2
0
        public void MethodNameFilter_ToXml()
        {
            TestFilter filter = new MethodNameFilter("Test");

            Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<method>Test</method>"));
        }
예제 #3
0
 public void MethodNameFilter_ToXml()
 {
     TestFilter filter = new MethodNameFilter("Test");
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<method>Test</method>"));
 }
예제 #4
0
 public void MethodNameFilter_ToXml_Regex()
 {
     TestFilter filter = new MethodNameFilter("Test") { IsRegex = true };
     Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<method re=\"1\">Test</method>"));
 }