libgit2/tests
Pierre-Olivier Latour b5ab878f4c Fixed build warning
2015-03-08 14:09:50 -07:00
..
attr
blame
buf buf test: cleanup memory leak 2015-02-13 09:28:12 -05:00
checkout Remove swp files 2015-03-03 17:04:38 +01:00
cherrypick reset: remove reflog message override 2015-03-03 14:40:50 +01:00
clar
clone config: borrow refcounted references 2015-03-03 18:35:12 +01:00
commit Remove the signature from ref-modifying functions 2015-03-03 14:40:50 +01:00
config Plug a few leaks 2015-03-04 00:29:37 +01:00
core Fix p_ftruncate to handle big files for git_clone 2015-03-03 08:47:44 -05:00
date
describe Remove the signature from ref-modifying functions 2015-03-03 14:40:50 +01:00
diff diff_tform: account for whitespace options 2015-03-04 00:01:34 -05:00
fetchhead Remove the signature from ref-modifying functions 2015-03-03 14:40:50 +01:00
filter filter::file tests: test filter_list_apply_to_file 2015-03-06 15:16:05 -05:00
graph
index reset: remove reflog message override 2015-03-03 14:40:50 +01:00
merge reset: remove reflog message override 2015-03-03 14:40:50 +01:00
network config: borrow refcounted references 2015-03-03 18:35:12 +01:00
notes
object Plug a couple of leaks 2015-01-04 17:39:43 +00:00
odb
online push: remove reflog message override 2015-03-03 14:40:50 +01:00
pack
path win32: further cleanups for 8.3 disabling 2015-02-03 20:01:24 -05:00
perf repository: remove log message override for switching the active branch 2015-03-03 14:40:50 +01:00
rebase repository: remove log message override for switching the active branch 2015-03-03 14:40:50 +01:00
refs refdb: use the same id for old and new when renaming a reference 2015-03-08 16:50:27 +01:00
repo config: borrow refcounted references 2015-03-03 18:35:12 +01:00
reset Fixed build warning 2015-03-08 14:09:50 -07:00
resources checkout test: ensure .gitattributes lifecycle 2015-02-02 22:46:39 -05:00
revert reset: remove reflog message override 2015-03-03 14:40:50 +01:00
revwalk tests: update for new test data 2015-02-02 22:46:43 -05:00
stash Merge pull request #2913 from ethomson/stash_fixup 2015-03-03 10:08:28 -05:00
status repository: remove log message override for switching the active branch 2015-03-03 14:40:50 +01:00
stress
submodule config: borrow refcounted references 2015-03-03 18:35:12 +01:00
threads Remove the signature from ref-modifying functions 2015-03-03 14:40:50 +01:00
trace Provide mechanism to let CLAR globally setup git_trace() 2015-03-02 08:20:27 -05:00
transport
clar_libgit2_timer.c Converted cl_perf_timer to use git__timer internally. 2015-03-03 09:57:50 -05:00
clar_libgit2_timer.h Converted cl_perf_timer to use git__timer internally. 2015-03-03 09:57:50 -05:00
clar_libgit2_trace.c Added cl_perf_timer. Updated global trace to include timers. 2015-03-02 09:21:55 -05:00
clar_libgit2_trace.h Provide mechanism to let CLAR globally setup git_trace() 2015-03-02 08:20:27 -05:00
clar_libgit2.c win32: further cleanups for 8.3 disabling 2015-02-03 20:01:24 -05:00
clar_libgit2.h win32: further cleanups for 8.3 disabling 2015-02-03 20:01:24 -05:00
clar.c Update to clar 2b73f5e 2015-02-27 00:30:50 -05:00
clar.h Update to clar 2b73f5e 2015-02-27 00:30:50 -05:00
generate.py
main.c libgit2_shutdown: clear err message on shutdown 2015-03-04 14:48:46 +01:00
README.md
valgrind-supp-mac.txt

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.