1. 25 Jan, 2012 1 commit
  2. 26 Nov, 2011 1 commit
    • repository: Change ownership semantics · 9462c471
      The ownership semantics have been changed all over the library to be
      consistent. There are no more "borrowed" or duplicated references.
      
      Main changes:
      
      	- `git_repository_open2` and `3` have been dropped.
      
      	- Added setters and getters to hotswap all the repository owned
      	objects:
      
      		`git_repository_index`
      		`git_repository_set_index`
      		`git_repository_odb`
      		`git_repository_set_odb`
      		`git_repository_config`
      		`git_repository_set_config`
      		`git_repository_workdir`
      		`git_repository_set_workdir`
      
      	Now working directories/index files/ODBs and so on can be
      	hot-swapped after creating a repository and between operations.
      
      	- All these objects now have proper ownership semantics with
      	refcounting: they all require freeing after they are no longer
      	needed (the repository always keeps its internal reference).
      
      	- Repository open and initialization has been updated to keep in
      	mind the configuration files. Bare repositories are now always
      	detected, and a default config file is created on init.
      
      	- All the tests affected by these changes have been dropped from the
      	old test suite and ported to the new one.
      Vicent Marti committed
  3. 03 Mar, 2011 1 commit
    • Cleanup the testing toolkit · 3dccfed1
      Tests are now declared with detailed descriptions and a short test name:
      
      	BEGIN_TEST(the_test0, "this is an example test that does something")
      		...
      	END_TEST
      
      Modules are declared through a simple macro interface:
      
      	BEGIN_MODULE(mod_name)
      		ADD_TEST(the_test0);
      		...
      	END_MODULE
      
      Error messages when tests fail have been greatly improved.
      
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      Vicent Marti committed
  4. 02 Feb, 2011 1 commit
    • Rewrite the unit testing suite · 2a1732b4
      NIH Enterprises presents: a new testing system based on CuTesT, which is
      faster than our previous one and fortunately uses no preprocessing on
      the source files, which means we can run that from CMake.
      
      The test suites have been gathered together into bigger files (one file
      per suite, testing each of the different submodules of the library).
      
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      Vicent Marti committed
  5. 06 Dec, 2010 1 commit
  6. 05 Dec, 2010 1 commit
  7. 19 Sep, 2010 1 commit
  8. 20 Jan, 2010 1 commit
  9. 30 Mar, 2009 1 commit
  10. 18 Mar, 2009 2 commits
  11. 11 Feb, 2009 1 commit
  12. 28 Jan, 2009 1 commit
  13. 31 Dec, 2008 1 commit
    • Rename the test cases to run in specific orders · 4260699b
      This way we can be fairly certain we run tests of lower-level
      parts of the library before we run tests of higher-level more
      complex parts.  If there is any problem in a lower-level part
      of the library, the earlier test will identify it and stop,
      making it easire to troubleshoot the failure.
      
      A rough naming guide has been added for the test suite to
      explain the current category structure.
      
      Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
      Shawn O. Pearce committed
  14. 19 Dec, 2008 1 commit