Skip to content

Commit

Permalink
(GH-1) Adds failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorkstromm authored and daveaglick committed Oct 10, 2017
1 parent 2d72eed commit a67027b
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Buildalyzer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Buildalyzer.Workspaces", "B
EndProject
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
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LegacyFrameworkProjectWithReference", "LegacyFrameworkProjectWithReference\LegacyFrameworkProjectWithReference.csproj", "{D1F5AD80-ADED-4286-8FA4-3A8A6E818D34}"
EndProject
Global
Expand Down Expand Up @@ -61,6 +65,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
{D1F5AD80-ADED-4286-8FA4-3A8A6E818D34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1F5AD80-ADED-4286-8FA4-3A8A6E818D34}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1F5AD80-ADED-4286-8FA4-3A8A6E818D34}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -76,6 +88,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}
{D1F5AD80-ADED-4286-8FA4-3A8A6E818D34} = {2D6F1622-8D17-4D49-A9D1-E4AEAFE99370}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
Expand Down
4 changes: 3 additions & 1 deletion NetCoreTests/NetCoreTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public class NetCoreTestFixture
@"LegacyFrameworkProjectWithReference\LegacyFrameworkProjectWithReference.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 a67027b

Please sign in to comment.