Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some shite #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 125 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
push.bat
TestResult.xml
obj
bin
deploy
deploy/*
.idea/*
src/CommonAssemblyInfo.cs
_ReSharper.*
*.csproj.user
*.resharper.user
*.ReSharper.user
*.suo
*.cache
~$*
*.orig
.sass-cache
/Pathways.5.1.TeamCity.user
/src/Pathways/Output
combined_*.js

Rakefile.cg
.idea
/src/Pathways/Bin/AjaxMin.dll
/src/Pathways/Bin/AsyncCtpLibrary.dll
/src/Pathways/Bin/Castle.Core.dll
/src/Pathways/Bin/Castle.Core.pdb
/src/Pathways/Bin/Castle.Core.xml
/src/Pathways/Bin/Castle.Facilities.Logging.dll
/src/Pathways/Bin/Castle.Facilities.Logging.pdb
/src/Pathways/Bin/Castle.Facilities.Logging.xml
/src/Pathways/Bin/Castle.Services.Logging.Log4netIntegration.dll
/src/Pathways/Bin/Castle.Services.Logging.Log4netIntegration.pdb
/src/Pathways/Bin/Castle.Windsor.Lifestyles.dll
/src/Pathways/Bin/Castle.Windsor.Lifestyles.pdb
/src/Pathways/Bin/Castle.Windsor.dll
/src/Pathways/Bin/Castle.Windsor.pdb
/src/Pathways/Bin/Castle.Windsor.xml
/src/Pathways/Bin/EcmaScript.NET.modified.dll
/src/Pathways/Bin/Elmah.dll
/src/Pathways/Bin/Elmah.pdb
/src/Pathways/Bin/Elmah.xml
/src/Pathways/Bin/Esent.Interop.dll
/src/Pathways/Bin/Esent.Interop.pdb
/src/Pathways/Bin/Esent.Interop.xml
/src/Pathways/Bin/Exceptioneer.WebClient.dll
/src/Pathways/Bin/Fasterflect.dll
/src/Pathways/Bin/GleamTech.FileUltimate.dll
/src/Pathways/Bin/GrammarParser.dll
/src/Pathways/Bin/GrammarParser.pdb
/src/Pathways/Bin/ICSharpCode.NRefactory.dll
/src/Pathways/Bin/Lucene.Net.dll
/src/Pathways/Bin/Lucene.Net.pdb
/src/Pathways/Bin/Lucene.Net.xml
/src/Pathways/Bin/Machine.Specifications.dll
/src/Pathways/Bin/Machine.Specifications.pdb
/src/Pathways/Bin/Mono.Posix.dll
/src/Pathways/Bin/Newtonsoft.Json.dll
/src/Pathways/Bin/Newtonsoft.Json.pdb
/src/Pathways/Bin/Newtonsoft.Json.xml
/src/Pathways/Bin/OpenFileSystem.dll
/src/Pathways/Bin/OpenFileSystem.pdb
/src/Pathways/Bin/Pathways.dll
/src/Pathways/Bin/Pathways.pdb
/src/Pathways/Bin/Performance.dll
/src/Pathways/Bin/Performance.pdb
/src/Pathways/Bin/Ploeh.AutoFixture.dll
/src/Pathways/Bin/Ploeh.AutoFixture.xml
/src/Pathways/Bin/Raven.Abstractions.dll
/src/Pathways/Bin/Raven.Abstractions.pdb
/src/Pathways/Bin/Raven.Client.Embedded.dll
/src/Pathways/Bin/Raven.Client.Embedded.pdb
/src/Pathways/Bin/Raven.Client.Embedded.xml
/src/Pathways/Bin/Raven.Client.Lightweight.dll
/src/Pathways/Bin/Raven.Client.Lightweight.pdb
/src/Pathways/Bin/Raven.Client.Lightweight.xml
/src/Pathways/Bin/Raven.Database.dll
/src/Pathways/Bin/Raven.Database.pdb
/src/Pathways/Bin/Raven.Http.dll
/src/Pathways/Bin/Raven.Http.pdb
/src/Pathways/Bin/Raven.Munin.dll
/src/Pathways/Bin/Raven.Munin.pdb
/src/Pathways/Bin/Raven.Storage.Managed.dll
/src/Pathways/Bin/Raven.Storage.Managed.pdb
/src/Pathways/Bin/Snooze.dll
/src/Pathways/Bin/Snooze.pdb
/src/Pathways/Bin/Spark.Web.Mvc.dll
/src/Pathways/Bin/Spark.Web.Mvc.pdb
/src/Pathways/Bin/Spark.dll
/src/Pathways/Bin/Spark.pdb
/src/Pathways/Bin/Spatial.Net.dll
/src/Pathways/Bin/SpellChecker.Net.dll
/src/Pathways/Bin/SpellChecker.Net.xml
/src/Pathways/Bin/SquishIt.Framework.dll
/src/Pathways/Bin/SquishIt.Framework.pdb
/src/Pathways/Bin/System.Data.SQLite.dll
/src/Pathways/Bin/Tjoc.Web.Validator.dll
/src/Pathways/Bin/Tjoc.Web.Validator.pdb
/src/Pathways/Bin/VistaDB.NET20.dll
/src/Pathways/Bin/Yahoo.Yui.Compressor.dll
/src/Pathways/Bin/dotless.Core.dll
/src/Pathways/Bin/dotless.Core.pdb
/src/Pathways/Bin/log4net.dll
/src/Pathways/Bin/log4net.xml
/src/Pathways/Bin/mxgraph.dll
/src/Pathways/Bin/mxgraph.pdb
/src/Pathways/Bin/nVentive.Umbrella.dll
/src/Pathways/Bin/nVentive.Umbrella.pdb
/src/Pathways/Bin/InstallUtil.InstallLog
/src/Pathways/Bin/performance.InstallLog
/src/Pathways/Bin/performance.InstallState
/src/Pathways/Bin/Logging.dll
/src/Pathways/Bin/Logging.pdb
/src/Pathways/Bin/MarkupProcessor.dll
/src/Pathways/Bin/MarkupProcessor.pdb
/src/Pathways/Bin/MvcContrib.TestHelper.dll
/src/Pathways/Bin/MvcContrib.TestHelper.pdb
/src/Pathways/Bin/MvcContrib.TestHelper.xml
/src/Pathways/Bin/MvcContrib.dll
/src/Pathways/Bin/MvcContrib.pdb
/src/Pathways/Bin/MvcContrib.xml
/src/Pathways/Bin/Rhino.Mocks.dll
/src/Pathways/Bin/Rhino.Mocks.xml
/src/Pathways/Bin/Castle.MonoRail.Views.Spark.dll
/src/Pathways/Bin/Castle.MonoRail.Views.Spark.pdb
11 changes: 11 additions & 0 deletions Chess.5.9.TeamCity.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Configuration>
<SettingsComponent>
<string>
<setting name="TeamCity.Toolbar.Shown">-TeamCity;</setting>
</string>
<integer />
<boolean>
<setting name="TeamCity.ServerChangesView.Visible">False</setting>
</boolean>
</SettingsComponent>
</Configuration>
26 changes: 26 additions & 0 deletions Chess.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chess", "Chess\Chess.csproj", "{B65526E3-C8D9-4561-8824-63C19F75B034}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spec", "Spec\Spec.csproj", "{741B926B-D9E8-46B7-8394-046120DF7583}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B65526E3-C8D9-4561-8824-63C19F75B034}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B65526E3-C8D9-4561-8824-63C19F75B034}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B65526E3-C8D9-4561-8824-63C19F75B034}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B65526E3-C8D9-4561-8824-63C19F75B034}.Release|Any CPU.Build.0 = Release|Any CPU
{741B926B-D9E8-46B7-8394-046120DF7583}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{741B926B-D9E8-46B7-8394-046120DF7583}.Debug|Any CPU.Build.0 = Debug|Any CPU
{741B926B-D9E8-46B7-8394-046120DF7583}.Release|Any CPU.ActiveCfg = Release|Any CPU
{741B926B-D9E8-46B7-8394-046120DF7583}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
107 changes: 107 additions & 0 deletions Chess/Chess.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?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>{B65526E3-C8D9-4561-8824-63C19F75B034}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Chess</RootNamespace>
<AssemblyName>Chess</AssemblyName>
<TargetFrameworkVersion>v4.0</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>..\..\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" />
<Reference Include="TechTalk.SpecFlow">
<HintPath>..\..\..\Program Files (x86)\TechTalk\SpecFlow\TechTalk.SpecFlow.dll</HintPath>
</Reference>
<Reference Include="TechTalk.SpecFlow.Parser">
<HintPath>..\..\..\Program Files (x86)\TechTalk\SpecFlow\TechTalk.SpecFlow.Parser.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Class1.cs" />
<Compile Include="Features\ChessBoard.feature.cs" />
<Compile Include="Features\ChessBoard1.feature.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>ChessBoard.feature</DependentUpon>
</Compile>
<Compile Include="Features\MovingTheKnight.feature.cs" />
<Compile Include="Features\MovingTheKnight1.feature.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>MovingTheKnight.feature</DependentUpon>
</Compile>
<Compile Include="Features\PawnMovesLegally.feature.cs" />
<Compile Include="Features\PawnMovesLegally1.feature.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>PawnMovesLegally.feature</DependentUpon>
</Compile>
<Compile Include="Features\TakingAPiece.feature.cs" />
<Compile Include="Features\TakingAPiece1.feature.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>TakingAPiece.feature</DependentUpon>
</Compile>
<Compile Include="Game.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="StepDefinitions.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Features\ChessBoard.feature">
<Generator>SpecFlowSingleFileGenerator</Generator>
<LastGenOutput>ChessBoard1.feature.cs</LastGenOutput>
</None>
<None Include="Features\MovingTheKnight.feature">
<Generator>SpecFlowSingleFileGenerator</Generator>
<LastGenOutput>MovingTheKnight1.feature.cs</LastGenOutput>
</None>
<None Include="Features\PawnMovesLegally.feature">
<Generator>SpecFlowSingleFileGenerator</Generator>
<LastGenOutput>PawnMovesLegally1.feature.cs</LastGenOutput>
</None>
<None Include="Features\TakingAPiece.feature">
<Generator>SpecFlowSingleFileGenerator</Generator>
<LastGenOutput>TakingAPiece1.feature.cs</LastGenOutput>
</None>
</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>
11 changes: 11 additions & 0 deletions Chess/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chess
{
public class Class1
{
}
}
17 changes: 17 additions & 0 deletions Chess/Features/ChessBoard.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Feature: Boundaries of the board.
In order to obey the rules of Chess
As a player
I want to be prevented from entering moves outside the boundary of the board.

Scenario: Pawn at top.
Given I have a White Pawn at A8
And I have a Black Knight at A1
When I move the Pawn to A9
Then I should be warned of an illegal move message

Scenario: Knight heads off board
Given I have a Black Knight at G8
And I have a White Pawn at A1
And I move the Pawn to A2
When I move the Knight to I7
Then I should be warned of an illegal move message
Loading