- { _T(""), _T(" "), wxTOKEN_DEFAULT , 0 },
-
- { _T("Hello, world"), _T(" "), wxTOKEN_DEFAULT , 2 },
- { _T("Hello, world "), _T(" "), wxTOKEN_DEFAULT , 2 },
- { _T("Hello, world"), _T(","), wxTOKEN_DEFAULT , 2 },
- { _T("Hello, world!"), _T(",!"), wxTOKEN_DEFAULT , 2 },
- { _T("Hello,, world!"), _T(",!"), wxTOKEN_DEFAULT , 3 },
- { _T("Hello,, world!"), _T(",!"), wxTOKEN_STRTOK , 2 },
- { _T("Hello, world!"), _T(",!"), wxTOKEN_RET_EMPTY_ALL, 3 },
-
- { _T("username:password:uid:gid:gecos:home:shell"),
- _T(":"), wxTOKEN_DEFAULT , 7 },
-
- { _T("1:2::3:"), _T(":"), wxTOKEN_DEFAULT , 4 },
- { _T("1:2::3:"), _T(":"), wxTOKEN_RET_EMPTY , 4 },
- { _T("1:2::3:"), _T(":"), wxTOKEN_RET_EMPTY_ALL, 5 },
- { _T("1:2::3:"), _T(":"), wxTOKEN_RET_DELIMS , 4 },
- { _T("1:2::3:"), _T(":"), wxTOKEN_STRTOK , 3 },
-
- { _T("1:2::3::"), _T(":"), wxTOKEN_DEFAULT , 5 },
- { _T("1:2::3::"), _T(":"), wxTOKEN_RET_EMPTY , 5 },
- { _T("1:2::3::"), _T(":"), wxTOKEN_RET_EMPTY_ALL, 6 },
- { _T("1:2::3::"), _T(":"), wxTOKEN_RET_DELIMS , 5 },
- { _T("1:2::3::"), _T(":"), wxTOKEN_STRTOK , 3 },
-
- { _T("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_DEFAULT , 4 },
- { _T("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_STRTOK , 4 },
- { _T("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_RET_EMPTY , 6 },
- { _T("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_RET_EMPTY_ALL, 9 },
-
- { _T("01/02/99"), _T("/-"), wxTOKEN_DEFAULT , 3 },
- { _T("01-02/99"), _T("/-"), wxTOKEN_RET_DELIMS , 3 },
+ { wxT(""), wxT(" "), wxTOKEN_DEFAULT, 0 },
+ { wxT(""), wxT(" "), wxTOKEN_RET_EMPTY, 0 },
+ { wxT(""), wxT(" "), wxTOKEN_RET_EMPTY_ALL, 0 },
+ { wxT(""), wxT(" "), wxTOKEN_RET_DELIMS, 0 },
+ { wxT(":"), wxT(":"), wxTOKEN_RET_EMPTY, 1 },
+ { wxT(":"), wxT(":"), wxTOKEN_RET_DELIMS, 1 },
+ { wxT(":"), wxT(":"), wxTOKEN_RET_EMPTY_ALL, 2 },
+ { wxT("::"), wxT(":"), wxTOKEN_RET_EMPTY, 1 },
+ { wxT("::"), wxT(":"), wxTOKEN_RET_DELIMS, 1 },
+ { wxT("::"), wxT(":"), wxTOKEN_RET_EMPTY_ALL, 3 },
+
+ { wxT("Hello, world"), wxT(" "), wxTOKEN_DEFAULT, 2 },
+ { wxT("Hello, world "), wxT(" "), wxTOKEN_DEFAULT, 2 },
+ { wxT("Hello, world"), wxT(","), wxTOKEN_DEFAULT, 2 },
+ { wxT("Hello, world!"), wxT(",!"), wxTOKEN_DEFAULT, 2 },
+ { wxT("Hello,, world!"), wxT(",!"), wxTOKEN_DEFAULT, 3 },
+ { wxT("Hello,, world!"), wxT(",!"), wxTOKEN_STRTOK, 2 },
+ { wxT("Hello, world!"), wxT(",!"), wxTOKEN_RET_EMPTY_ALL, 3 },
+
+ { wxT("username:password:uid:gid:gecos:home:shell"),
+ wxT(":"), wxTOKEN_DEFAULT, 7 },
+
+ { wxT("1:2::3:"), wxT(":"), wxTOKEN_DEFAULT, 4 },
+ { wxT("1:2::3:"), wxT(":"), wxTOKEN_RET_EMPTY, 4 },
+ { wxT("1:2::3:"), wxT(":"), wxTOKEN_RET_EMPTY_ALL, 5 },
+ { wxT("1:2::3:"), wxT(":"), wxTOKEN_RET_DELIMS, 4 },
+ { wxT("1:2::3:"), wxT(":"), wxTOKEN_STRTOK, 3 },
+
+ { wxT("1:2::3::"), wxT(":"), wxTOKEN_DEFAULT, 4 },
+ { wxT("1:2::3::"), wxT(":"), wxTOKEN_RET_EMPTY, 4 },
+ { wxT("1:2::3::"), wxT(":"), wxTOKEN_RET_EMPTY_ALL, 6 },
+ { wxT("1:2::3::"), wxT(":"), wxTOKEN_RET_DELIMS, 4 },
+ { wxT("1:2::3::"), wxT(":"), wxTOKEN_STRTOK, 3 },
+
+ { wxT("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_DEFAULT, 4 },
+ { wxT("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_STRTOK, 4 },
+ { wxT("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_RET_EMPTY, 6 },
+ { wxT("1 \t3\t4 6 "), wxDEFAULT_DELIMITERS, wxTOKEN_RET_EMPTY_ALL, 9 },
+
+ { wxT("01/02/99"), wxT("/-"), wxTOKEN_DEFAULT, 3 },
+ { wxT("01-02/99"), wxT("/-"), wxTOKEN_RET_DELIMS, 3 },