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
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
6533bdc3ff
Compile vtccds fixture.
2015-02-02 15:30:02 -05: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
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
Philippe Miossec
c5945cc4a4
Use existing method instead of creating new one
2014-04-27 14:06:11 +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
Arkadiy Shapkin
b90b8ca53f
Removed unused using directives
2014-02-06 15:35:03 +04: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
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
3283cfc3e9
Add a test that shows a problem with fetching + ignore + rename.
2014-01-08 18:02:13 -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
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
Daniel Lee
4784e99fde
Add Fetch/Pull tests
...
Created tests for comparing the tfs url, legacy urls and
the repository path with mixed case when calling git tfs fetch or
git tfs pull. Used libgit2sharp to count the commits before and after.
Added support for running commands from the project directory (git
tfs clone is called from outside the project directory).
2013-01-03 00:49:58 +01:00
Matt Burke
3fc13957dd
Fix an off-by-one.
...
(Thanks, @daniellee! https://groups.google.com/forum/#!msg/git-tfs-dev/kiRE5FB5RKI/xh_sxkH-2H8J )
2012-12-30 08:11:06 -05:00
Kim Gybels
f3325488fa
Merge branch 'master' into unicode
...
Conflicts:
GitTfsTest/Core/GitChangeInfoTests.cs
GitTfsTest/Integration/CloneTests.cs
GitTfsTest/Integration/IntegrationHelper.cs
Conflicts were because extra unit tests were added and existing unit
tests were changed in the unicode branch, and this was done before
the move to xUnit.
2012-12-09 18:29:24 +01:00
Matt Burke
ea752c6209
Add tests for bootstrap.
2012-10-16 17:15:39 -04:00
Matt Burke
6dd896eecd
Unit tests for the configuration for a new tfs remote.
2012-10-16 13:53:13 -04:00
Matt Burke
3b6dd441c3
Use xunit.
2012-08-29 16:52:32 -04:00
Kim Gybels
f71672b4e8
Test: verify correct commit message after clone
...
Verify that the commit message is stored correctly in the
CloneProjectWithInternationalCharactersInCommitMessages test.
2012-08-12 20:04:23 +02:00
Kim Gybels
19414fba0f
Unit test fix: run git instead of git.cmd
...
Recent Git version replaced the git.cmd script with an exe wrapper.
Running git works for both git.cmd and git.exe.
2012-08-12 19:35:52 +02:00
Sean M. Collins
7ac25cbf57
Use the Path variable to locate git.cmd
...
Since we've gone through the trouble of adding it to the startInfo object.
2012-08-11 22:54:45 -04:00
Matt Burke
aba2485463
Merge #200
...
Conflicts:
GitTfsTest/Integration/CloneTests.cs
2012-08-11 21:05:06 -04:00
Eldhuset, Åsmund
e79056af25
Adding tests for the international character support.
2012-08-10 16:45:11 +02:00
Matt Burke
3ff7e7af42
Add a test that demonstrates mixed-case behavior in TFS during clone.
2012-07-17 11:06:05 -04:00
Matt Burke
30e4b8f872
Created a VsFake-based integration test.
2012-04-25 00:44:26 -04:00