Skip to content

Commit 86d2728

Browse files
committed
Update the tests
1 parent 84a6043 commit 86d2728

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

RubberduckTests/Refactoring/MockIoC/RefactoringDialogStub.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
using System.Diagnostics.CodeAnalysis;
2-
using Moq;
3-
using Rubberduck.Refactorings;
1+
using Rubberduck.Refactorings;
2+
using Rubberduck.UI.Refactorings;
43

54
namespace RubberduckTests.Refactoring.MockIoC
65
{
@@ -9,7 +8,7 @@ internal abstract class RefactoringDialogStub<TModel, TView, TViewModel> : IRefa
98
where TView : class, IRefactoringView<TModel>
109
where TViewModel : class, IRefactoringViewModel<TModel>
1110
{
12-
protected RefactoringDialogStub(TModel model, TView view, TViewModel viewModel)
11+
protected RefactoringDialogStub(DialogData dialogData, TModel model, TView view, TViewModel viewModel)
1312
{
1413
Model = model;
1514
ViewModel = viewModel;
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using Rubberduck.Refactorings;
1+
using Rubberduck.Refactorings;
32

43
namespace RubberduckTests.Refactoring.MockIoC
54
{
@@ -14,15 +13,4 @@ protected RefactoringViewStub(TModel model)
1413
public virtual object DataContext { get; set; }
1514
public virtual TModel Model { get; set; }
1615
}
17-
18-
internal abstract class RefactoringViewModelStub<TModel> : IRefactoringViewModel<TModel>
19-
{
20-
protected RefactoringViewModelStub(TModel model)
21-
{
22-
Model = model;
23-
}
24-
25-
public event EventHandler<RefactoringDialogResult> OnWindowClosed;
26-
public TModel Model { get; }
27-
}
2816
}

0 commit comments

Comments
 (0)