Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
N2 test util initial commit.
  • Loading branch information
someone-with-default-username committed Aug 9, 2012
1 parent 42680ac commit 57961ce
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 0 deletions.
9 changes: 9 additions & 0 deletions N2.sln
Expand Up @@ -16,6 +16,8 @@ Project("{EDCC3B85-0BAD-11DB-BC1A-00112FDE8B61}") = "N2.Grammar.Stage2", "N2\N2.
{792F6159-9FF0-4352-8323-591A9BAD3472} = {792F6159-9FF0-4352-8323-591A9BAD3472}
EndProjectSection
EndProject
Project("{EDCC3B85-0BAD-11DB-BC1A-00112FDE8B61}") = "TestUtil", "Tests\TestUtil\TestUtil.nproj", "{07B62A85-8759-493E-A91D-45681FDF96E9}"
EndProject
Project("{EDCC3B85-0BAD-11DB-BC1A-00112FDE8B61}") = "Test", "Tests\Test\Test.nproj", "{7BBCB70E-DF4A-4353-B8C0-66789FA75CBA}"
EndProject
Project("{EDCC3B85-0BAD-11DB-BC1A-00112FDE8B61}") = "N2Parser", "Tests\N2Parser\N2Parser.nproj", "{1466CCE7-65A2-49C4-9C28-23B135FE7A4A}"
Expand Down Expand Up @@ -113,6 +115,12 @@ Global
{24F81277-B44D-4F87-8906-44FE08BB958C}.Release|Any CPU.Build.0 = Release|x86
{24F81277-B44D-4F87-8906-44FE08BB958C}.Release|x86.ActiveCfg = Release|x86
{24F81277-B44D-4F87-8906-44FE08BB958C}.Release|x86.Build.0 = Release|x86
{07B62A85-8759-493E-A91D-45681FDF96E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{07B62A85-8759-493E-A91D-45681FDF96E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{07B62A85-8759-493E-A91D-45681FDF96E9}.Debug|x86.ActiveCfg = Debug|Any CPU
{07B62A85-8759-493E-A91D-45681FDF96E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{07B62A85-8759-493E-A91D-45681FDF96E9}.Release|Any CPU.Build.0 = Release|Any CPU
{07B62A85-8759-493E-A91D-45681FDF96E9}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -128,6 +136,7 @@ Global
{E78897BE-4601-4707-A6CE-498B9B805F99} = {27E0F09D-F6A8-4F12-B240-44AA1F6D4116}
{E4D34957-969C-4CC4-8FB4-79577CC3BE7C} = {27E0F09D-F6A8-4F12-B240-44AA1F6D4116}
{7BBCB70E-DF4A-4353-B8C0-66789FA75CBA} = {27E0F09D-F6A8-4F12-B240-44AA1F6D4116}
{07B62A85-8759-493E-A91D-45681FDF96E9} = {27E0F09D-F6A8-4F12-B240-44AA1F6D4116}
{24F81277-B44D-4F87-8906-44FE08BB958C} = {6D240FCF-6798-4564-A378-1E6D30B0C09B}
EndGlobalSection
EndGlobal
16 changes: 16 additions & 0 deletions Tests/TestUtil/Main.n
@@ -0,0 +1,16 @@
using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Console;
using System.Linq;

module Program
{
Main() : void
{
_ = ReadLine();
}
}
36 changes: 36 additions & 0 deletions Tests/TestUtil/Properties/AssemblyInfo.n
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: Nemerle.Macro.Resource(@"Properties\Resources.resx")]
[assembly: Nemerle.Macro.Settings(@"Properties\Settings.settings")]

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TestUtil")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany(AssemblyConstants.Company)]
[assembly: AssemblyProduct(AssemblyConstants.Product)]
[assembly: AssemblyCopyright(AssemblyConstants.Copyright)]
[assembly: AssemblyTrademark(AssemblyConstants.Trademark)]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("84ad7287-19f6-4e27-a68f-c7d26ffef7be")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
85 changes: 85 additions & 0 deletions Tests/TestUtil/TestUtil.nproj
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{07b62a85-8759-493e-a91d-45681fdf96e9}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TestUtil</RootNamespace>
<AssemblyName>TestUtil</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<NoStdLib>true</NoStdLib>
<NemerleVersion>Net-4.0</NemerleVersion>
<NemerleBinPathRoot Condition=" '$(NemerleBinPathRoot)' == '' ">$(ProgramFiles)\Nemerle</NemerleBinPathRoot>
<Nemerle Condition=" '$(Nemerle)' == '' ">$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle>
<Name>TestUtil</Name>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Nemerle">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Nemerle)\Nemerle.dll</HintPath>
<Private>True</Private>
</Reference>
<MacroReference Include="Nemerle.Linq">
<HintPath>$(Nemerle)\Nemerle.Linq.dll</HintPath>
</MacroReference>
<ProjectReference Include="..\..\N2\N2.Runtime\N2.Runtime.nproj">
<Name>N2.Runtime</Name>
<Project>{9db13eb2-28e3-432b-8c8f-0e39ef5bcc38}</Project>
<Private>True</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="Main.n" />
<Compile Include="Properties\AssemblyInfo.n" />
<Compile Include="..\..\Common\AssemblyConstants.Common.n">
<Link>Properties\AssemblyConstants.Common.n</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<Import Project="$(Nemerle)\Nemerle.MSBuild.targets" />
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

0 comments on commit 57961ce

Please sign in to comment.