Add unit tests for Commit parsing
commit42281e007e15713713b2ff4324d60360332e194e
authorVicent Marti <tanoku@gmail.com>
Sat, 15 May 2010 23:52:31 +0000 (16 01:52 +0200)
committerAndreas Ericsson <ae@op5.se>
Wed, 2 Jun 2010 08:32:06 +0000 (2 10:32 +0200)
treebc5aba43f785c144c9b5c6406ffbce6a7fec5304
parent4caa8962a6af9fac72ab81afb03779bc3acff910
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>
src/commit.c
tests/NAMING
tests/t0401-parse.c [new file with mode: 0644]