libgit2/tests-clar
Russell Belfer 793c438559 Update diff callback param order
This makes the diff functions that take callbacks both take
the payload parameter after the callback function pointers and
pass the payload as the last argument to the callback function
instead of the first.  This should make them consistent with
other callbacks across the API.
2012-11-27 13:18:28 -08:00
..
attr index refactoring 2012-10-29 20:04:21 -05:00
buf buf: introduce git_buf_splice() 2012-10-25 17:42:35 +02:00
checkout Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
clone More external API cleanup 2012-11-27 13:18:27 -08:00
commit Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
config Clean up config.h 2012-11-27 13:18:28 -08:00
core Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
date Omit failing test on 32-bit machines. 2012-06-06 12:39:29 -07:00
diff Update diff callback param order 2012-11-27 13:18:28 -08:00
fetchhead Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
index Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
network Clean up config.h 2012-11-27 13:18:28 -08:00
notes Clean up config.h 2012-11-27 13:18:28 -08:00
object API review / update for tree.h 2012-11-27 13:18:28 -08:00
odb Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
pack More external API cleanup 2012-11-27 13:18:27 -08:00
refs More external API cleanup 2012-11-27 13:18:27 -08:00
repo Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
reset Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
resources config: distinguish between a lone variable name and one without rhs 2012-11-13 13:53:41 -08:00
revwalk Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
stash Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
status Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
submodule Clean up config.h 2012-11-27 13:18:28 -08:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar Update clar and add reliable rename for Win32 2012-10-18 14:50:17 -04:00
clar_helpers.c tests: introduce cl_git_remove_placeholders() 2012-11-17 07:20:07 -08:00
clar_libgit2.h tests: introduce cl_git_remove_placeholders() 2012-11-17 07:20:07 -08:00
README.md Update README because vmg is @vmg. 2012-10-19 14:05:55 -07:00
valgrind-supp-mac.txt Fix valgrind issues and leaks 2012-08-24 11:00:27 -07:00

Writing Clar tests for libgit2

For information on the Clar testing framework and a detailed introduction please visit:

https://github.com/vmg/clar

  • Write your modules and tests. Use good, meaningful names.

  • Make sure you actually build the tests by setting:

      cmake -DBUILD_CLAR=ON build/
    
  • Test:

      ./build/libgit2_clar
    
  • Make sure everything is fine.

  • Send your pull request. That's it.