From 4ef11ec48e98ae8c9b6df1586c03a73554d85bdb Mon Sep 17 00:00:00 2001 From: sb Date: Thu, 19 Jun 2008 09:04:00 +0000 Subject: [PATCH] Still building up - and sorting out - the test application and unittesting framework. --- ADL.csproj | 17 --- ADL.sln | 18 +++ TestApp/TestApp.csproj | 115 ++++++++++++++++ TestApp/Web.config | 125 ++++++++++++++++++ TestApp/Web/Views/Auto/test/1 | 4 +- UnitTests/Program.cs | 11 ++ UnitTests/Properties/AssemblyInfo.cs | 36 +++++ UnitTests/UnitTests.csproj | 59 +++++++++ .../UnitTests.csproj.FileListAbsolute.txt | 5 + 9 files changed, 371 insertions(+), 19 deletions(-) create mode 100755 TestApp/TestApp.csproj create mode 100755 TestApp/Web.config create mode 100755 UnitTests/Program.cs create mode 100755 UnitTests/Properties/AssemblyInfo.cs create mode 100755 UnitTests/UnitTests.csproj create mode 100755 UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt diff --git a/ADL.csproj b/ADL.csproj index 067f99a..346677b 100755 --- a/ADL.csproj +++ b/ADL.csproj @@ -39,7 +39,6 @@ --> - @@ -57,21 +56,5 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ADL.sln b/ADL.sln index 93f81b3..e7c433f 100755 --- a/ADL.sln +++ b/ADL.sln @@ -3,6 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADL", "ADL.csproj", "{15DF3516-FE95-4BB0-9353-2E1E624303B8}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp", "..\TestApp\TestApp.csproj", "{45578889-14A2-4A53-8391-0596369CCBA5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "..\UnitTests\UnitTests.csproj", "{D705F7CA-EB87-48EF-8F18-7D1AD90660BA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CygnetToolkit", "..\CygnetToolkit\CygnetToolkit.csproj", "{77FB7DE5-1F33-4DDC-8A2E-79EF4728705E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -13,6 +19,18 @@ Global {15DF3516-FE95-4BB0-9353-2E1E624303B8}.Debug|Any CPU.Build.0 = Debug|Any CPU {15DF3516-FE95-4BB0-9353-2E1E624303B8}.Release|Any CPU.ActiveCfg = Release|Any CPU {15DF3516-FE95-4BB0-9353-2E1E624303B8}.Release|Any CPU.Build.0 = Release|Any CPU + {45578889-14A2-4A53-8391-0596369CCBA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45578889-14A2-4A53-8391-0596369CCBA5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45578889-14A2-4A53-8391-0596369CCBA5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45578889-14A2-4A53-8391-0596369CCBA5}.Release|Any CPU.Build.0 = Release|Any CPU + {D705F7CA-EB87-48EF-8F18-7D1AD90660BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D705F7CA-EB87-48EF-8F18-7D1AD90660BA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D705F7CA-EB87-48EF-8F18-7D1AD90660BA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D705F7CA-EB87-48EF-8F18-7D1AD90660BA}.Release|Any CPU.Build.0 = Release|Any CPU + {77FB7DE5-1F33-4DDC-8A2E-79EF4728705E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {77FB7DE5-1F33-4DDC-8A2E-79EF4728705E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {77FB7DE5-1F33-4DDC-8A2E-79EF4728705E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {77FB7DE5-1F33-4DDC-8A2E-79EF4728705E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TestApp/TestApp.csproj b/TestApp/TestApp.csproj new file mode 100755 index 0000000..303fae2 --- /dev/null +++ b/TestApp/TestApp.csproj @@ -0,0 +1,115 @@ + + + Debug + AnyCPU + 9.0.21022 + 2.0 + {45578889-14A2-4A53-8391-0596369CCBA5} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + TestApp + TestApp + v3.5 + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + 3.5 + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + + + + + + + + + + + + + ASPXCodeBehind + Default.aspx + + + Default.aspx + + + + + + + + + + + + + + + + + + + + + + + + + False + True + 3627 + / + + + False + False + + + + + \ No newline at end of file diff --git a/TestApp/Web.config b/TestApp/Web.config new file mode 100755 index 0000000..fcaa9dc --- /dev/null +++ b/TestApp/Web.config @@ -0,0 +1,125 @@ + + + + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestApp/Web/Views/Auto/test/1 b/TestApp/Web/Views/Auto/test/1 index b8a19f2..8367f9d 100755 --- a/TestApp/Web/Views/Auto/test/1 +++ b/TestApp/Web/Views/Auto/test/1 @@ -10,8 +10,8 @@ Copyright (c) 2008 Cygnet Solutions Ltd $Author: sb $ - $Revision: 1.1 $ - $Date: 2008-06-18 15:55:54 $ + $Revision: 1.2 $ + $Date: 2008-06-19 09:04:01 $ --> diff --git a/UnitTests/Program.cs b/UnitTests/Program.cs new file mode 100755 index 0000000..1d1c7fb --- /dev/null +++ b/UnitTests/Program.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace UnitTests { + class Program { + static void Main(string[] args) { + } + } +} diff --git a/UnitTests/Properties/AssemblyInfo.cs b/UnitTests/Properties/AssemblyInfo.cs new file mode 100755 index 0000000..a468e4d --- /dev/null +++ b/UnitTests/Properties/AssemblyInfo.cs @@ -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("UnitTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("UnitTests")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[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("a5d9274a-d36f-45f3-a01a-b552e1a69a77")] + +// 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")] diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj new file mode 100755 index 0000000..3d82050 --- /dev/null +++ b/UnitTests/UnitTests.csproj @@ -0,0 +1,59 @@ + + + + Debug + AnyCPU + 9.0.21022 + 2.0 + {D705F7CA-EB87-48EF-8F18-7D1AD90660BA} + Exe + Properties + UnitTests + UnitTests + v3.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + + + + + \ No newline at end of file diff --git a/UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt b/UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt new file mode 100755 index 0000000..b25fed6 --- /dev/null +++ b/UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +C:\Projects\UnitTests\bin\Debug\UnitTests.exe +C:\Projects\UnitTests\bin\Debug\UnitTests.pdb +C:\Projects\UnitTests\obj\Debug\ResolveAssemblyReference.cache +C:\Projects\UnitTests\obj\Debug\UnitTests.exe +C:\Projects\UnitTests\obj\Debug\UnitTests.pdb