зеркало из https://github.com/microsoft/Win2D.git
Update test.managed to MSTest v2
This commit is contained in:
Родитель
e3c26282a0
Коммит
0890413d73
|
@ -57,6 +57,7 @@
|
|||
<UAPProject Include="winrt\test.nativecomponent\winrt.test.nativecomponent.uap.vcxproj" />
|
||||
<UAPProject Include="winrt\test.managed\winrt.test.managed.uap.csproj">
|
||||
<AutomatedTests Condition="$(ShouldRunUAPTests)">store</AutomatedTests>
|
||||
<BuildInParallel>false</BuildInParallel>
|
||||
</UAPProject>
|
||||
<UAPProject Include="samples\SimpleSample\SimpleSample.uap.csproj" />
|
||||
<UAPProject Include="samples\CoreWindowExample\CoreWindowExample.uap.csproj" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.Graphics.Canvas.Effects;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Microsoft.Graphics.Canvas;
|
||||
|
||||
namespace test.managed
|
||||
|
|
|
@ -8,7 +8,7 @@ using System.Collections.Generic;
|
|||
using System.Reflection;
|
||||
using Windows.Foundation;
|
||||
using Windows.UI;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.Graphics.Canvas.Effects;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
#if WINDOWS_UWP
|
||||
using Windows.Graphics.DirectX;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Windows.Foundation;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.Graphics.Canvas.Geometry;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.Graphics.Canvas.Effects;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.Graphics.Canvas.Effects;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using NativeComponent;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Graphics.Canvas;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using NativeComponent;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
|
||||
namespace test.managed
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace test.managed
|
||||
{
|
||||
|
|
|
@ -19,6 +19,13 @@
|
|||
</PropertyGroup>
|
||||
<Import Project="..\..\build\Win2D.cs.props" />
|
||||
<PropertyGroup>
|
||||
<!-- Win2D.common.props tries to gather all obj folders in one place, but overriding
|
||||
the obj location is not compatible with the MSTest.TestAdapter package, so this
|
||||
project has to restore the default obj location. When using a customized obj
|
||||
path, Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll does not get
|
||||
deployed to the build output location. -->
|
||||
<IntermediateOutputPath>obj</IntermediateOutputPath>
|
||||
<BaseIntermediateOutputPath>obj</BaseIntermediateOutputPath>
|
||||
<PackageCertificateKeyFile>$(AssetDir)TemporaryKey.pfx</PackageCertificateKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|Win32'">
|
||||
|
@ -82,8 +89,6 @@
|
|||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<!--A reference to the entire .Net Framework and Windows SDK are automatically included-->
|
||||
<SDKReference Include="MSTestFramework.Universal, Version=$(UnitTestPlatformVersion)" />
|
||||
<SDKReference Include="TestPlatform.Universal, Version=$(UnitTestPlatformVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -154,6 +159,12 @@
|
|||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
||||
<Version>5.0.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="MSTest.TestAdapter">
|
||||
<Version>1.2.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="MSTest.TestFramework">
|
||||
<Version>1.2.0</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
<VisualStudioVersion>14.0</VisualStudioVersion>
|
||||
|
|
Загрузка…
Ссылка в новой задаче