Skip to content

Commit

Permalink
(phmonteGH-1) Adds failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorkstromm committed Oct 9, 2017
1 parent d2c8c3f commit 109d4ad
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 2 deletions.
16 changes: 15 additions & 1 deletion Buildalyzer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetCoreTests", "NetCoreTest
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Buildalyzer.Workspaces", "Buildalyzer.Workspaces\Buildalyzer.Workspaces.csproj", "{CA595C2F-9EB8-4BEE-8AE7-8D8DF638EF24}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Buildalyzer.Workspaces.Tests", "Buildalyzer.Workspaces.Tests\Buildalyzer.Workspaces.Tests.csproj", "{E2CAD798-ED8D-4CCA-8095-8393B32D79E2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Buildalyzer.Workspaces.Tests", "Buildalyzer.Workspaces.Tests\Buildalyzer.Workspaces.Tests.csproj", "{E2CAD798-ED8D-4CCA-8095-8393B32D79E2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SdkNetCoreProjectImport", "SdkNetCoreProjectImport\SdkNetCoreProjectImport.csproj", "{887BB9EF-0242-46C0-A5C7-C6526145EBA8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SdkNetStandardProjectImport", "SdkNetStandardProjectImport\SdkNetStandardProjectImport.csproj", "{72E08358-C550-4EB1-B493-F145A319A9B1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -59,6 +63,14 @@ Global
{E2CAD798-ED8D-4CCA-8095-8393B32D79E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E2CAD798-ED8D-4CCA-8095-8393B32D79E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E2CAD798-ED8D-4CCA-8095-8393B32D79E2}.Release|Any CPU.Build.0 = Release|Any CPU
{887BB9EF-0242-46C0-A5C7-C6526145EBA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{887BB9EF-0242-46C0-A5C7-C6526145EBA8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{887BB9EF-0242-46C0-A5C7-C6526145EBA8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{887BB9EF-0242-46C0-A5C7-C6526145EBA8}.Release|Any CPU.Build.0 = Release|Any CPU
{72E08358-C550-4EB1-B493-F145A319A9B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{72E08358-C550-4EB1-B493-F145A319A9B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{72E08358-C550-4EB1-B493-F145A319A9B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{72E08358-C550-4EB1-B493-F145A319A9B1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -70,6 +82,8 @@ Global
{BA3504A1-C143-425E-96D4-1169F445B529} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
{11007EEE-31E0-4E15-8C67-3B97F7D26519} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
{E2CAD798-ED8D-4CCA-8095-8393B32D79E2} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
{887BB9EF-0242-46C0-A5C7-C6526145EBA8} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
{72E08358-C550-4EB1-B493-F145A319A9B1} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1716863C-E9E2-4074-B557-E38CEB3B5C84}
Expand Down
4 changes: 3 additions & 1 deletion NetCoreTests/NetCoreTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ public class NetCoreTestFixture
@"LegacyFrameworkProject\LegacyFrameworkProject.csproj",
#endif
@"SdkNetCoreProject\SdkNetCoreProject.csproj",
@"SdkNetStandardProject\SdkNetStandardProject.csproj"
@"SdkNetCoreProjectImport\SdkNetCoreProjectImport.csproj",
@"SdkNetStandardProject\SdkNetStandardProject.csproj",
@"SdkNetStandardProjectImport\SdkNetStandardProjectImport.csproj"
};

[TestCaseSource(nameof(_projectFiles))]
Expand Down
12 changes: 12 additions & 0 deletions SdkNetCoreProjectImport/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace SdkNetCoreProjectImport
{
public class Class1
{
public void Foo()
{
Console.WriteLine("Bar");
}
}
}
11 changes: 11 additions & 0 deletions SdkNetCoreProjectImport/SdkNetCoreProjectImport.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project>

<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>

<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

</Project>
12 changes: 12 additions & 0 deletions SdkNetStandardProjectImport/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace SdkNetStandardProjectImport
{
public class Class1
{
public void Foo()
{
Console.WriteLine("Bar");
}
}
}
11 changes: 11 additions & 0 deletions SdkNetStandardProjectImport/SdkNetStandardProjectImport.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project>

<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

</Project>

0 comments on commit 109d4ad

Please sign in to comment.