Skip to content

Commit 43e7c6d

Browse files
committed
Final touch.
1 parent 8108d18 commit 43e7c6d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Rubberduck.Core/UI/Command/Refactorings/RefactorExtractInterfaceCommand.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,5 @@ private bool SpecializedEvaluateCanExecute(object parameter)
3434
}
3535
return ((ExtractInterfaceRefactoring)Refactoring).CanExecute(_state, activeSelection.Value.QualifiedName);
3636
}
37-
38-
private static readonly IReadOnlyList<DeclarationType> ModuleTypes = new[]
39-
{
40-
DeclarationType.ClassModule,
41-
DeclarationType.UserForm,
42-
DeclarationType.Document,
43-
};
4437
}
4538
}

RubberduckTests/CodeExplorer/CodeExplorerViewModelTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ public bool AddUserDocument_CanExecuteBasedOnProjectType(ProjectType projectType
254254
[TestCase(ComponentType.Document, ExpectedResult = true)]
255255
[TestCase(ComponentType.MDIForm, ExpectedResult = true)]
256256
[TestCase(ComponentType.PropPage, ExpectedResult = true)]
257-
[TestCase(ComponentType.RelatedDocument, ExpectedResult = false, Ignore = "Module doesn't contain members")]
258-
[TestCase(ComponentType.ResFile, ExpectedResult = false, Ignore = "Module doesn't contain members")]
257+
[TestCase(ComponentType.RelatedDocument, ExpectedResult = false, Ignore = "Project doesn't contain selectable modules")]
258+
[TestCase(ComponentType.ResFile, ExpectedResult = false, Ignore = "Project doesn't contain selectable modules")]
259259
[TestCase(ComponentType.StandardModule, ExpectedResult = false)]
260260
[TestCase(ComponentType.Undefined, ExpectedResult = true)]
261261
[TestCase(ComponentType.UserControl, ExpectedResult = true)]

0 commit comments

Comments
 (0)