Lines Matching refs:assure

63             assure("upper " + ex.getMessage(), false);  in testFunctions()
72 assure("lower " + ex.getMessage(), false); in testFunctions()
81 assure("ascii " + ex.getMessage(), false); in testFunctions()
90 assure("char_len " + ex.getMessage(), false); in testFunctions()
99 assure("concat " + ex.getMessage(), false); in testFunctions()
108 assure("locate " + ex.getMessage(), false); in testFunctions()
117 assure("substr " + ex.getMessage(), false); in testFunctions()
126 assure("ltrim " + ex.getMessage(), false); in testFunctions()
135 assure("rtrim " + ex.getMessage(), false); in testFunctions()
144 assure("space " + ex.getMessage(), false); in testFunctions()
153 assure("replace " + ex.getMessage(), false); in testFunctions()
162 assure("repeat " + ex.getMessage(), false); in testFunctions()
171 assure("insert " + ex.getMessage(), false); in testFunctions()
180 assure("left " + ex.getMessage(), false); in testFunctions()
189 assure("right " + ex.getMessage(), false); in testFunctions()
200 assure("No valid row! ", xRes.next()); in execute()
208 assure("DAYOFWEEK('1998-02-03') failed!", row.getInt(1) == 3); in dayofweek()
214 assure("DAYOFMONTH('1998-02-03') failed!", row.getInt(1) == 3); in dayofmonth()
220 assure("DAYOFYEAR('1998-02-03') failed!", row.getInt(1) == 34); in dayofyear()
226 assure("month('1998-02-03') failed!", row.getInt(1) == 2); in month()
232 assure("DAYNAME('1998-02-05') failed!", row.getString(1).equals("Thursday")); in dayname()
238 assure("MONTHNAME('1998-02-05') failed!", row.getString(1).equals("February")); in monthname()
244 assure("QUARTER('98-01-01') failed!", row.getInt(1) == 1); in quarter()
245 assure("QUARTER('98-04-01') failed!", row.getInt(2) == 2); in quarter()
246 assure("QUARTER('98-07-01') failed!", row.getInt(3) == 3); in quarter()
247 assure("QUARTER('98-10-01') failed!", row.getInt(4) == 4); in quarter()
253 assure("WEEK('1998-02-20') failed!", row.getInt(1) == 7); in week()
259 assure("YEAR('98-02-03') failed!", row.getInt(1) == 98); in year()
265 assure("HOUR('10:05:03') failed!", row.getInt(1) == 10); in hour()
271 assure("MINUTE('98-02-03 10:05:03') failed!", row.getInt(1) == 5); in minute()
277 assure("SECOND('10:05:03') failed!", row.getInt(1) == 3); in second()