In a best case scenario this will build, nunit should be loaded by the build process.

This commit is contained in:
berinder
2014-10-09 22:18:51 +02:00
parent 59953cbe36
commit aec847cafe
5 changed files with 141 additions and 1 deletions
+20 -1
View File
@@ -1,5 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio 2013
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logic", "Logic\Logic.csproj", "{13E59551-34AC-43DC-9A03-EF5E4721DC61}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Interface", "Interface\Interface.csproj", "{BA24FAF7-D518-49E8-952A-45595682877E}"
@@ -42,6 +44,8 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Site5", "Site5\", "{367F36E
{BA24FAF7-D518-49E8-952A-45595682877E} = {BA24FAF7-D518-49E8-952A-45595682877E}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{011D2EFB-77AB-4A13-A753-85C2E56C961D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Autobuild|.NET = Autobuild|.NET
@@ -172,6 +176,21 @@ Global
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Any CPU.Build.0 = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Mixed Platforms.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Mixed Platforms.Build.0 = Debug|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Autobuild|.NET.ActiveCfg = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Autobuild|Any CPU.ActiveCfg = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Autobuild|Any CPU.Build.0 = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Autobuild|Mixed Platforms.ActiveCfg = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Autobuild|Mixed Platforms.Build.0 = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Debug|.NET.ActiveCfg = Debug|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Release|.NET.ActiveCfg = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Release|Any CPU.Build.0 = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{011D2EFB-77AB-4A13-A753-85C2E56C961D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
+22
View File
@@ -0,0 +1,22 @@
using NUnit.Framework;
namespace Tests
{
class DummyTest
{
[TestCase]
public void ThisTestShouldSuccedd()
{
Assert.True(true);
}
[TestCase]
public void ThisTestShouldFail()
{
Assert.Fail();
}
}
}
+36
View File
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Tieto")]
[assembly: AssemblyProduct("Tests")]
[assembly: AssemblyCopyright("Copyright © Tieto 2014")]
[assembly: AssemblyTrademark("")]
[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("7c33f251-0319-4b3b-af1d-f35eacbcee77")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
+59
View File
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{011D2EFB-77AB-4A13-A753-85C2E56C961D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Tests</RootNamespace>
<AssemblyName>Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DummyTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.3" targetFramework="net45" />
</packages>