Go to the source code of this file.
Classes | |
class | SqlDateTest |
Enumerations | |
enum | SqlStrToDateConvAction { StrToDate, StrToTime, StrToTimestamp } |
Functions | |
FENNEL_UNIT_TEST_SUITE (SqlDateTest) | |
Variables | |
static const int | MAXLEN = 8 |
static const int | MAXRANDOM = 5 |
static const int | MAXCMPLEN = 8 |
static int64_t const | ticks_per_day |
static int64_t const | ticks_per_year = ticks_per_day * 365LL |
static int64_t const | ticks_per_month = ticks_per_day * 31LL |
static int64_t const | ticks_per_hour = ticks_per_day / 24 |
static int64_t const | ticks_per_minute = ticks_per_hour / 60 |
static int64_t const | ticks_per_sec = ticks_per_minute / 60 |
Definition at line 57 of file SqlDateTest.cpp.
00057 { 00058 StrToDate, 00059 StrToTime, 00060 StrToTimestamp 00061 };
FENNEL_UNIT_TEST_SUITE | ( | SqlDateTest | ) |
const int MAXCMPLEN = 8 [static] |
Definition at line 46 of file SqlDateTest.cpp.
Referenced by SqlStringTest::testSqlStringAsciiCmpFEqLen(), SqlStringTest::testSqlStringAsciiCmpVEqLen(), SqlStringAsciiTest::testSqlStringCmp_Ascii_Fix_EqLen(), SqlStringAsciiTest::testSqlStringCmp_Ascii_Var_EqLen(), and SqlStringTest::testSqlStringCmp_Bin().
const int MAXLEN = 8 [static] |
Definition at line 44 of file SqlDateTest.cpp.
Referenced by SqlStringTest::testSqlStringAlterCase(), SqlStringTest::testSqlStringAsciiCatF(), SqlStringTest::testSqlStringAsciiCatV(), SqlStringTest::testSqlStringAsciiCatV2(), SqlStringTest::testSqlStringAsciiCmpFDiffLen(), SqlStringTest::testSqlStringAsciiCmpVDiffLen(), SqlStringTest::testSqlStringAsciiLenBit(), SqlStringTest::testSqlStringAsciiLenChar(), SqlStringTest::testSqlStringAsciiLenOct(), SqlStringTest::testSqlStringAsciiOverlay(), SqlStringTest::testSqlStringAsciiPos(), SqlStringTest::testSqlStringAsciiSubStr(), SqlStringTest::testSqlStringAsciiToLower(), SqlStringTest::testSqlStringAsciiToUpper(), SqlStringTest::testSqlStringAsciiTrim(), SqlStringTest::testSqlStringCastToApprox(), SqlStringTest::testSqlStringCastToChar(), SqlStringTest::testSqlStringCastToDecimal(), SqlStringTest::testSqlStringCastToExact(), SqlStringTest::testSqlStringCastToVarChar(), SqlStringAsciiTest::testSqlStringCat_Ascii_Fix(), SqlStringAsciiTest::testSqlStringCat_Ascii_Var(), SqlStringAsciiTest::testSqlStringCat_Ascii_Var2(), SqlStringTest::testSqlStringCat_Fix(), SqlStringTest::testSqlStringCat_Var(), SqlStringTest::testSqlStringCat_Var2(), SqlStringTest::testSqlStringCmp(), SqlStringAsciiTest::testSqlStringCmp_Ascii_Fix_DiffLen(), SqlStringAsciiTest::testSqlStringCmp_Ascii_Var_DiffLen(), SqlStringTest::testSqlStringCpy_Fix(), SqlStringTest::testSqlStringCpy_Var(), SqlStringTest::testSqlStringLenBit(), SqlStringAsciiTest::testSqlStringLenBit_Ascii(), SqlStringTest::testSqlStringLenChar(), SqlStringAsciiTest::testSqlStringLenChar_Ascii(), SqlStringTest::testSqlStringLenOct(), SqlStringAsciiTest::testSqlStringLenOct_Ascii(), SqlStringTest::testSqlStringOverlay(), SqlStringAsciiTest::testSqlStringOverlay_Ascii(), SqlStringTest::testSqlStringPos(), SqlStringAsciiTest::testSqlStringPos_Ascii(), SqlStringTest::testSqlStringSubStr(), SqlStringAsciiTest::testSqlStringSubStr_Ascii(), SqlStringAsciiTest::testSqlStringToLower_Ascii(), SqlStringAsciiTest::testSqlStringToUpper_Ascii(), SqlStringTest::testSqlStringTrim(), and SqlStringAsciiTest::testSqlStringTrim_Ascii().
const int MAXRANDOM = 5 [static] |
Definition at line 45 of file SqlDateTest.cpp.
Referenced by SqlStringTest::testSqlStringAlterCase(), SqlStringTest::testSqlStringAsciiPos(), SqlStringTest::testSqlStringAsciiToLower(), SqlStringTest::testSqlStringAsciiToUpper(), SqlStringTest::testSqlStringAsciiTrim(), SqlStringTest::testSqlStringCastToDecimal(), SqlStringTest::testSqlStringCastToExact(), SqlStringTest::testSqlStringPos(), SqlStringAsciiTest::testSqlStringPos_Ascii(), SqlStringAsciiTest::testSqlStringToLower_Ascii(), SqlStringAsciiTest::testSqlStringToUpper_Ascii(), SqlStringTest::testSqlStringTrim(), and SqlStringAsciiTest::testSqlStringTrim_Ascii().
int64_t const ticks_per_day [static] |
Initial value:
boost::posix_time::ptime::time_rep_type::frac_sec_per_day()
Definition at line 49 of file SqlDateTest.cpp.
Referenced by SqlDateTest::testSqlDateToStr_Ascii().
int64_t const ticks_per_hour = ticks_per_day / 24 [static] |
Definition at line 53 of file SqlDateTest.cpp.
Referenced by SqlDateTest::testSqlStrToDate_Ascii(), and SqlDateTest::testSqlTimeToStr_Ascii().
int64_t const ticks_per_minute = ticks_per_hour / 60 [static] |
Definition at line 54 of file SqlDateTest.cpp.
Referenced by SqlDateTest::testSqlStrToDate_Ascii(), and SqlDateTest::testSqlTimeToStr_Ascii().
int64_t const ticks_per_month = ticks_per_day * 31LL [static] |
int64_t const ticks_per_sec = ticks_per_minute / 60 [static] |
Definition at line 55 of file SqlDateTest.cpp.
Referenced by SqlDateTest::testSqlStrToDate_Ascii(), and SqlDateTest::testSqlTimeToStr_Ascii().
int64_t const ticks_per_year = ticks_per_day * 365LL [static] |