diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-26 21:39:47 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-26 21:39:47 +0100 |
| commit | 73a6878e1869a2f742bba15364459ae0eea45962 (patch) | |
| tree | 34f28bad3bf143858168d6ec578fb1c0a7ffb4fd | |
| parent | aa03f17c4381c8042007f5462c5a5ff87dc5d932 (diff) | |
Add empty test project for .NET
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | dotnet/.nuget/packages.config | 4 | ||||
| -rw-r--r-- | dotnet/Mammoth.Cli/Properties/AssemblyInfo.cs | 2 | ||||
| -rw-r--r-- | dotnet/Mammoth.Tests/DocumentConverterTests.cs | 5 | ||||
| -rw-r--r-- | dotnet/Mammoth.Tests/Mammoth.Tests.csproj | 54 | ||||
| -rw-r--r-- | dotnet/Mammoth.Tests/Properties/AssemblyInfo.cs | 27 | ||||
| -rw-r--r-- | dotnet/Mammoth.Tests/packages.config | 9 | ||||
| -rw-r--r-- | dotnet/Mammoth.sln | 6 | ||||
| -rw-r--r-- | dotnet/Mammoth/Properties/AssemblyInfo.cs | 2 |
9 files changed, 110 insertions, 2 deletions
@@ -6,4 +6,7 @@ /dotnet/Mammoth/obj /dotnet/Mammoth.Cli/bin /dotnet/Mammoth.Cli/obj +/dotnet/Mammoth.Tests/bin +/dotnet/Mammoth.Tests/obj +/dotnet/packages *.userprefs diff --git a/dotnet/.nuget/packages.config b/dotnet/.nuget/packages.config new file mode 100644 index 0000000..4bbca7b --- /dev/null +++ b/dotnet/.nuget/packages.config @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="xunit.runner.console" version="2.1.0" /> +</packages>
\ No newline at end of file diff --git a/dotnet/Mammoth.Cli/Properties/AssemblyInfo.cs b/dotnet/Mammoth.Cli/Properties/AssemblyInfo.cs index e68abd2..1f83366 100644 --- a/dotnet/Mammoth.Cli/Properties/AssemblyInfo.cs +++ b/dotnet/Mammoth.Cli/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ using System.Runtime.CompilerServices; [assembly: AssemblyConfiguration ("")] [assembly: AssemblyCompany ("")] [assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("mick")] +[assembly: AssemblyCopyright ("Michael Williamson")] [assembly: AssemblyTrademark ("")] [assembly: AssemblyCulture ("")] diff --git a/dotnet/Mammoth.Tests/DocumentConverterTests.cs b/dotnet/Mammoth.Tests/DocumentConverterTests.cs new file mode 100644 index 0000000..112087a --- /dev/null +++ b/dotnet/Mammoth.Tests/DocumentConverterTests.cs @@ -0,0 +1,5 @@ +namespace Mammoth.Tests { + public class DocumentConverterTests { + } +} + diff --git a/dotnet/Mammoth.Tests/Mammoth.Tests.csproj b/dotnet/Mammoth.Tests/Mammoth.Tests.csproj new file mode 100644 index 0000000..89daf3b --- /dev/null +++ b/dotnet/Mammoth.Tests/Mammoth.Tests.csproj @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{E9C3EA8B-FF3B-4E3E-8137-1510465200B5}</ProjectGuid> + <OutputType>Library</OutputType> + <RootNamespace>Mammoth.Tests</RootNamespace> + <AssemblyName>Mammoth.Tests</AssemblyName> + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug</OutputPath> + <DefineConstants>DEBUG;</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <ConsolePause>false</ConsolePause> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>full</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release</OutputPath> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <ConsolePause>false</ConsolePause> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="xunit.abstractions"> + <HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath> + </Reference> + <Reference Include="xunit.core"> + <HintPath>..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll</HintPath> + </Reference> + <Reference Include="xunit.execution.desktop"> + <HintPath>..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll</HintPath> + </Reference> + <Reference Include="xunit.assert"> + <HintPath>..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll</HintPath> + </Reference> + </ItemGroup> + <ItemGroup> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="DocumentConverterTests.cs" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <Import Project="..\packages\xunit.core.2.1.0\build\portable-net45+win8+wp8+wpa81\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.1.0\build\portable-net45+win8+wp8+wpa81\xunit.core.props')" /> + <ItemGroup> + <None Include="packages.config" /> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/dotnet/Mammoth.Tests/Properties/AssemblyInfo.cs b/dotnet/Mammoth.Tests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..79596a3 --- /dev/null +++ b/dotnet/Mammoth.Tests/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle ("Mammoth.Tests")] +[assembly: AssemblyDescription ("")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyCopyright ("Michael Williamson")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion ("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] + diff --git a/dotnet/Mammoth.Tests/packages.config b/dotnet/Mammoth.Tests/packages.config new file mode 100644 index 0000000..69a4ec4 --- /dev/null +++ b/dotnet/Mammoth.Tests/packages.config @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="xunit" version="2.1.0" targetFramework="net45" /> + <package id="xunit.abstractions" version="2.0.0" targetFramework="net45" /> + <package id="xunit.assert" version="2.1.0" targetFramework="net45" /> + <package id="xunit.core" version="2.1.0" targetFramework="net45" /> + <package id="xunit.extensibility.core" version="2.1.0" targetFramework="net45" /> + <package id="xunit.extensibility.execution" version="2.1.0" targetFramework="net45" /> +</packages>
\ No newline at end of file diff --git a/dotnet/Mammoth.sln b/dotnet/Mammoth.sln index 7dae37b..630467d 100644 --- a/dotnet/Mammoth.sln +++ b/dotnet/Mammoth.sln @@ -5,6 +5,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mammoth", "Mammoth\Mammoth. EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mammoth.Cli", "Mammoth.Cli\Mammoth.Cli.csproj", "{20602E78-EEBD-407B-B8C3-EDB6254BD663}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mammoth.Tests", "Mammoth.Tests\Mammoth.Tests.csproj", "{E9C3EA8B-FF3B-4E3E-8137-1510465200B5}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -19,5 +21,9 @@ Global {51C5CBD6-8809-4D5E-BABE-1787A16F5ED8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{51C5CBD6-8809-4D5E-BABE-1787A16F5ED8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{51C5CBD6-8809-4D5E-BABE-1787A16F5ED8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E9C3EA8B-FF3B-4E3E-8137-1510465200B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E9C3EA8B-FF3B-4E3E-8137-1510465200B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E9C3EA8B-FF3B-4E3E-8137-1510465200B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E9C3EA8B-FF3B-4E3E-8137-1510465200B5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/dotnet/Mammoth/Properties/AssemblyInfo.cs b/dotnet/Mammoth/Properties/AssemblyInfo.cs index 6ef611f..adf69fc 100644 --- a/dotnet/Mammoth/Properties/AssemblyInfo.cs +++ b/dotnet/Mammoth/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ using System.Runtime.CompilerServices; [assembly: AssemblyConfiguration ("")] [assembly: AssemblyCompany ("")] [assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("mick")] +[assembly: AssemblyCopyright ("Michael Williamson")] [assembly: AssemblyTrademark ("")] [assembly: AssemblyCulture ("")] |
