libgit2/tests
Vicent Marti 42281e007e Add unit tests for Commit parsing
A few initial tests for commit parsing:

    "parse_buffer_test" tests git_commit__parse_buffer() with
    several malformed commit messages and a few corner cases
    which should pass.

    "parse_oid_test" tests git_commit__parse_oid() with several
    malformed commit lines containing broken SHA1 OIDs.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
Signed-off-by: Andreas Ericsson <ae@op5.se>
2010-06-02 10:32:06 +02:00
..
.gitignore Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00
Makefile Add support to enable the library to use OpenSSL SHA1 functions 2010-05-04 21:36:12 +02: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 some coding style issues 2010-02-28 20:09:45 +00:00
t0102-objtype.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0103-objhash.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0201-existsloose.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0202-readloose.c Use a 64 bit off_t throughout the library and tests on POSIX 2010-01-20 20:13:07 +00:00
t0203-readloose.c Use a 64 bit off_t throughout the library and tests on POSIX 2010-01-20 20:13:07 +00:00
t0301-write.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0401-parse.c Add unit tests for Commit parsing 2010-06-02 10:32:06 +02:00
test_helpers.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
test_helpers.h Factor out test helper methods for creating/deleting loose objects 2009-03-17 19:06:37 -07: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