From 8b6d5b1fc358ba63facda065a550e1afb1ed8939 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Dec 2005 16:34:09 +0000 Subject: [PATCH] extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/tokenizer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/strings/tokenizer.cpp b/tests/strings/tokenizer.cpp index 0569ae9150..7d0ebd692a 100644 --- a/tests/strings/tokenizer.cpp +++ b/tests/strings/tokenizer.cpp @@ -78,6 +78,7 @@ gs_testData[] = { _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 },