Commit graph

12 commits

Author SHA1 Message Date
ntrifunovic
a8a34b59dd Added the utf8reader test program
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@30 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-29 01:46:52 +00:00
ntrifunovic
347505ea0d Fixed test.cpp to execute completely instead of returning early. Fixed some VC8 /W4 warnings.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@29 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 18:40:14 +00:00
ntrifunovic
b24be40542 Added more test cases for utf::previous and utf::unchecked::previous to the smoke-test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@26 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 17:57:22 +00:00
ntrifunovic
1e17f800fe Changed unchecked::next to match utf8::match. The functionality should remain the same.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@24 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 17:39:56 +00:00
ntrifunovic
d3097494fc Added test case for bug [ 1528544 ] utf::next does not work correctly for 4-byte sequences
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@22 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-25 18:11:42 +00:00
ntrifunovic
59fb926070 Added test case for [ 1528369 ] utf8::find_invalid does not return the start of a seqence
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@19 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-25 13:05:32 +00:00
ntrifunovic
93c5c6050d Added regression test case for bug 1525236 : utf8::is_valid does not detect overlong sequences
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@12 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-19 12:37:31 +00:00
ntrifunovic
bc2f7ec37a updated r1_0Beta1/invalidutf8.h to cover the test case for the bug [ 1524459 ] utf8::is_valid does not report some illegal code positions
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@11 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-19 00:28:34 +00:00
ntrifunovic
fa0ef27df2 Added the regression test driver and the first test case
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@10 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-18 12:59:15 +00:00
ntrifunovic
7879ce9b52 Fixed the relative path for utf8.h in test.cpp
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@9 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-18 11:35:09 +00:00
ntrifunovic
e95c593cdc Added "negative test driver" - a short program that displayes lines from utf8_invalid.txt that
contain invalid utf-8 sequences


git-svn-id: http://svn.code.sf.net/p/utfcpp/code@4 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-12 12:49:06 +00:00
ntrifunovic
ac29285954 Initial import of the project tree
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@1 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-07 11:48:37 +00:00