Commit Graph

69 Commits

Author SHA1 Message Date
Philippe Miossec ca88bc8c06 Remove skip tests 2015-06-21 16:29:12 +02:00
Philippe Miossec bf16297772 Unit test 2015-06-11 12:21:55 +02:00
Matt Burke 215243f24d Merge remote-tracking branch 'origin/master' into rename_branch_and_add_file_With_test 2015-05-04 23:16:19 -04:00
Philippe Miossec 6dcf08299a Update LibGit2Sharp to v0.21 2015-02-08 18:21:10 +01:00
Philippe Miossec aea447175e Cleaning Asserts 2015-02-08 17:50:35 +01:00
Philippe Miossec 60c0ee0709 Test Refs that should be there anymore due to a renaming 2015-02-08 17:50:32 +01:00
Philippe Miossec 3897c3832d VsFake: Rebuild branch ancestry to solve most of the unit test 2015-02-08 15:59:50 +01:00
Philippe Miossec 3956800f4e Adapt unit tests and TfsHelper.VsFake to obtain the REAL shas
See the reference repository here: https://github.com/pmiossec/vtccds
2015-02-08 15:58:17 +01:00
Matt Burke 62daac6cf2 Add the actual refs from the created repository. 2015-02-02 16:51:45 -05:00
Matt Burke 2e625c5b6e Merge remote-tracking branch 'origin/rename_branch_and_add_file_With_test' into rename_branch_and_add_file
Conflicts:
	GitTfsTest/GitTfsTest.csproj
2015-02-02 15:31:26 -05:00
Matt Burke 6533bdc3ff Compile vtccds fixture. 2015-02-02 15:30:02 -05:00
Philippe Miossec 8ec2f8dc00 Adapt generated test to make it (partly) work
!! Rename branched don't work at the moment :(

The script generated by the ruby script ( https://github.com/git-tfs/git-tfs-test-builder )
do not contains enough data to fake all the tfs calls, so we have to adapt it...

Perhaps we could post process the datas and enrich them to not be obliged
to adapt it manualy but it's a bit ambitious for the moment.......

ToDo: We must modify the `Read()` method to convert well the byte[] in string (I didn't find how!)
2015-02-01 02:00:50 +01:00
Philippe Miossec ae1b60cb4f Unit tests 2014-10-03 23:44:58 +02:00
Philippe Miossec 2a60c57f14 Update libgit2sharp to v0.18.1 2014-08-04 13:45:04 +02:00
Philippe Miossec 6f4d14965b Add unit test to test auto-init of branches and --ignore-branches option 2014-07-05 13:48:17 +02:00
Philippe Miossec c73c333065 Allow Empty commits for unit test
because sometime only commit message is
important in our tests
2014-05-18 16:03:12 +02:00
Philippe Miossec e79a520fa8 Unit test GetLastParentTfsCommits from GitRepository 2014-05-09 22:14:06 +02:00
Matt Burke b7344c5612 Merge pull request #561 from pmiossec/auto_bootstrap
bootstrap automatically the remote we are working on if needed
2014-04-28 18:17:32 -04:00
Philippe Miossec c5945cc4a4 Use existing method instead of creating new one 2014-04-27 14:06:11 +02:00
Philippe Miossec bc09fa8963 Update Auto-bootstrap unit tests because -I option is no more needed... 2014-04-20 18:12:19 +02:00
Philippe Miossec bdd7e8057c Unit test for Autobootsrap when using -I option on a merge commit
Extand IntegrationHelper to be able to create a more complexe test case...
2014-04-20 00:10:46 +02:00
Philippe Miossec cf20ce0ea6 Unit test for Autobootsrap when using -I option on a branch
Auto bootstap 'tfs/default' for first remote created
Auto bootstap 'tfs/branch' for second remote created

Extand IntegrationHelper to be able to create a more complexe test case...
2014-04-20 00:10:44 +02:00
Philippe Miossec 873755f510 Unit test for Autobootsrap when using -I option
Auto bootstap 'tfs/default' for first remote created
2014-04-20 00:10:42 +02:00
Matt Burke b3c83c8f55 Don't convert line endings in commit messages.
* Update to include libgit2/libgit2sharp#611
* Revert 4eaabce1ae
* Revise release notes for #534
2014-02-12 06:46:49 -05:00
Arkadiy Shapkin b90b8ca53f Removed unused using directives 2014-02-06 15:35:03 +04:00
Matt Burke 4eaabce1ae Update commit shas. 2014-02-05 13:30:26 -05:00
Matt Burke bcac478525 Ignore line endings in commit messages. 2014-02-05 13:11:00 -05:00
Matt Burke 23a817feeb Extract the tree & commit assertions. 2014-02-05 09:16:44 -05:00
Matt Burke afa5bce3b9 Make sure the tree is right, too. 2014-02-05 07:39:29 -05:00
Matt Burke 72480e7154 Add an assertion on commit message.
This is what's likely to change while I'm working on this branch. This
is going to be easier to debug than a commit sha that changes.
2014-01-17 18:01:28 -05:00
Matt Burke 32cff0cffc Merge pull request #521 from kgybels/fix_warnings
Fix simple compiler warnings
2014-01-15 16:49:18 -05:00
Matt Burke 345c726b92 Test change sorting. 2014-01-14 15:39:09 -05:00
Matt Burke b8dca21083 Also rename a file from not ignored to not ignored. 2014-01-08 18:06:16 -05:00
Matt Burke 3283cfc3e9 Add a test that shows a problem with fetching + ignore + rename. 2014-01-08 18:02:13 -05:00
Matt Burke 787a3dd2db 🆒 with commits that have only ignored content. 2014-01-08 17:14:18 -05:00
Matt Burke d8f05cd463 Add a test for ignore-regex. 2014-01-08 16:49:10 -05:00
Kim Gybels bcd282c399 Fix simple compiler warnings 2014-01-03 17:09:28 +01:00
Philippe Miossec 83b78272d1 Merge branch 'master' into fetch_merge_when_no_commit
Conflicts:
	GitTfs/Commands/InitBranch.cs
2013-09-07 21:08:06 +02:00
Philippe Miossec 1265fc02a0 GitTfsTest : Correct accordingly to the new way to setup a git repository 2013-07-28 16:36:46 +02:00
Philippe Miossec 25a9b6c245 Rewrite UnitTest to be more understandable 2013-07-22 00:39:35 +02:00
Philippe Miossec 3eccf11e80 Unit Test for cloning repo with merge changeset 2013-07-02 10:39:27 +02:00
Matt Burke 3b7b07896a Update libgit2sharp.
I'm not all that pleased by the interface change to Dump, but
it works and is simple.

This should close #300.
2013-01-31 19:33:22 -05:00
Matt Burke b4106017f8 Use an explicit committer, too. 2013-01-10 09:17:43 -05:00
Matt Burke 5323ffa6d1 Use an explicit author for test commits, so that less config is required / depended on. 2013-01-10 09:11:21 -05:00
Matt Burke bee409ed42 Fallout from those merge conflicts. 2013-01-09 16:58:05 -05:00
Matt Burke d062991eff Merge branch 'master' into refactor-to-functional-core
Conflicts:
	GitTfs/Commands/Init.cs
	GitTfs/Core/GitRepository.cs
	GitTfs/Core/GitTfsRemote.cs
	GitTfsTest/Integration/CloneTests.cs
	GitTfsTest/Integration/IntegrationHelper.cs
2013-01-09 15:39:59 -05:00
Matt Burke 42e3369675 Fix things broken by the merge. 2013-01-09 15:25:27 -05:00
Matt Burke 3f8a9e280c Merge branch 'master' into test-changes
Conflicts:
	GitTfsTest/Integration/IntegrationHelper.cs
2013-01-09 15:24:29 -05:00
Matt Burke ed016a21d8 Run integration tests in-process.
Hopefully this doesn't mess too many things up.
2013-01-04 16:52:01 -05:00
Matt Burke d704a30507 Use libgit2sharp for rev-parse. 2013-01-04 16:43:41 -05:00