libgit2/tests-clar
Russell Belfer db106d01f0 Move rename detection into new file
This improves the naming for the rename related functionality
moving it to be called `git_diff_find_similar()` and renaming
all the associated constants, etc. to make more sense.

I also moved the new code (plus the existing `git_diff_merge`)
into a new file `diff_tform.c` where I can put new functions
related to manipulating git diff lists.

This also updates the implementation significantly from the
last revision fixing some ordering issues (where break-rewrite
needs to be handled prior to copy and rename detection) and
improving config option handling.
2012-10-30 09:40:50 -07:00
..
attr Support for core.ignorecase 2012-09-17 15:42:41 -04:00
buf Update test suite 2012-05-02 16:14:30 -07:00
checkout test: extract make_head_orphaned() logic 2012-10-20 12:07:53 +02:00
clone test: fix some memory leaks 2012-10-16 00:49:05 +02:00
commit Merge pull request #805 from nulltoken/fix/revwalk-email-parsing 2012-07-12 09:37:09 -07:00
config Add config level support in the config API 2012-10-23 12:48:38 +02:00
core Fix env variable tests with new Win32 path rules 2012-10-19 15:40:43 -07:00
date Omit failing test on 32-bit machines. 2012-06-06 12:39:29 -07:00
diff Move rename detection into new file 2012-10-30 09:40:50 -07:00
index filemode: deploy enum usage 2012-08-21 23:15:10 +02:00
network Merge pull request #963 from carlosmn/remote-save-autotag 2012-10-22 12:04:48 -07:00
notes Update iterators for consistency across library 2012-08-03 17:08:01 -07:00
object Merge pull request #968 from arrbee/diff-support-typechange 2012-10-17 14:14:51 -07:00
odb revwalk: fix off-by-one error 2012-09-27 19:12:01 +02:00
pack gsoc-pack-objects WIP 2012-10-09 21:28:31 +02:00
refs test: extract make_head_orphaned() logic 2012-10-20 12:07:53 +02:00
repo Initial implementation of diff rename detection 2012-10-23 16:40:51 -07:00
reset reset: make git_reset() cope with an orphaned HEAD 2012-10-22 19:46:00 +02:00
resources Initial implementation of diff rename detection 2012-10-23 16:40:51 -07:00
revwalk revwalk: fix off-by-one error 2012-09-27 19:12:01 +02:00
status tests: Fix unused variable warning 2012-10-19 20:35:12 +02:00
submodule Add config level support in the config API 2012-10-23 12:48:38 +02: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 Update clar and add reliable rename for Win32 2012-10-18 14:50:17 -04:00
clar_libgit2.h Update clar and add reliable rename for Win32 2012-10-18 14:50:17 -04: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.