[gbrainy] Include unit test in the Monodevelop project



commit 262da0636bb3053ad50dcf0ef95a5585964c748a
Author: Jordi Mas <jmas softcatala org>
Date:   Sun Mar 6 21:20:34 2011 +0100

    Include unit test in the Monodevelop project

 gbrainy.sln            |   14 ++++-----
 tests/UnitTests.csproj |   75 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+), 8 deletions(-)
---
diff --git a/gbrainy.sln b/gbrainy.sln
index 60b47e4..8c5dfe2 100644
--- a/gbrainy.sln
+++ b/gbrainy.sln
@@ -20,6 +20,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "logic_extension", "sample_e
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "calculation_extension", "sample_extensions\calculation_extension.csproj", "{DC13845E-1990-4713-90CD-DE154D924D12}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "tests\UnitTests.csproj", "{B5AD4535-E94C-40CB-A7B6-60B2ADC0B41D}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -42,6 +44,10 @@ Global
 		{A5DF4079-EF3D-43F8-A36E-EB47058631A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{A5DF4079-EF3D-43F8-A36E-EB47058631A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{A5DF4079-EF3D-43F8-A36E-EB47058631A7}.Release|Any CPU.Build.0 = Release|Any CPU
+		{B5AD4535-E94C-40CB-A7B6-60B2ADC0B41D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{B5AD4535-E94C-40CB-A7B6-60B2ADC0B41D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{B5AD4535-E94C-40CB-A7B6-60B2ADC0B41D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{B5AD4535-E94C-40CB-A7B6-60B2ADC0B41D}.Release|Any CPU.Build.0 = Release|Any CPU
 		{DC13845E-1990-4713-90CD-AC154D9B4D10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{DC13845E-1990-4713-90CD-AC154D9B4D10}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{DC13845E-1990-4713-90CD-AC154D9B4D10}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -54,14 +60,6 @@ Global
 		{DC13845E-1990-4713-90CD-DE154D924D12}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{DC13845E-1990-4713-90CD-DE154D924D12}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{DC13845E-1990-4713-90CD-DE154D924D12}.Release|Any CPU.Build.0 = Release|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Release|Any CPU.Build.0 = Release|Any CPU
-		{DC13845E-1990-4713-90CD-DC154D9B4C12}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(NestedProjects) = preSolution
 		{DC13845E-1990-4713-90CD-AC154D9B4D10} = {229D47C2-80E9-4171-AB6B-95A034BA9186}
diff --git a/tests/UnitTests.csproj b/tests/UnitTests.csproj
new file mode 100644
index 0000000..d18a000
--- /dev/null
+++ b/tests/UnitTests.csproj
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{B5AD4535-E94C-40CB-A7B6-60B2ADC0B41D}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>UnitTests</RootNamespace>
+    <AssemblyName>UnitTests</AssemblyName>
+  </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>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="nunit.core, Version=2.4.7.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+      <Package>mono-nunit</Package>
+    </Reference>
+    <Reference Include="nunit.core.interfaces, Version=2.4.7.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+      <Package>mono-nunit</Package>
+    </Reference>
+    <Reference Include="nunit.framework, Version=2.4.7.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+      <Package>mono-nunit</Package>
+    </Reference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Core\AnalogiesFactoryTest.cs" />
+    <Compile Include="Core\GameManagerTest.cs" />
+    <Compile Include="Core\GameSessionTest.cs" />
+    <Compile Include="Core\GameTest.cs" />
+    <Compile Include="Core\GameXmlFactoryTest.cs" />
+    <Compile Include="Core\PlayerHistoryTest.cs" />
+    <Compile Include="Core\PlayerPersonalRecordTest.cs" />
+    <Compile Include="Clients\Classical\CommandLineTest.cs" />
+    <Compile Include="Games\Logic\PuzzleNumericRelationTest.cs" />
+    <Compile Include="TestSupport\UnitTestSupport.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ProjectExtensions>
+    <MonoDevelop>
+      <Properties InternalTargetFrameworkVersion="3.5" />
+    </MonoDevelop>
+  </ProjectExtensions>
+  <ItemGroup>
+    <ProjectReference Include="..\src\Core\Core.csproj">
+      <Project>{9F2F1F0C-DF7E-4054-B6BA-94F3DD9FF3D9}</Project>
+      <Name>Core</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\gbrainy.csproj">
+      <Project>{A5DF4079-EF3D-43F8-A36E-EB47058631A7}</Project>
+      <Name>gbrainy</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\src\Games\Games.csproj">
+      <Project>{84A80D6F-DB4D-4989-B441-D410D2260775}</Project>
+      <Name>Games</Name>
+    </ProjectReference>
+  </ItemGroup>
+</Project>
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]