diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2019-02-18 14:54:00 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2019-02-18 15:14:29 +0300 |
commit | b529cbc9fdea841ebb31c9ad7a44f7d80e843cae (patch) | |
tree | b7341920a5521dfd865b9a19639c4e702f8518d6 /main/tests/IdeUnitTests/IdeUnitTests.csproj | |
parent | c6e2cc9e2d11e6e1017845e984d2d91c42101758 (diff) |
Unit test infrastructure improvements
Created mock classes for IShell and related interfaces.
Unit tests now can use the [RequireService] attribute to force the
initialization of a service before starting a test.
Diffstat (limited to 'main/tests/IdeUnitTests/IdeUnitTests.csproj')
-rw-r--r-- | main/tests/IdeUnitTests/IdeUnitTests.csproj | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/main/tests/IdeUnitTests/IdeUnitTests.csproj b/main/tests/IdeUnitTests/IdeUnitTests.csproj index 7c94a7e41d..b604d56df4 100644 --- a/main/tests/IdeUnitTests/IdeUnitTests.csproj +++ b/main/tests/IdeUnitTests/IdeUnitTests.csproj @@ -15,18 +15,29 @@ <Reference Include="Microsoft.VisualStudio.Composition, Version=15.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <HintPath>..\..\packages\Microsoft.VisualStudio.Composition.15.6.36\lib\net45\Microsoft.VisualStudio.Composition.dll</HintPath> </Reference> + <Reference Include="System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </ItemGroup> <ItemGroup> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="IdeTestBase.cs" /> <Compile Include="TextEditorExtensionTestBase.cs" /> <Compile Include="TypeSystemServiceTestExtensions.cs" /> - <Compile Include="TestDocument.cs" /> <Compile Include="TestViewContent.cs" /> - <Compile Include="TestWorkbenchWindow.cs" /> <Compile Include="RoslynTestBase.cs" /> <Compile Include="CompositionManagerTestHelpers.cs" /> <Compile Include="ProjectTemplateTest.cs" /> + <Compile Include="ServiceHelper.cs" /> + <Compile Include="MockShell.cs" /> + <Compile Include="MockShellWindow.cs" /> + <Compile Include="MockProgressMonitorManager.cs" /> + <Compile Include="MockOutputProgressMonitor.cs" /> + <Compile Include="MockOperationConsole.cs" /> + <Compile Include="MockShellNotebook.cs" /> + <Compile Include="MockShellDocumentViewContent.cs" /> + <Compile Include="MockShellDocumentViewContainer.cs" /> + <Compile Include="MockShellDocumentView.cs" /> + <Compile Include="MockShellDocumentToolbar.cs" /> + <Compile Include="MockViewBuilder.cs" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\src\core\MonoDevelop.Core\MonoDevelop.Core.csproj"> |