libgit2/tests
nulltoken 9282e921a3 Merge nulltoken's reference parsing code
All the commits have been squashed into a single one before refactoring
the final code, to keep everything tidy.

Individual commit messages are as follows:

Added repository reference looking up functionality placeholder.

Added basic reference database definition and caching infrastructure.

Removed useless constant.

Added GIT_EINVALIDREFNAME error and description. Added missing description for GIT_EBAREINDEX.

Added GIT_EREFCORRUPTED error and description.

Added GIT_ETOONESTEDSYMREF error and description.

Added resolving of direct and symbolic references.

Prepared the packed-refs parsing.

Added parsing of the packed-refs file content.

When no loose reference has been found, the full content of the packed-refs file is parsed. All of the new (i.e. not previously parsed as a loose reference) references are eagerly stored in the cached references storage.

The method packed_reference_file__parse() is in deer need of some refactoring. :-)

Extracted to a method the parsing of the peeled target of a tag.

Extracted to a method the parsing of a standard packed ref.

Fixed leaky removal of the cached references.

Ensured that a previously parsed packed reference isn't returned if a more up-to-date loose reference exists.

Enhanced documentation of git_repository_reference_lookup().

Moved some refs related constants from repository.c to refs.h.

Made parsing of a packed tag reference more robust.

Updated git_repository_reference_lookup() documentation.

Added some references to the test repository.

Added some tests covering tag references looking up.

Added some tests covering symbolic and head references looking up.

Added some tests covering packed references looking up.
2011-01-29 03:39:02 +02:00
..
resources Merge nulltoken's reference parsing code 2011-01-29 03:39:02 +02:00
.gitignore Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00
NAMING Merge nulltoken's reference parsing code 2011-01-29 03:39:02 +02: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
t0004-vector.c Fixed two buffer handling errors in vector.c 2011-01-08 22:17:52 +02:00
t0005-path.c Fixed naming convention related issue. 2011-01-29 03:29:33 +02:00
t0020-dirent.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
t0101-hash.c Change the library include file 2010-12-06 23:03:16 +02:00
t0101-oid.c Change the library include file 2010-12-06 23:03:16 +02:00
t0102-objtype.c Change the library include file 2010-12-06 23:03:16 +02:00
t0103-objhash.c Change the library include file 2010-12-06 23:03:16 +02:00
t0201-existsloose.c Change the library include file 2010-12-06 23:03:16 +02:00
t0202-readloose.c Change the library include file 2010-12-06 23:03:16 +02:00
t0203-readloose.c Change the library include file 2010-12-06 23:03:16 +02:00
t0204-readpack.c Change the library include file 2010-12-06 23:03:16 +02:00
t0205-readheader.c Change the library include file 2010-12-06 23:03:16 +02:00
t0301-write.c Change the library include file 2010-12-06 23:03:16 +02:00
t0401-parse.c Rename 'git_person' to 'git_signature' 2010-12-18 02:35:33 +02:00
t0402-details.c Rename 'git_person' to 'git_signature' 2010-12-18 02:35:33 +02:00
t0403-write.c Rename 'git_person' to 'git_signature' 2010-12-18 02:35:33 +02:00
t0501-walk.c Change the library include file 2010-12-06 23:03:16 +02:00
t0502-list.c Rename 'git_person' to 'git_signature' 2010-12-18 02:35:33 +02:00
t0601-read.c Fix signed/unsigned comparison warning 2011-01-19 17:20:39 -08:00
t0602-write.c Tests now run with the resources folder as a hardcoded path 2010-12-10 05:53:39 +02:00
t0603-sort.c Tests now run with the resources folder as a hardcoded path 2010-12-10 05:53:39 +02: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 Change the library include file 2010-12-06 23:03:16 +02:00
t0802-write.c Change the library include file 2010-12-06 23:03:16 +02:00
t0901-readtree.c Change the library include file 2010-12-06 23:03:16 +02:00
t0902-modify.c Return the created entry in git_tree_add_entry() 2011-01-29 02:12:59 +02:00
t1001-readtag.c Merge nulltoken's reference parsing code 2011-01-29 03:39:02 +02:00
t1002-readsymref.c Merge nulltoken's reference parsing code 2011-01-29 03:39:02 +02:00
t1003-readpackedref.c Merge nulltoken's reference parsing code 2011-01-29 03:39:02 +02:00
test_helpers.c Change include structure for the project 2010-12-06 01:14:15 +02:00
test_helpers.h Tests now run with the resources folder as a hardcoded path 2010-12-10 05:53:39 +02:00
test_lib.c Fix some coding style issues 2010-02-28 20:09:45 +00:00
test_lib.h Change the library include file 2010-12-06 23:03:16 +02:00
test_main.c Minor modifications for MinGW/Cygwin compatibility. 2010-12-12 00:20:31 +02:00
tests.supp Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00