libgit2/tests
Vicent Marti 088a731f00 Fixed memory leaks in test suite
Created commit objects in t0401-parse weren't being freed properly.
Updated the API documentation to note that commit objects are owned
by the revision pool and should not be freed manually.

The parents list of each commit was being freed twice after each test.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
2010-07-10 12:15:12 -07:00
..
t0501-objects Added t0501-walk (simple test for all revision pool walking modes) 2010-06-02 10:32:07 +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 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 Fixed memory leaks in test suite 2010-07-10 12:15:12 -07:00
t0403-lists.c Style: Do not use (C99) // comments 2010-06-02 11:18:56 +02:00
t0501-walk.c Style: Do not use (C99) // comments 2010-06-02 11:18:56 +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