libgit2/tests
Ramsay Jones 2d16373cb8 msvc: Fix an "conversion, possible loss of data" warning
In particular, msvc complains thus:

    t0603-sort.c(23) : warning C4244: 'function' : conversion from \
        'time_t' to 'unsigned int', possible loss of data

Note that msvc, by default, defines time_t as a 64-bit type, whereas
srand() is expecting an (32-bit) unsigned int. In order to suppress
the warning, we simply cast the return value of the time() function
call to 'unsigned int'.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
2010-10-27 00:59:09 +03:00
..
resources Move test resources to a common directory 2010-08-12 18:49:04 +02:00
.gitignore Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00
Makefile msvc: Disable a level 4 warning and change -W3 to -W4 2010-06-07 19:46:17 +01:00
NAMING Add unit tests for Commit parsing 2010-06-02 10:32:06 +02:00
t0001-errno.c Use a 64 bit off_t throughout the library and tests on POSIX 2010-01-20 20:13:07 +00:00
t0002-refcnt.c Add a mutex and atomic counter abstraction and implementations 2008-12-31 13:36:55 -08:00
t0003-strutil.c Add git__dirname and git__basename utility routines 2009-01-28 12:25:24 -08:00
t0020-dirent.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0101-hash.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0101-oid.c Fix a bug in the git_oid_to_string() function 2010-06-07 19:44:04 +01:00
t0102-objtype.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0103-objhash.c Give object structures more descriptive names 2010-09-19 03:21:06 +03:00
t0201-existsloose.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0202-readloose.c Give object structures more descriptive names 2010-09-19 03:21:06 +03:00
t0203-readloose.c Give object structures more descriptive names 2010-09-19 03:21:06 +03:00
t0204-readpack.c Give object structures more descriptive names 2010-09-19 03:21:06 +03:00
t0301-write.c Give object structures more descriptive names 2010-09-19 03:21:06 +03:00
t0401-parse.c Add setter methods & write support for git_commit 2010-09-20 02:04:06 +03:00
t0402-details.c Move test resources to a common directory 2010-08-12 18:49:04 +02:00
t0403-write.c Add unit tests for object write-back 2010-10-07 00:42:55 +03:00
t0501-walk.c Move test resources to a common directory 2010-08-12 18:49:04 +02:00
t0502-list.c Redesigned the walking/object lookup interface 2010-08-12 18:48:55 +02:00
t0601-read.c Add unit tests for index manipulation 2010-08-12 18:49:04 +02:00
t0602-write.c Add unit tests for index manipulation 2010-08-12 18:49:04 +02:00
t0603-sort.c msvc: Fix an "conversion, possible loss of data" warning 2010-10-27 00:59:09 +03:00
t0701-table.c Redesigned the walking/object lookup interface 2010-08-12 18:48:55 +02:00
t0702-tableit.c Redesigned the walking/object lookup interface 2010-08-12 18:48:55 +02:00
t0801-readtag.c Add loading and parsing of tag objects 2010-08-12 04:40:43 +02:00
t0802-write.c Add unit tests for object write-back 2010-10-07 00:42:55 +03:00
t0901-readtree.c Fix possible segfaults in src/tree.c (issue 1) 2010-10-07 00:14:09 +03:00
t0902-modify.c Fix issue 3 (memory corruption resize_tree_array) 2010-10-08 13:52:17 +03:00
test_helpers.c Add unit tests for object write-back 2010-10-07 00:42:55 +03:00
test_helpers.h Add unit tests for object write-back 2010-10-07 00:42:55 +03:00
test_lib.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
test_lib.h Fix some coding style issues 2010-02-28 20:09:45 +00:00
test_main.c Makefile: Add CFLAGS to the "test_main.c" compile target 2009-06-05 12:12:42 +02:00
tests.supp Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00