/** * Test method for {@link org.melati.poem.dbms.Dbms# caseInsensitiveRegExpSQL(java.lang.String, * java.lang.String)}. */ public void testCaseInsensitiveRegExpSQLBlank() { String expected = " ILIKE '%%'"; String actual = it.caseInsensitiveRegExpSQL("", ""); assertEquals(expected, actual); }
/** * Test method for {@link org.melati.poem.dbms.Dbms# caseInsensitiveRegExpSQL(java.lang.String, * java.lang.String)}. */ public void testCaseInsensitiveRegExpSQLQuoted() { String expected = "a ILIKE '%b%'"; String actual = it.caseInsensitiveRegExpSQL("a", "\"b\""); assertEquals(expected, actual); }