Vendor vendor = Vendor.SQL92;
assertEquals("'a'", vendor.quoteStringLiteral("a"));
assertEquals("''''", vendor.quoteStringLiteral("'"));
assertEquals("'\\'", vendor.quoteStringLiteral("\\"));
assertEquals("'Joe''s'", vendor.quoteStringLiteral("Joe's"));
assertEquals("'\\''\\''\\'", vendor.quoteStringLiteral("\\'\\'\\"));
assertEquals("'\"'", vendor.quoteStringLiteral("\""));
assertEquals("'`'", vendor.quoteStringLiteral("`"));
}
public void testQuoteIdentifierEscape() {