Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
Jamie Cansdale d95149d57f Move IGitClient.Compare method to IGitService 2019-01-08 17:19:41 +00:00
Jamie Cansdale 62ccc9bd34 Move Compare and CompareWith to IGitService
IGitService knows about IRepository but not remote servers. IGitClient
knows about remote git repositories. IGitService  is a more appropriate
home for Compare and CompareWith.
2019-01-08 15:55:13 +00:00
Jamie Cansdale 26874ebe79 Convert all projects to use .NET Framework 4.6
This is the version that Visual Studio is compatible with. Compiling
for .NET Framework 4.6.1 risks referencing assemblies that aren't
always available.
2018-11-20 10:47:40 +00:00
Jamie Cansdale ec711106df Fix tests that use repository models
Convert them from using NSubstitute to creating the model object.
2018-11-05 15:31:12 +00:00
Jamie Cansdale d7025364b1 Remove the interface from RepositoryModel 2018-11-02 14:10:02 +00:00
Jamie Cansdale 9e341e04b4 Remove IBranch interface from BranchModel 2018-11-02 13:53:42 +00:00
Jamie Cansdale bccfbd07cb Rename CreateCurrentBranchModel to GetBranch 2018-11-02 12:29:10 +00:00
Jamie Cansdale 925279f709 Remove obsolete RefreshCloneUrl API
This is no longer called by TeamExplorerServiceHolder.
2018-11-01 13:28:33 +00:00
Jamie Cansdale a4c83863b9 Rename IGitService.Refresh to RefreshCloneUrl
Be explicit about what it does.
2018-10-31 18:03:25 +00:00
Jamie Cansdale db41ef99e5 Get rid of LocalRepositoryModelFactory
We can now use GitService as a LocalRepositoryMode factory.
2018-10-31 17:29:47 +00:00
Jamie Cansdale c0e369cecb Pass IServiceProvider not IAsyncServiceProvider
There are assemblies with exactly the same IAsyncServiceProvider
namespace + name. Change to use IServiceProvider instead to avoid
having to use assembly aliases. These were getting more complication
with the introduction of Visual Studio 2019 support.
2018-10-25 17:10:27 +01:00
Steven Kirk f26890eb01 Use Array.Empty in tests. 2018-10-19 15:49:57 +02:00
Steven Kirk 853cac23f7 Added global suppressions for unit tests. 2018-10-18 11:03:16 +02:00
Steven Kirk a953c0eb72
Merge branch 'master' into fixes/1924-use-GitSccProvider-UIContext 2018-09-20 10:12:06 +02:00
Jamie Cansdale 40aa999b33 Remove packages.config file for Sdk style projects
We're now using <PackageReference> for these projects.
2018-09-19 13:45:29 +01:00
Jamie Cansdale 0777f44018 Make VSGitExt use GitSccProvider UIContext
It appears that using UICONTEXT.RepositoryOpen in VSGitExt doesn't work
consistently. Revert back to using the GitSccProvider UIContext.
2018-09-18 17:11:14 +01:00
Steven Kirk c05585e53e Reinstate other VSGitExtTests base classes.
Really no idea why I removed these...
2018-09-06 18:49:18 +02:00
Steven Kirk 99d416fe0f Reinstate base class.
Can't remember why this was removed.
2018-09-06 17:24:10 +02:00
Steven Kirk 7217eff7bc Merge branch 'master' into refactor/sdk-csproj 2018-08-23 15:37:12 +02:00
Jamie Cansdale 67f9b6df91 Initialize VSGitExt in UICONTEXT.RepositoryOpen
We can be more precise and only initialize VSGitExt when in the
RepositoryOpen UIContext rather than the GitSccProvider UIContext.
2018-07-25 12:55:33 +01:00
Steven Kirk 7e49c440aa Update test projects to SDK csproj format.
Also
- Removed more unnecessary dependencies
- Moved a couple of tests to the right project
- Removed `GitHub.Primitives.UnitTests` as it was testing stuff in `GitHub.Exports`, so moved to `GitHub.Exports.UnitTests`
2018-06-25 13:22:28 +02:00
Steven Kirk 450343dcba
Merge branch 'master' into fixes/1688-initialize-free-threaded 2018-06-22 20:07:47 +02:00
Jamie Cansdale d29ce2fe17 Restore reference to MS.VisualStudio.Threading 2018-06-22 15:10:32 +01:00
Jamie Cansdale aa39c2072a Remove redundant GitHub.InlineReviews references
Only GitHub.InlineReviews.UnitTests should reference
GitHub.InlineReviews.
Also removed some GitHub.App and GitHub.Api references
2018-06-22 14:41:46 +01:00
Jamie Cansdale 69a88c6a48 Trim project references to GitHub.VisualStudio
The only test project that should reference GitHub.VisualStudio is
GitHub.VisualStudio.UnitTests.
2018-06-22 14:17:53 +01:00
Jamie Cansdale bb7c6727f5 Resolve merge conflicts 2018-06-22 12:54:23 +01:00
Meaghan Lewis 3ab34c022b remove unused dependencies from test projects 2018-06-21 16:34:27 -07:00
Meaghan Lewis 01b0688c42 move helpers to shared directory 2018-06-21 15:09:24 -07:00
Steven Kirk a71f0d4d8c Update all Octokit.GraphQL package versions to 0.0.4. 2018-06-21 20:22:49 +02:00
Jamie Cansdale 1103dd1f08 Move SplatModeDetectorSetUp class into shared file
Add workaround to force .NET 4.5 version of Splat to load when
executing inside NCrunch.
2018-06-20 15:08:07 +01:00
Meaghan Lewis a8889ec0eb remove extra references to set in unit test runner 2018-06-15 16:00:56 -07:00
Meaghan Lewis 73d2f26b12 remove usages of fody 2018-06-15 12:49:04 -07:00
Meaghan Lewis a94e0c35ad set in unit test runner for each test project 2018-06-15 12:09:46 -07:00
meaghanlewis 698061b521 split up monolithic test project 2018-06-06 10:05:48 -07:00