summaryrefslogtreecommitdiff
path: root/tests-clar/object/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-287/+0
|
* Fix win32 type warningsRussell Belfer2013-05-071-2/+2
|
* Extra threading testsRussell Belfer2013-05-021-3/+55
| | | | | We need to hammer the packfile open phase harder in the thread tests, in addition to the cache API.
* cache: Max cache size, and evict when the cache fills upvmg/new-cacheVicent Marti2013-04-221-3/+3
|
* tests: Do not warn for unused variableVicent Marti2013-04-221-1/+4
|
* Make indexer use shared packfile open codeRussell Belfer2013-04-221-3/+3
| | | | | | | | | | | The indexer was creating a packfile object separately from the code in pack.c which was a problem since I put a call to git_mutex_init into just pack.c. This commit updates the pack function for creating a new pack object (i.e. git_packfile_check()) so that it can be used in both places and then makes indexer.c use the shared initialization routine. There are also a few minor formatting and warning message fixes.
* Add tests for oidmap and new cache with threadingRussell Belfer2013-04-221-0/+232
This adds some basic tests for the oidmap just to make sure that collisions, etc. are dealt with correctly. This also adds some tests for the new caching that check if items are inserted (or not inserted) properly into the cache, and that the cache can hold up in a multithreaded environment without error.