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>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
.gitignore | Loading commit data... | |
Makefile | Loading commit data... | |
NAMING | Loading commit data... | |
t0001-errno.c | Loading commit data... | |
t0002-refcnt.c | Loading commit data... | |
t0003-strutil.c | Loading commit data... | |
t0020-dirent.c | Loading commit data... | |
t0101-hash.c | Loading commit data... | |
t0101-oid.c | Loading commit data... | |
t0102-objtype.c | Loading commit data... | |
t0103-objhash.c | Loading commit data... | |
t0201-existsloose.c | Loading commit data... | |
t0202-readloose.c | Loading commit data... | |
t0203-readloose.c | Loading commit data... | |
t0301-write.c | Loading commit data... | |
t0401-parse.c | Loading commit data... | |
test_helpers.c | Loading commit data... | |
test_helpers.h | Loading commit data... | |
test_lib.c | Loading commit data... | |
test_lib.h | Loading commit data... | |
test_main.c | Loading commit data... | |
tests.supp | Loading commit data... |