glib/glib/tests
Mikhail Zabaluev 67c5bbaf03 glib/tests/utf8-validate: test known-length case along with null-terminated
For all test cases where the text length is given as -1, also
call g_utf8_validate() with the actual string length to exercise
the known-length case. Unknown-length and known-length validation
use different code paths, but most of the tests only exercised with
unknown-length parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=754924
2015-09-13 13:12:25 -04:00
..
bookmarks Improve GBookmarkFile test coverage 2014-01-01 17:59:22 -05:00
markups Add a few tests for G_MARKUP_TREAT_CDATA_AS_TEXT 2014-03-02 19:10:00 -05:00
.gitignore Update .gitignore 2015-03-18 14:28:14 -07:00
1bit-mutex.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
4096-random-bytes [REVERT] Bug 548612 – g_strstr_len() should use memmem when available 2008-08-28 23:03:24 +00:00
642026.c Mark some functions 'static' in glib/tests 2011-10-16 21:41:15 -04:00
array-test.c glib: drop array-test test for bug 568760 2015-08-07 09:49:35 -04:00
asyncqueue.c Add tests for new GAsyncQueue api 2015-06-29 08:20:26 -07:00
atomic.c g_atomic_int_get, g_atomic_pointer_get: accept const arguments 2013-01-28 11:37:53 +00:00
autoptr.c autocleanups: Add GString type 2015-09-10 14:36:43 +02:00
base64.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
bitlock.c optimise bitlocks with new atomic operations 2011-05-28 17:39:12 -04:00
bookmarkfile.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
bookmarks.xbel Fix a typo 2010-07-10 23:56:45 -04:00
bytes.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
cache.c Updated FSF's address 2014-01-31 14:31:55 +01:00
checksum.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
collate.c glib/tests/collate.c: run to completion when skipping all tests 2014-02-13 14:31:09 +00:00
cond.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
convert.c Updated FSF's address 2014-01-31 14:31:55 +01:00
dataset.c GDataSet: Add more tests 2014-10-02 14:41:01 -04:00
date.c tests: Fix tests that fail with non-English locales 2015-06-29 22:49:17 +08:00
dir.c Add some GDir tests 2010-07-05 23:43:47 -04:00
echo-script spawn: Improve test coverage 2012-04-08 10:24:52 -04:00
echo-script.bat glib/tests/spawn-singlethread: Improve test for Windows 2013-11-11 22:38:36 +08:00
empty Improve test coverage 2011-02-13 23:49:19 -05:00
environment.c glib/tests/enviroment.c: Fix running on Windows 2013-11-27 08:01:46 +08:00
error.c gerror: Don't leak memory when overwrite warning 2013-11-10 22:40:08 +01:00
fileutils.c tests: Fix tests that fail with non-English locales 2015-06-29 22:49:17 +08:00
gdatetime.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
gvariant.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
gwakeuptest.c glib/tests: Clean up inclusion of unistd.h 2013-11-04 22:52:02 +08:00
hash.c test repeated g_hash_table_remove_all calls 2015-08-28 14:15:54 -04:00
hmac.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
hook.c Add some GHookList tests 2011-10-08 19:02:06 -04:00
hostutils.c Updated FSF's address 2014-01-31 14:31:55 +01:00
include.c glib/tests/include: port to gtester 2013-11-23 00:39:07 -05:00
keyfile.c tests: Fix compiler warning 2015-06-29 20:14:40 +01:00
keyfiletest.ini forgotten file 2010-07-07 22:03:02 -04:00
list.c gtestutils: Allow clean simple use of g_test_trap_subprocess() 2013-12-15 11:03:17 -05:00
logging.c Improve logging test coverage 2014-01-01 17:59:21 -05:00
mainloop.c gmain: don't pass the same fd to g_poll() multiple times 2014-10-29 17:19:20 -04:00
Makefile.am Remove malloc tests 2015-07-28 00:04:35 -04:00
mappedfile.c mappedfile test: permit ENODEV on /dev/null 2014-02-23 00:47:29 -05:00
markup-collect.c tests: add a ignore-qualified markup-collect case 2013-10-28 15:24:58 -07:00
markup-escape.c Add G_GNUC_PRINTF on all functions with format strings 2013-01-13 12:32:40 -05:00
markup-parse.c Add a way to test different markup parser flags 2014-03-02 19:03:15 -05:00
markup-subparser.c tests: Fix tests that fail with non-English locales 2015-06-29 22:49:17 +08:00
markup.c Add a test for g_markup_parse_context_get_element_stack 2014-01-01 17:59:21 -05:00
mem-overflow.c tests: Fix for non-GCC 2013-11-11 22:39:57 +08:00
mutex.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
node.c Updated FSF's address 2014-01-31 14:31:55 +01:00
once.c g_thread_new: never fail 2011-10-13 01:00:57 -04:00
option-argv0.c gtestutils: add "options" to g_test_init(), make option-argv0 use gtester 2013-11-23 00:43:45 -05:00
option-context.c tests: Fix tests that fail with non-English locales 2015-06-29 22:49:17 +08:00
pages.ini Add testcase for bug 640695 2011-01-27 23:07:53 -05:00
pattern.c Updated FSF's address 2014-01-31 14:31:55 +01:00
private.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
protocol.c Improve GIOChannel test coverage 2014-01-01 17:59:22 -05:00
queue.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
rand.c Add a test for the previous fix 2011-06-03 23:38:46 -04:00
rec-mutex.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
regex.c Use GRegexMatchFlags not GRegexCompileFlags for TEST_MATCH _match_opts 2015-07-13 19:44:45 +01:00
rwlock.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
scannerapi.c Updated FSF's address 2014-01-31 14:31:55 +01:00
search-utils.c Improve search utils test coverage 2013-11-28 16:01:23 -05:00
sequence.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
shell.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00
slice.c Drop g_slice_set_config tests 2015-09-12 11:13:45 -04:00
slist.c Add a few more tests 2011-10-03 23:55:02 -04:00
sort.c Updated FSF's address 2014-01-31 14:31:55 +01:00
spawn-multithreaded.c Add G_SPAWN_DEFAULT to GSpawnFlags 2013-08-17 13:02:25 -04:00
spawn-singlethread.c glib/tests/spawn-singlethread: Improve test for Windows 2013-11-11 22:38:36 +08:00
strfuncs.c More g_strerror() fixes 2015-09-11 12:38:18 -04:00
string.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
test-printf.c Fix printf-tests on W32 by ifdefing the expected output 2014-08-02 12:31:09 +00:00
test-spawn-echo.c gthread: move test cases to glib/ 2011-10-16 19:08:59 -04:00
testing.c gtestutils: add g_assert_cmpmem() 2015-08-31 13:59:48 -04:00
thread.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
timeout.c glib/tests: Clean up inclusion of unistd.h 2013-11-04 22:52:02 +08:00
timer.c Drop locale-dependent timeval tests 2014-01-01 22:39:32 -05:00
tree.c Updated FSF's address 2014-01-31 14:31:55 +01:00
unicode.c unicode: Update to unicode 7.0.0 2014-06-28 12:49:38 -04:00
unix.c Improve glib-unix test coverage 2014-01-01 17:59:21 -05:00
uri.c Updated FSF's address 2014-01-31 14:31:55 +01:00
utf8-misc.c [test] Move non-utf8 tests into unicode.c 2011-07-14 16:55:35 -04:00
utf8-performance.c Reorganized utf8-performance tests 2015-09-05 13:14:11 -04:00
utf8-pointer.c Updated FSF's address 2014-01-31 14:31:55 +01:00
utf8-validate.c glib/tests/utf8-validate: test known-length case along with null-terminated 2015-09-13 13:12:25 -04:00
utils.c tests: replace most g_print() with g_printerr() 2015-05-11 20:24:56 +01:00