Commit Graph

28 Commits

Author SHA1 Message Date
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
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 28a199a382 Fix/skip tests on unix/mac. 2012-09-13 09:02:19 -04:00
Matt Burke 561033f841 Convert another test, following rebase. 2012-08-29 16:59:30 -04:00
Matt Burke 3b6dd441c3 Use xunit. 2012-08-29 16:52:32 -04:00
Eldhuset, Åsmund aab5d48426 Fixing CloneTests.CloneWithtMixedUpCase().
This test came very close to detecting the bug in #174. However, the bug only manifests itself when the difference in casing occurs deeper than the folders that are the children of the repo folder (so "$/MyProject/Folder" and "$/MyProject/folder" worked, but "$/MyProject/Foo/Bar" and "$/MyProject/Foo/bar" didn't work). The fixed test passes when 3a1d996aad is applied and fails without it.
Also, the line endings have been normalized to LF, which was the dominant line ending in the file (but seems to be contrary to most other files in the repo).
2012-08-17 13:03:53 +02: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 a7810fb6e5 Fix line endings
Somehow the previous merge commit added incorrect line endings.
2012-08-12 20:02:14 +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 682d683802 Update refs for unit tests 2012-08-12 00:19:51 -04: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
Eldhuset, Åsmund ca490a20c2 Making CloneTests pass on computers in different time zones. 2012-08-10 16:23:36 +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