libgit2/tests
Vicent Marti 6b2a19418c Fix the retarded object interdependency system
It's no longer retarded. All object interdependencies are stored as OIDs
instead of actual objects. This should be hundreds of times faster,
specially on big repositories. Heck, who knows, maye it doesn't even
segfault -- wouldn't that be awesome?

What has changed on the API?

	`git_commit_parent`, `git_commit_tree`, `git_tag_target` now return
	their values through a pointer-to-pointer, and have an error code.

	`git_commit_set_tree` and `git_tag_set_target` now return an error
	code and may fail.

	`git_repository_free__no_gc` has been deprecated because it's
	stupid. Since there are no longer any interdependencies between
	objects, we don't need internal reference counting, and GC
	never fails or double-free's pointers.

	`git_object_close` now does a very sane thing: marks an object
	as unused. Closed objects will be eventually free'd from the
	object cache based on LRU. Please use `git_object_close` from
	the garbage collector `destroy` method on your bindings. It's
	100% safe.

	`git_repository_gc` is a new method that forces a garbage collector
	pass through the repo, to free as many LRU objects as possible.
	This is useful if we are running out of memory.
2011-03-14 23:52:32 +02:00
..
resources Add unit test for writing a big index file 2011-02-22 15:19:35 +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
t00-core.c Fix searching in git_vector 2011-03-03 20:23:52 +02:00
t01-data.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t01-rawobj.c Add git_oid_shorten (unique OID minimzer) 2011-03-14 23:36:10 +02:00
t02-data.h Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
t02-objread.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
t02-oids.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t03-objwrite.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
t04-commit.c Fix the retarded object interdependency system 2011-03-14 23:52:32 +02:00
t05-revwalk.c Rewrite the Revision Walker 2011-03-14 23:52:15 +02:00
t06-index.c Fix searching in git_vector 2011-03-03 20:23:52 +02:00
t07-hashtable.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
t08-tag.c Fix the retarded object interdependency system 2011-03-14 23:52:32 +02:00
t09-tree.c Implement reference counting for git_objects 2011-03-03 20:23:52 +02:00
t10-refs.c Add new method git_reference_listall 2011-03-14 23:52:32 +02:00
t11-sqlite.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
t12-repo.c clean up temp repo for t12-repo tests 2011-03-04 23:31:28 -08:00
test_helpers.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
test_helpers.h clean up temp repo for t12-repo tests 2011-03-04 23:31:28 -08:00
test_lib.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
test_lib.h Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
test_main.c Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
tests.supp Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00