public static void XPathExists(string anXPathExpression, XmlInput inXml) { XPath xpath = new XPath(anXPathExpression); NUnit.Framework.Assert.AreEqual(true, xpath.XPathExists(inXml)); }
public static void AssertXPathExists(string anXPathExpression, XmlInput inXml) { XPath xpath = new XPath(anXPathExpression); AssertEquals(true, xpath.XPathExists(inXml)); }
public void XpathExistsTrueForXpathThatExists() { XPath xpath = new XPath(EXISTENT_XPATH); Assertion.AssertEquals(true, xpath.XPathExists(SIMPLE_XML)); }
public void XpathExistsFalseForUnmatchedExpression() { XPath xpath = new XPath(NONEXISTENT_XPATH); Assertion.AssertEquals(false, xpath.XPathExists(SIMPLE_XML)); }
[Test] public void XpathExistsTrueForXpathThatExists() { XPath xpath = new XPath(EXISTENT_XPATH); Assert.AreEqual(true, xpath.XPathExists(SIMPLE_XML)); }
public static void XPathExists(String expression, XmlInput xmlInput, String message = "", Object[] args = null) { XPath xpath = new XPath(expression); NUnit.Framework.Assert.AreEqual(true, xpath.XPathExists(xmlInput), message, args); }
public static void AssertXPathExists(string anXPathExpression, XmlInput inXml) { XPath xpath = new XPath(anXPathExpression); NUnit.Framework.Assert.AreEqual(true, xpath.XPathExists(inXml)); }