예제 #1
0
 public void TestElementLocatorQuote()
 {
     Assert.AreEqual("a", ElementLocator.QuoteIfSpecial("a"));
     Assert.AreEqual("\"/\"", ElementLocator.QuoteIfSpecial("/"));
     Assert.AreEqual("\"?\"", ElementLocator.QuoteIfSpecial("?"));
     Assert.AreEqual("\"&\"", ElementLocator.QuoteIfSpecial("&"));
     Assert.AreEqual("\"=\"", ElementLocator.QuoteIfSpecial("="));
     Assert.AreEqual("\"\"\"\"", ElementLocator.QuoteIfSpecial("\""));
 }