summaryrefslogtreecommitdiff
path: root/tests-clar/object/tree/frompath.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-68/+0
|
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-231-0/+3
| | | | | | | | | | | | Without this change, any failed assertion in the second (or a later) test inside a test suite has a chance of double deleting memory, resulting in a heap corruption. See #1096 for details. This leaves alone the test cases where we "just" use cl_git_sandbox_init() and cl_git_sandbox_cleanup(). These methods already take good care to not double delete a repository. Fixes #1096
* tree: unfound tree entry returns GIT_ENOTFOUNDnulltoken2012-07-121-6/+6
|
* Don't rmdir() nonexistent dirs in object::tree::frompath testsScott J. Goldman2012-06-291-1/+0
| | | | It causes the clar testsuite to abort on Windows, and isn't necessary.
* tree: Bring back `entry_bypath`Vicent Marti2012-06-291-45/+30
| | | | Smaller, simpler, faster.
* errors: Rename error codesbreaking-changesVicent Martí2012-05-181-2/+2
|
* errors: Rename the generic return codesVicent Martí2012-05-181-9/+9
|
* Remove old and unused error codesVicent Martí2012-05-021-1/+1
|
* Merge branch 'new-error-handling' into developmentVicent Martí2012-05-021-10/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .travis.yml include/git2/diff.h src/config_file.c src/diff.c src/diff_output.c src/mwindow.c src/path.c tests-clar/clar_helpers.c tests-clar/object/tree/frompath.c tests/t00-core.c tests/t03-objwrite.c tests/t08-tag.c tests/t10-refs.c tests/t12-repo.c tests/t18-status.c tests/test_helpers.c tests/test_main.c
| * error handling: move the missing parts over to the new error handlingCarlos Martín Nieto2012-04-261-6/+12
| |
| * error-handling: Add new routinesVicent Martí2012-03-031-1/+1
| | | | | | | | | | Obviously all the old throw routines are still in place, so we can gradually port over.
* | Simple readability fixes.Ben Straub2012-03-311-2/+5
|/
* Rename the Clay test suite to ClarVicent Martí2012-01-241-0/+75
Clay is the name of a programming language on the makings, and we want to avoid confusions. Sorry for the huge diff!