From 79661f5576e820074519f90e6217da121ea1acd5 Mon Sep 17 00:00:00 2001 From: Jay Smith Date: Tue, 21 Jun 2011 15:11:15 -0500 Subject: [PATCH] Converted to use nUnit --- src/Squire.sln | 8 +++-- src/Squire/ConsoleKihon.cs | 4 +-- src/Squire/ControlStructureKihon.cs | 4 +-- src/Squire/Framework/BaseDataKihon.cs | 4 +-- src/Squire/Framework/BaseKihon.cs | 8 ++--- src/Squire/Framework/ConsoleKihonBase.cs | 13 ++++---- .../Framework/ControlStructuresKihonBase.cs | 17 +++++----- src/Squire/Framework/LinqKihonBase.cs | 12 +++---- src/Squire/Framework/NumbersKihonBase.cs | 26 +++++++-------- src/Squire/Framework/SqlKihonBase.cs | 19 ++++++----- src/Squire/Framework/StringKihonBase.cs | 32 +++++++++---------- .../Framework/TypeConversionKihonBase.cs | 6 ++-- src/Squire/LinqKihon.cs | 4 +-- src/Squire/NumbersKihon.cs | 4 +-- src/Squire/SqlKihon.cs | 4 +-- src/Squire/Squire.csproj | 24 ++++++++++++-- src/Squire/StringKihon.cs | 4 +-- 17 files changed, 109 insertions(+), 84 deletions(-) diff --git a/src/Squire.sln b/src/Squire.sln index e3746a6..d9a29b6 100644 --- a/src/Squire.sln +++ b/src/Squire.sln @@ -1,15 +1,17 @@  Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Squire", "Squire\Squire.csproj", "{912DC9CB-8F72-4EE2-99F9-64F8592C85CE}" -EndProject +# SharpDevelop 4.0.0.7070 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{367740AC-F554-4B7D-89E5-13F5422A9B09}" ProjectSection(SolutionItems) = preProject Local.testsettings = Local.testsettings Squire.vsmdi = Squire.vsmdi TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings + ..\README.txt = ..\README.txt EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Squire", "Squire\Squire.csproj", "{912DC9CB-8F72-4EE2-99F9-64F8592C85CE}" +EndProject Global GlobalSection(TestCaseManagementSettings) = postSolution CategoryFile = Squire.vsmdi @@ -28,6 +30,6 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(SpecExplorer.ActivityCompletionStatus) = preSolution - SpecExplorer.ActivityCompletionStatus = TestExisting: ;ModelFromScratch: + SpecExplorer.ActivityCompletionStatus = TestExisting: ;ModelFromScratch: EndGlobalSection EndGlobal diff --git a/src/Squire/ConsoleKihon.cs b/src/Squire/ConsoleKihon.cs index be6afdb..9b5605e 100644 --- a/src/Squire/ConsoleKihon.cs +++ b/src/Squire/ConsoleKihon.cs @@ -1,5 +1,5 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; using Squire.Framework; using Squire.Framework.Abstractions; @@ -13,7 +13,7 @@ namespace Squire * methods and properties as System.Console, so anything you can * do to one, you can do to the other. */ - [TestClass] + [TestFixture] public class ConsoleKihon : ConsoleKihonBase { protected override void Write_FooBar_To_The_Console(IConsoleWrapper console) diff --git a/src/Squire/ControlStructureKihon.cs b/src/Squire/ControlStructureKihon.cs index 90dc37a..adc95ce 100644 --- a/src/Squire/ControlStructureKihon.cs +++ b/src/Squire/ControlStructureKihon.cs @@ -1,11 +1,11 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; using Squire.Framework; using System.Collections.Generic; namespace Squire { - [TestClass] + [TestFixture] public class ControlStructureKihon : ControlStructuresKihonBase { /* diff --git a/src/Squire/Framework/BaseDataKihon.cs b/src/Squire/Framework/BaseDataKihon.cs index 48ae0a3..d29854d 100644 --- a/src/Squire/Framework/BaseDataKihon.cs +++ b/src/Squire/Framework/BaseDataKihon.cs @@ -1,14 +1,14 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Transactions; using System.Data.SQLite; using System.Text; using System.Data; +using NUnit.Framework; namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class BaseDataKihon : BaseKihon, IDisposable { protected SQLiteConnection dbConn; diff --git a/src/Squire/Framework/BaseKihon.cs b/src/Squire/Framework/BaseKihon.cs index 3b21cb9..8f74ae6 100644 --- a/src/Squire/Framework/BaseKihon.cs +++ b/src/Squire/Framework/BaseKihon.cs @@ -1,16 +1,16 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; using Castle.Windsor; +using NUnit.Framework; namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class BaseKihon { private IWindsorContainer container; - [TestInitialize] + [SetUp] public void Initialize() { container = new WindsorContainer(); @@ -18,7 +18,7 @@ public void Initialize() BeforeEachTest(); } - [TestCleanup] + [Test] public void Cleanup() { AfterEachTest(); diff --git a/src/Squire/Framework/ConsoleKihonBase.cs b/src/Squire/Framework/ConsoleKihonBase.cs index 949a652..45b89c5 100644 --- a/src/Squire/Framework/ConsoleKihonBase.cs +++ b/src/Squire/Framework/ConsoleKihonBase.cs @@ -1,11 +1,12 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; + +using NUnit.Framework; using Squire.Framework.Abstractions; using Rhino.Mocks; namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class ConsoleKihonBase : BaseKihon { private IConsoleWrapper console; @@ -15,7 +16,7 @@ protected override void BeforeEachTest() base.BeforeEachTest(); console = MockRepository.GenerateMock(); } - [TestMethod] + [Test] public void Write_FooBar_To_The_Console() { // Arrange @@ -28,7 +29,7 @@ public void Write_FooBar_To_The_Console() console.AssertWasCalled(c => c.Write("FooBar")); } - [TestMethod] + [Test] public void WriteLine_FooBar_To_The_Console() { // Arrange @@ -41,7 +42,7 @@ public void WriteLine_FooBar_To_The_Console() console.AssertWasCalled(c => c.WriteLine("FooBar")); } - [TestMethod] + [Test] public void Write_Foo_In_Blue_To_The_Console() { // Arrange @@ -55,7 +56,7 @@ public void Write_Foo_In_Blue_To_The_Console() console.AssertWasCalled(c => c.Write("Foo")); } - [TestMethod] + [Test] public void Read_Line_From_Console_And_Return_Value() { // Arrange diff --git a/src/Squire/Framework/ControlStructuresKihonBase.cs b/src/Squire/Framework/ControlStructuresKihonBase.cs index 7439dcb..64d3068 100644 --- a/src/Squire/Framework/ControlStructuresKihonBase.cs +++ b/src/Squire/Framework/ControlStructuresKihonBase.cs @@ -1,5 +1,6 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; + +using NUnit.Framework; using Rhino.Mocks; using System.Collections.Generic; @@ -11,10 +12,10 @@ public interface ITarget bool IsValid { get; } } - [TestClass] + [TestFixture] public abstract class ControlStructuresKihonBase : BaseKihon { - [TestMethod] + [Test] public void Call_Hit_On_a_If_val_Is_True_Else_Call_Hit_On_b_V1() { // Arrange @@ -30,7 +31,7 @@ public void Call_Hit_On_a_If_val_Is_True_Else_Call_Hit_On_b_V1() b.AssertWasNotCalled(t => t.Hit()); } - [TestMethod] + [Test] public void Call_Hit_On_a_If_val_Is_True_Else_Call_Hit_On_b_V2() { // Arrange @@ -46,7 +47,7 @@ public void Call_Hit_On_a_If_val_Is_True_Else_Call_Hit_On_b_V2() b.AssertWasCalled(t => t.Hit()); } - [TestMethod] + [Test] public void Call_Hit_On_a_Once_For_Each_Member_Of_list() { // Arrange @@ -60,7 +61,7 @@ public void Call_Hit_On_a_Once_For_Each_Member_Of_list() a.AssertWasCalled(m => m.Hit(), mo => mo.Repeat.Times(4)); } - [TestMethod] + [Test] public void Call_Hit_On_a_While_a_IsValid_Is_True() { // Arrange @@ -75,7 +76,7 @@ public void Call_Hit_On_a_While_a_IsValid_Is_True() a.AssertWasCalled(m => m.Hit(), mo => mo.Repeat.Times(4)); } - [TestMethod] + [Test] public void n_Times_Call_Hit_On_a() { // Arrange @@ -89,7 +90,7 @@ public void n_Times_Call_Hit_On_a() a.AssertWasCalled(m => m.Hit(), mo => mo.Repeat.Times(n)); } - [TestMethod] + [Test] public void Call_Hit_On_a_Once_And_Continue_Until_IsValid_Is_False() { // Arrange diff --git a/src/Squire/Framework/LinqKihonBase.cs b/src/Squire/Framework/LinqKihonBase.cs index 57a48a3..e8ee8e1 100644 --- a/src/Squire/Framework/LinqKihonBase.cs +++ b/src/Squire/Framework/LinqKihonBase.cs @@ -1,14 +1,14 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class LinqKihonBase : BaseKihon { - [TestMethod] + [Test] public void Select_the_Something_property_from_list_test() { //arrange @@ -27,7 +27,7 @@ public void Select_the_Something_property_from_list_test() Assert.AreEqual(product.Something ,item.SingleOrDefault()); } - [TestMethod] + [Test] public void Filter_the_products_where_something_is_equal_to_2_from_list_test() { //arrange @@ -47,7 +47,7 @@ public void Filter_the_products_where_something_is_equal_to_2_from_list_test() Assert.AreEqual(1, item.Count()); } - [TestMethod] + [Test] public void Order_the_list_by_the_something_property_test() { //arrange @@ -69,7 +69,7 @@ public void Order_the_list_by_the_something_property_test() } - [TestMethod] + [Test] public void Order_the_list_by_the_something_property_descending_test() { //arrange diff --git a/src/Squire/Framework/NumbersKihonBase.cs b/src/Squire/Framework/NumbersKihonBase.cs index 3d42866..217f702 100644 --- a/src/Squire/Framework/NumbersKihonBase.cs +++ b/src/Squire/Framework/NumbersKihonBase.cs @@ -1,12 +1,12 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class NumbersKihonBase : BaseKihon { - [TestMethod] + [Test] public void Return_The_Maximum_Value_Of_Int32_Test() { // Arrange @@ -19,7 +19,7 @@ public void Return_The_Maximum_Value_Of_Int32_Test() Assert.AreEqual(Int32.MaxValue, result); } - [TestMethod] + [Test] public void Return_The_Minimum_Value_Of_Int32_Test() { // Arrange @@ -32,7 +32,7 @@ public void Return_The_Minimum_Value_Of_Int32_Test() Assert.AreEqual(int.MinValue, result); } - [TestMethod] + [Test] public void Return_The_Remainder_Of_a_Divided_By_b() { // Arrange @@ -46,7 +46,7 @@ public void Return_The_Remainder_Of_a_Divided_By_b() Assert.AreEqual(a % b, remainder); } - [TestMethod] + [Test] public void Return_The_Maximum_Value_Of_Double_Test() { // Arrange @@ -59,7 +59,7 @@ public void Return_The_Maximum_Value_Of_Double_Test() Assert.AreEqual(double.MaxValue, actual); } - [TestMethod] + [Test] public void Return_The_Minimum_Value_Of_Double_Test() { // Arrange @@ -72,7 +72,7 @@ public void Return_The_Minimum_Value_Of_Double_Test() Assert.AreEqual(double.MinValue, actual); } - [TestMethod] + [Test] public void Return_True_If_a_Is_Not_A_Number_Test1() { // Arrange @@ -85,7 +85,7 @@ public void Return_True_If_a_Is_Not_A_Number_Test1() Assert.AreEqual(double.IsNaN(a), result); } - [TestMethod] + [Test] public void Return_True_If_a_Is_Not_A_Number_Test2() { // Arrange @@ -98,7 +98,7 @@ public void Return_True_If_a_Is_Not_A_Number_Test2() Assert.AreEqual(double.IsNaN(a), result); } - [TestMethod] + [Test] public void Return_True_If_a_Is_Not_A_Number_Test3() { // Arrange @@ -111,7 +111,7 @@ public void Return_True_If_a_Is_Not_A_Number_Test3() Assert.AreEqual(double.IsNaN(a), result); } - [TestMethod] + [Test] public void Return_True_If_a_Is_An_Infinity_Test1() { // Arrange @@ -124,7 +124,7 @@ public void Return_True_If_a_Is_An_Infinity_Test1() Assert.AreEqual(double.IsInfinity(a), actual); } - [TestMethod] + [Test] public void Return_True_If_a_Is_An_Infinity_Test2() { // Arrange @@ -137,7 +137,7 @@ public void Return_True_If_a_Is_An_Infinity_Test2() Assert.AreEqual(double.IsInfinity(a), actual); } - [TestMethod] + [Test] public void Return_True_If_a_Is_An_Infinity_Test3() { // Arrange diff --git a/src/Squire/Framework/SqlKihonBase.cs b/src/Squire/Framework/SqlKihonBase.cs index 2cd2129..35eac0e 100644 --- a/src/Squire/Framework/SqlKihonBase.cs +++ b/src/Squire/Framework/SqlKihonBase.cs @@ -1,12 +1,14 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; + using System.Data.SQLite; using System.Text; using System.Data; +using NUnit.Framework; + namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class SqlKihonBase : BaseDataKihon { private int ExecuteScalarInt(string cmdText) @@ -97,7 +99,7 @@ private string CreatePersonTable() return sb.ToString(); } - [TestMethod] + [Test] public void Actual_Select_All_Fields_And_Rows_From_Person() { // Arrange @@ -118,7 +120,7 @@ public void Actual_Select_All_Fields_And_Rows_From_Person() Assert.AreEqual(3, count); } - [TestMethod] + [Test] public void Actual_Select_All_Fields_From_Person_Joined_To_Address() { // Arrange @@ -139,7 +141,7 @@ public void Actual_Select_All_Fields_From_Person_Joined_To_Address() Assert.AreEqual(1, count); } - [TestMethod] + [Test] public void Actual_Select_FirstName_From_Person_Where_LastName_Equals_Rayburn() { // Arrange @@ -159,7 +161,7 @@ public void Actual_Select_FirstName_From_Person_Where_LastName_Equals_Rayburn() Assert.AreEqual(2, count); } - [TestMethod] + [Test] public void Actual_Select_All_Fields_From_Person_Left_Outer_Joined_To_Address() { // Arrange @@ -179,7 +181,7 @@ public void Actual_Select_All_Fields_From_Person_Left_Outer_Joined_To_Address() Assert.AreEqual(3, count); } - [TestMethod] + [Test] public void Actual_Insert_PersonId_4_Named_Mike_Johnson_Age_5_To_Person() { // Arrange @@ -202,7 +204,7 @@ public void Actual_Insert_PersonId_4_Named_Mike_Johnson_Age_5_To_Person() Assert.AreEqual(1, count); } - [TestMethod] + [Test] public void Actual_Update_All_LastNames_Rayburn_To_Johnson_In_Person() { // Arrange @@ -217,6 +219,7 @@ public void Actual_Update_All_LastNames_Rayburn_To_Johnson_In_Person() Assert.AreEqual(2, ExecuteScalarInt("SELECT COUNT(*) FROM PERSON WHERE LASTNAME='Johnson'")); Assert.AreEqual(0, ExecuteScalarInt("SELECT COUNT(*) FROM PERSON WHERE LASTNAME='Rayburn'")); } + protected abstract string Select_All_Fields_And_Rows_From_Person(); protected abstract string Select_All_Fields_From_Person_Joined_To_Address(); protected abstract string Select_FirstName_From_Person_Where_LastName_Equals_Rayburn(); diff --git a/src/Squire/Framework/StringKihonBase.cs b/src/Squire/Framework/StringKihonBase.cs index 8601a25..3d38697 100644 --- a/src/Squire/Framework/StringKihonBase.cs +++ b/src/Squire/Framework/StringKihonBase.cs @@ -1,12 +1,12 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; namespace Squire.Framework { - [TestClass] + [TestFixture] public abstract class StringKihonBase : BaseKihon { - [TestMethod] + [Test] public void Combine_Two_Strings() { // Arrange @@ -20,7 +20,7 @@ public void Combine_Two_Strings() Assert.AreEqual(a + b, actual); } - [TestMethod] + [Test] public void Combine_Parts_Of_A_Name() { // Arrange @@ -35,7 +35,7 @@ public void Combine_Parts_Of_A_Name() Assert.AreEqual(string.Format("{0} {1} {2}",firstName,middleName,lastName), actual); } - [TestMethod] + [Test] public void Split_A_String_Into_An_Array() { // Arrange @@ -49,7 +49,7 @@ public void Split_A_String_Into_An_Array() CollectionAssert.AreEqual(input.Split(divider), actual); } - [TestMethod] + [Test] public void Join_An_Array_Into_A_String() { // Arrange @@ -63,7 +63,7 @@ public void Join_An_Array_Into_A_String() Assert.AreEqual(string.Join(divider,input), actual); } - [TestMethod] + [Test] public void Determine_The_Length_Of_A_String() { // Arrange @@ -76,7 +76,7 @@ public void Determine_The_Length_Of_A_String() Assert.AreEqual(data.Length, actual); } - [TestMethod] + [Test] public void Remove_All_Leading_Whitespace() { // Arrange @@ -89,7 +89,7 @@ public void Remove_All_Leading_Whitespace() Assert.AreEqual(data.TrimStart(), actual); } - [TestMethod] + [Test] public void Remove_All_Trailing_Whitespace() { // Arrange @@ -102,7 +102,7 @@ public void Remove_All_Trailing_Whitespace() Assert.AreEqual(data.TrimEnd(), actual); } - [TestMethod] + [Test] public void Convert_To_Uppercase() { // Arrange @@ -115,7 +115,7 @@ public void Convert_To_Uppercase() Assert.AreEqual(data.ToUpper(), actual); } - [TestMethod] + [Test] public void Convert_To_Lowercase() { // Arrange @@ -128,7 +128,7 @@ public void Convert_To_Lowercase() Assert.AreEqual(data.ToLower(), actual); } - [TestMethod] + [Test] public void Determine_The_Position_Of_a_In_b() { // Arrange @@ -142,7 +142,7 @@ public void Determine_The_Position_Of_a_In_b() Assert.AreEqual(b.IndexOf(a), actual); } - [TestMethod] + [Test] public void Return_True_If_a_Contains_b() { // Arrange @@ -156,7 +156,7 @@ public void Return_True_If_a_Contains_b() Assert.IsTrue(actual); } - [TestMethod] + [Test] public void Return_True_If_a_Starts_With_b() { // Arrange @@ -170,7 +170,7 @@ public void Return_True_If_a_Starts_With_b() Assert.IsTrue(actual); } - [TestMethod] + [Test] public void Return_True_Is_a_Ends_With_b() { // Arrange @@ -184,7 +184,7 @@ public void Return_True_Is_a_Ends_With_b() Assert.IsTrue(actual); } - [TestMethod] + [Test] public void Return_The_Fourth_Through_Seventh_Characters_Of_Input() { // Arrange diff --git a/src/Squire/Framework/TypeConversionKihonBase.cs b/src/Squire/Framework/TypeConversionKihonBase.cs index 59044d4..31b1847 100644 --- a/src/Squire/Framework/TypeConversionKihonBase.cs +++ b/src/Squire/Framework/TypeConversionKihonBase.cs @@ -1,11 +1,11 @@ namespace Squire.Framework { - using Microsoft.VisualStudio.TestTools.UnitTesting; + using NUnit.Framework; - [TestClass] + [TestFixture] public abstract class TypeConversionKihonBase : BaseKihon { - [TestMethod] + [Test] public void Convert_String_To_Int() { // Arrange diff --git a/src/Squire/LinqKihon.cs b/src/Squire/LinqKihon.cs index 0085482..0e75b2e 100644 --- a/src/Squire/LinqKihon.cs +++ b/src/Squire/LinqKihon.cs @@ -1,12 +1,12 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; using Squire.Framework; namespace Squire { - [TestClass] + [TestFixture] public class LinqKihon : LinqKihonBase { protected override IEnumerable Select_the_Something_property_from_list(List list) diff --git a/src/Squire/NumbersKihon.cs b/src/Squire/NumbersKihon.cs index fb9e450..58d92aa 100644 --- a/src/Squire/NumbersKihon.cs +++ b/src/Squire/NumbersKihon.cs @@ -1,10 +1,10 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; using Squire.Framework; namespace Squire { - [TestClass] + [TestFixture] public class NumbersKihon : NumbersKihonBase { protected override int Return_The_Maximum_Value_Of_Int32() diff --git a/src/Squire/SqlKihon.cs b/src/Squire/SqlKihon.cs index 5bc2ca8..4c37e06 100644 --- a/src/Squire/SqlKihon.cs +++ b/src/Squire/SqlKihon.cs @@ -1,10 +1,10 @@ using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; using Squire.Framework; namespace Squire { - [TestClass] + [TestFixture] public class SqlKihon : SqlKihonBase { /* Given SQL Tables defined as: diff --git a/src/Squire/Squire.csproj b/src/Squire/Squire.csproj index 0d73c20..95b4673 100644 --- a/src/Squire/Squire.csproj +++ b/src/Squire/Squire.csproj @@ -14,10 +14,18 @@ v4.0 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + C:\Users\smithjay\AppData\Roaming\ICSharpCode/SharpDevelop4.0\Settings.SourceAnalysis + False + False + OnBuildSuccess + False + False + false true - full + Full false bin\Debug\ DEBUG;TRACE @@ -32,6 +40,16 @@ prompt 4 + + False + Project + + + False + Auto + 4194304 + x86 + ..\..\lib\Castle.Windsor.2.5.2\dotNet40\Castle.Core.dll @@ -39,7 +57,7 @@ ..\..\lib\Castle.Windsor.2.5.2\dotNet40\Castle.Windsor.dll - + ..\..\lib\Rhino.Mocks-3.6\Rhino.Mocks.dll @@ -49,7 +67,7 @@ - ..\..\lib\SQLite-1.0.66.0\bin\System.Data.SQLite.DLL + ..\..\lib\SQLite-1.0.66.0\bin\x64\System.Data.SQLite.DLL diff --git a/src/Squire/StringKihon.cs b/src/Squire/StringKihon.cs index 65e0551..9be3abc 100644 --- a/src/Squire/StringKihon.cs +++ b/src/Squire/StringKihon.cs @@ -2,12 +2,12 @@ using System.Text; using System.Collections.Generic; using System.Linq; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using NUnit.Framework; using Squire.Framework; namespace Squire { - [TestClass] + [TestFixture] public class StringKihon : StringKihonBase { protected override string Convert_To_Uppercase(string data)