File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
MigrationTools.Clients.AzureDevops.Rest.Tests/Processors
MigrationTools.Clients.TfsObjectModel.Tests/Processors
MigrationTools.Shadows/Tools Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ protected AzureDevOpsPipelineProcessor GetAzureDevOpsPipelineProcessor(AzureDevO
2525 services . AddSingleton < CommonTools > ( ) ;
2626 services . AddSingleton < IFieldMappingTool , MockFieldMappingTool > ( ) ;
2727 services . AddSingleton < IWorkItemTypeMappingTool , MockWorkItemTypeMappingTool > ( ) ;
28+ services . AddSingleton < IExportWorkItemMappingTool , MockExportWorkItemMappingTool > ( ) ;
2829 services . AddSingleton < IStringManipulatorTool , StringManipulatorTool > ( ) ;
2930
3031 services . AddSingleton < AzureDevOpsPipelineProcessor > ( ) ;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ protected TfsTeamSettingsProcessor GetTfsTeamSettingsProcessor(TfsTeamSettingsPr
3838 services . AddSingleton < CommonTools > ( ) ;
3939 services . AddSingleton < IFieldMappingTool , MockFieldMappingTool > ( ) ;
4040 services . AddSingleton < IWorkItemTypeMappingTool , MockWorkItemTypeMappingTool > ( ) ;
41+ services . AddSingleton < IExportWorkItemMappingTool , MockExportWorkItemMappingTool > ( ) ;
4142 services . AddSingleton < IStringManipulatorTool , StringManipulatorTool > ( ) ;
4243 services . AddSingleton < IWorkItemQueryBuilderFactory , WorkItemQueryBuilderFactory > ( ) ;
4344 services . AddSingleton < IWorkItemQueryBuilder , WorkItemQueryBuilder > ( ) ;
@@ -107,6 +108,7 @@ protected TfsSharedQueryProcessor GetTfsSharedQueryProcessor(TfsSharedQueryProce
107108 services . AddSingleton < CommonTools > ( ) ;
108109 services . AddSingleton < IFieldMappingTool , MockFieldMappingTool > ( ) ;
109110 services . AddSingleton < IWorkItemTypeMappingTool , MockWorkItemTypeMappingTool > ( ) ;
111+ services . AddSingleton < IExportWorkItemMappingTool , MockExportWorkItemMappingTool > ( ) ;
110112 services . AddSingleton < IStringManipulatorTool , StringManipulatorTool > ( ) ;
111113 services . TryAddScoped < IWorkItemQueryBuilderFactory , WorkItemQueryBuilderFactory > ( ) ;
112114
Original file line number Diff line number Diff line change 1+ using MigrationTools . Tools . Interfaces ;
2+
3+ namespace MigrationTools . Tools . Shadows
4+ {
5+ public class MockExportWorkItemMappingTool : IExportWorkItemMappingTool
6+ {
7+ public void AddMapping ( string sourceId , string targetId )
8+ {
9+ }
10+
11+ public void SaveMappings ( )
12+ {
13+ }
14+ }
15+ }
You can’t perform that action at this time.
0 commit comments