зеркало из
1
0
Форкнуть 0

Add test to verify issue 23 is not a problem

This commit is contained in:
Charlie Poole 2021-09-26 14:05:11 -07:00
Родитель 7266d7a4b1
Коммит bfe5f8f353
4 изменённых файлов: 41 добавлений и 1 удалений

Просмотреть файл

@ -76,6 +76,9 @@ namespace NUnit.Engine.Services.ProjectLoaders.Tests
.WithConfig("Debug", ".bin/Debug/TestTemplatedPathsAssembly/TestTemplatedPathsAssembly.dll")
.WithConfig("Release", ".bin/Release/TestTemplatedPathsAssembly/TestTemplatedPathsAssembly.dll")
.WithConfig("FixedPath", "FixedPath//TestTemplatedPathsAssembly.dll"),
new ProjectData("nonsdk-x86-only.csproj")
.WithConfig("Debug", "bin/x86/Debug/DD.Net_46.Tests.dll")
.WithConfig("Release", "bin/x86/Release/DD.Net_46.Tests.dll"),
new ProjectData("nonsdk-xna-project.csproj")
.Named("XNAWindowsProject")
.WithConfig("Debug", "bin/x86/Debug/XNAWindowsProject.exe")

Просмотреть файл

@ -45,7 +45,7 @@ namespace NUnit.Engine.Services.ProjectLoaders.Tests
protected void CanLoadProject(ProjectData projectData)
{
Assert.That(_loader.CanLoadFrom(projectData.ProjectName));
Assert.That(_loader.CanLoadFrom(projectData.ProjectName), "Failed to load project");
using (TestResource file = new TestResource(projectData.ProjectName))
{

Просмотреть файл

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\NUnit3TestAdapter.3.9.0\build\net35\NUnit3TestAdapter.props" Condition="Exists('..\packages\NUnit3TestAdapter.3.9.0\build\net35\NUnit3TestAdapter.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8EDF4429-251A-416D-BB68-93F227191BCF}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DD.Net_46.Tests</RootNamespace>
<AssemblyName>DD.Net_46.Tests</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>8dc73fc5</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
</Project>

Просмотреть файл

@ -83,6 +83,7 @@
<EmbeddedResource Include="resources\sdk-multiple-frameworks.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="resources\nonsdk-x86-only.csproj" />
<None Include="resources\VBConsoleApp.sln" />
</ItemGroup>
</Project>