-
-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
107 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
81 changes: 0 additions & 81 deletions
81
...ationTools.Clients.AzureDevops.ObjectModel.Tests/Processors/Infra/MigrationEngineTests.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
src/MigrationTools.Clients.FileSystem.Tests/ServiceProviderHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
using Microsoft.Extensions.DependencyInjection; | ||
using MigrationTools.Services; | ||
using Microsoft.Extensions.Configuration; | ||
using MigrationTools.Services.Shadows; | ||
using MigrationTools.Shadows; | ||
//using Microsoft.Extensions.DependencyInjection; | ||
//using MigrationTools.Services; | ||
//using Microsoft.Extensions.Configuration; | ||
//using MigrationTools.Services.Shadows; | ||
//using MigrationTools.Shadows; | ||
|
||
namespace MigrationTools.Tests | ||
{ | ||
internal static class ServiceProviderHelper | ||
{ | ||
internal static ServiceProvider GetServices() | ||
{ | ||
var configuration = new ConfigurationBuilder().Build(); | ||
var services = new ServiceCollection(); | ||
services.AddMigrationToolServicesForUnitTests(); | ||
//namespace MigrationTools.Tests | ||
//{ | ||
// internal static class ServiceProviderHelper | ||
// { | ||
// internal static ServiceProvider GetServices() | ||
// { | ||
// var configuration = new ConfigurationBuilder().Build(); | ||
// var services = new ServiceCollection(); | ||
// services.AddMigrationToolServicesForUnitTests(); | ||
|
||
services.AddMigrationToolServices(configuration); | ||
services.AddMigrationToolServicesForClientFileSystem(configuration); | ||
// services.AddMigrationToolServices(configuration); | ||
// services.AddMigrationToolServicesForClientFileSystem(configuration); | ||
|
||
services.AddSingleton<IMigrationToolVersionInfo, FakeMigrationToolVersionInfo>(); | ||
services.AddSingleton<IMigrationToolVersion, FakeMigrationToolVersion>(); | ||
// services.AddSingleton<IMigrationToolVersionInfo, FakeMigrationToolVersionInfo>(); | ||
// services.AddSingleton<IMigrationToolVersion, FakeMigrationToolVersion>(); | ||
|
||
return services.BuildServiceProvider(); | ||
} | ||
} | ||
} | ||
// return services.BuildServiceProvider(); | ||
// } | ||
// } | ||
//} |
Oops, something went wrong.