Browse Source

224 small fixes: include moq in Sys.Win.Forms.Design.Editors; move Sys.Win.Forms.Design.Tests to UnitTests subdir (#537)

* move System.Windows.Forms.Design.Tests underneath UnitTests subfolder; related sln fix

* add moq package reference to system.windows.forms.design.editors.tests project file

* these references are one directory farther away now
pull/558/head
Zachary Danz 6 years ago
committed by GitHub
parent
commit
2f45c79f99
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Winforms.sln
  2. 3
      src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj
  3. 15
      src/System.Windows.Forms.Design/tests/System.Windows.Forms.Design.Tests.csproj
  4. 0
      src/System.Windows.Forms.Design/tests/UnitTests/ControlDesignerTests.cs
  5. 0
      src/System.Windows.Forms.Design/tests/UnitTests/Mocks/MockControlDesigner.cs
  6. 15
      src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj
  7. 0
      src/System.Windows.Forms.Design/tests/UnitTests/System/Drawing/Design/ToolboxItemCollectionTests.cs
  8. 0
      src/System.Windows.Forms.Design/tests/UnitTests/System/Drawing/Design/ToolboxItemTests.cs

2
Winforms.sln

@ -19,7 +19,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Editors.Tests", "src\System.Windows.Forms.Design.Editors\tests\UnitTests\System.Windows.Forms.Design.Editors.Tests.csproj", "{27F24D0C-5F0A-472E-AE12-98B386A13D50}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Tests", "src\System.Windows.Forms.Design\tests\System.Windows.Forms.Design.Tests.csproj", "{F977CA8C-FBF9-4D82-80BA-FE5B2F33486E}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Tests", "src\System.Windows.Forms.Design\tests\UnitTests\System.Windows.Forms.Design.Tests.csproj", "{F977CA8C-FBF9-4D82-80BA-FE5B2F33486E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design", "src\System.Windows.Forms.Design\src\System.Windows.Forms.Design.csproj", "{61D06BBD-B0CF-4CE1-9139-1CC4B82F0F9B}"
EndProject

3
src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj

@ -5,7 +5,8 @@
<AssemblyName>System.Windows.Forms.Design.Editors.Tests</AssemblyName>
</PropertyGroup>
<ItemGroup>
<ItemGroup>
<PackageReference Include="Moq" Version="$(MoqPackageVersion)" />
<PackageReference Include="xunit.stafact" Version="$(XUnitStaFactPackageVersion)" />
</ItemGroup>

15
src/System.Windows.Forms.Design/tests/System.Windows.Forms.Design.Tests.csproj

@ -1,15 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>System.Windows.Forms.Design.Tests</AssemblyName>
<TargetFramework>netcoreapp3.0</TargetFramework>
<LangVersion>7.3</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\src\System.Windows.Forms.Design.csproj" />
<Compile Include="..\..\Common\tests\CommonTestHelper.cs" Link="Common\CommonTestHelper.cs" />
<ProjectReference Include="..\..\Common\tests\InternalUtilitiesForTests\InternalUtilitiesForTests.csproj" />
</ItemGroup>
</Project>

0
src/System.Windows.Forms.Design/tests/ControlDesignerTests.cs → src/System.Windows.Forms.Design/tests/UnitTests/ControlDesignerTests.cs

0
src/System.Windows.Forms.Design/tests/Mocks/MockControlDesigner.cs → src/System.Windows.Forms.Design/tests/UnitTests/Mocks/MockControlDesigner.cs

15
src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>System.Windows.Forms.Design.Tests</AssemblyName>
<TargetFramework>netcoreapp3.0</TargetFramework>
<LangVersion>7.3</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\System.Windows.Forms.Design.csproj" />
<Compile Include="..\..\..\Common\tests\CommonTestHelper.cs" Link="Common\CommonTestHelper.cs" />
<ProjectReference Include="..\..\..\Common\tests\InternalUtilitiesForTests\InternalUtilitiesForTests.csproj" />
</ItemGroup>
</Project>

0
src/System.Windows.Forms.Design/tests/System/Drawing/Design/ToolboxItemCollectionTests.cs → src/System.Windows.Forms.Design/tests/UnitTests/System/Drawing/Design/ToolboxItemCollectionTests.cs

0
src/System.Windows.Forms.Design/tests/System/Drawing/Design/ToolboxItemTests.cs → src/System.Windows.Forms.Design/tests/UnitTests/System/Drawing/Design/ToolboxItemTests.cs

Loading…
Cancel
Save