Permalink
Browse files

ExpressionSample - add GW.Statements projects

  • Loading branch information...
bobbymcr committed Apr 15, 2018
1 parent 9539c64 commit 7a4422bb46ed022151fe9d724c7c61dc1f5a15e1
@@ -6,6 +6,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GW.Expressions", "GW.Expres
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GW.Expressions.Test", "GW.Expressions.Test\GW.Expressions.Test.csproj", "{7A31611E-27E5-48B2-AE5D-8CFF8EF4E7AB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GW.Statements", "GW.Statements\GW.Statements.csproj", "{786D0E62-2CE1-4676-803D-06BE64B0341D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GW.Statements.Test", "GW.Statements.Test\GW.Statements.Test.csproj", "{488C84DD-C28A-4A4E-8BE0-C877ACD9FB1B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -20,6 +24,14 @@ Global
{7A31611E-27E5-48B2-AE5D-8CFF8EF4E7AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7A31611E-27E5-48B2-AE5D-8CFF8EF4E7AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7A31611E-27E5-48B2-AE5D-8CFF8EF4E7AB}.Release|Any CPU.Build.0 = Release|Any CPU
{786D0E62-2CE1-4676-803D-06BE64B0341D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{786D0E62-2CE1-4676-803D-06BE64B0341D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{786D0E62-2CE1-4676-803D-06BE64B0341D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{786D0E62-2CE1-4676-803D-06BE64B0341D}.Release|Any CPU.Build.0 = Release|Any CPU
{488C84DD-C28A-4A4E-8BE0-C877ACD9FB1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{488C84DD-C28A-4A4E-8BE0-C877ACD9FB1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{488C84DD-C28A-4A4E-8BE0-C877ACD9FB1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{488C84DD-C28A-4A4E-8BE0-C877ACD9FB1B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\inc\stylecop.targets" />
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="5.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.6.2" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GW.Statements\GW.Statements.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,18 @@
// <copyright file="UnitTest1.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace GW.Statements.Test
{
using FluentAssertions;
using Xunit;
public class UnitTest1
{
[Fact]
public void Test1()
{
new Class1("c1").ToString().Should().Be("c1");
}
}
}
@@ -0,0 +1,18 @@
// <copyright file="Class1.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace GW.Statements
{
public class Class1
{
private readonly string v;
public Class1(string v)
{
this.v = v;
}
public override string ToString() => this.v;
}
}
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\inc\stylecop.targets" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Sprache" Version="2.1.2" />
</ItemGroup>
</Project>

0 comments on commit 7a4422b

Please sign in to comment.