Skip to content

Commit

Permalink
Correct solution to re-enable SQL kihon, but it currently only works …
Browse files Browse the repository at this point in the history
…on x64 processors
  • Loading branch information
trayburn committed May 2, 2012
1 parent 9a70743 commit 89ea09d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/Squire.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
# SharpDevelop 4.2.0.8774-RC
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{367740AC-F554-4B7D-89E5-13F5422A9B09}"
ProjectSection(SolutionItems) = preProject
..\README.txt = ..\README.txt
Expand Down
14 changes: 7 additions & 7 deletions src/Squire/Framework/SqlKihonBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Squire.Framework
{
//[TestFixture]
[TestFixture]
public abstract class SqlKihonBase : BaseDataKihon
{
private int ExecuteScalarInt(string cmdText)
Expand Down Expand Up @@ -99,7 +99,7 @@ private string CreatePersonTable()
return sb.ToString();
}

//[Test]
[Test]
public void Actual_Select_All_Fields_And_Rows_From_Person()
{
// Arrange
Expand All @@ -120,7 +120,7 @@ public void Actual_Select_All_Fields_And_Rows_From_Person()
Assert.AreEqual(3, count);
}

//[Test]
[Test]
public void Actual_Select_All_Fields_From_Person_Joined_To_Address()
{
// Arrange
Expand All @@ -141,7 +141,7 @@ public void Actual_Select_All_Fields_From_Person_Joined_To_Address()
Assert.AreEqual(1, count);
}

//[Test]
[Test]
public void Actual_Select_FirstName_From_Person_Where_LastName_Equals_Rayburn()
{
// Arrange
Expand All @@ -161,7 +161,7 @@ public void Actual_Select_FirstName_From_Person_Where_LastName_Equals_Rayburn()
Assert.AreEqual(2, count);
}

//[Test]
[Test]
public void Actual_Select_All_Fields_From_Person_Left_Outer_Joined_To_Address()
{
// Arrange
Expand All @@ -181,7 +181,7 @@ public void Actual_Select_All_Fields_From_Person_Left_Outer_Joined_To_Address()
Assert.AreEqual(3, count);
}

//[Test]
[Test]
public void Actual_Insert_PersonId_4_Named_Mike_Johnson_Age_5_To_Person()
{
// Arrange
Expand All @@ -204,7 +204,7 @@ public void Actual_Insert_PersonId_4_Named_Mike_Johnson_Age_5_To_Person()
Assert.AreEqual(1, count);
}

//[Test]
[Test]
public void Actual_Update_All_LastNames_Rayburn_To_Johnson_In_Person()
{
// Arrange
Expand Down
2 changes: 1 addition & 1 deletion src/Squire/SqlKihon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Squire
{
//[TestFixture]
[TestFixture]
public class SqlKihon : SqlKihonBase
{
/* Given SQL Tables defined as:
Expand Down
5 changes: 1 addition & 4 deletions src/Squire/Squire.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -130,9 +130,6 @@
<Compile Include="StringKihon.cs" />
<Compile Include="TypeConversionKihon.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Database\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\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.
Expand Down

0 comments on commit 89ea09d

Please sign in to comment.