Lines Matching refs:assure

61             assure("upper " + ex.getMessage(), false);  in testFunctions()
70 assure("lower " + ex.getMessage(), false); in testFunctions()
79 assure("ascii " + ex.getMessage(), false); in testFunctions()
88 assure("char_len " + ex.getMessage(), false); in testFunctions()
97 assure("concat " + ex.getMessage(), false); in testFunctions()
106 assure("char " + ex.getMessage(), false); in testFunctions()
115 assure("locate " + ex.getMessage(), false); in testFunctions()
124 assure("substr " + ex.getMessage(), false); in testFunctions()
133 assure("ltrim " + ex.getMessage(), false); in testFunctions()
142 assure("rtrim " + ex.getMessage(), false); in testFunctions()
151 assure("space " + ex.getMessage(), false); in testFunctions()
160 assure("replace " + ex.getMessage(), false); in testFunctions()
169 assure("repeat " + ex.getMessage(), false); in testFunctions()
178 assure("insert " + ex.getMessage(), false); in testFunctions()
187 assure("left " + ex.getMessage(), false); in testFunctions()
196 assure("right " + ex.getMessage(), false); in testFunctions()
207 assure("No valid row! ", xRes.next()); in execute()
215 assure("upper('test') failed!", row.getString(1).equals("TEST")); in upper()
216 assure("ucase('test') failed!", row.getString(2).equals("TEST")); in upper()
222 assure("lower('TEST') failed!", row.getString(1).equals("test")); in lower()
223 assure("lcase('TEST') failed!", row.getString(2).equals("test")); in lower()
233 assure("acsii('2') failed!", row.getInt(1) == 50); in acsii()
239 assure("char_length('test') failed!", row.getInt(1) == 4); in char_length()
240 assure("character_length('test') failed!", row.getInt(2) == 4); in char_length()
241 assure("OCTET_LENGTH('test') failed!", row.getInt(3) == 4); in char_length()
247 assure("CONCAT('Hello',' ',,'World') failed!", row.getString(1).equals("Hello World")); in concat()
253 assure("LOCATE('bar', 'foobarbar') failed!", row.getInt(1) == 4); in locate()
259 assure("SUBSTRING('Quadratically',5) failed!", row.getString(1).equals("ratically")); in substring()
265 assure("LTRIM(' barbar') failed!", row.getString(1).equals("barbar")); in ltrim()
271 assure("RTRIM('barbar ') failed!", row.getString(1).equals("barbar")); in rtrim()
277 assure("space(6) failed!", row.getString(1).equals(" ")); in space()
283assure("REPLACE('www.OOo.com', 'w', 'Ww') failed!", row.getString(1).equals("WwWwWw.OOo.com")); in replace()
289 assure("REPEAT('OOo', 3) failed!", row.getString(1).equals("OOoOOoOOo")); in repeat()
295 assure("INSERT('Quadratic', 3, 4, 'What') failed!", row.getString(1).equals("QuWhattic")); in insert()
301 assure("LEFT('foobarbar', 5) failed!", row.getString(1).equals("fooba")); in left()
307 assure("RIGHT('foobarbar', 4) failed!", row.getString(1).equals("rbar")); in right()
313assure("CHAR(ascii('t'),ascii('e'),ascii('s'),ascii('t')) failed!", row.getString(1).equals("test"… in chartest()