From 2c9c14aef58f5dfdad8123240d3d6a0b79193ec6 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Mon, 10 Sep 2018 00:03:11 +0100 Subject: [PATCH] add Test Centre (.Net Library project). --- DeathSocket.sln | 6 ++++ TestCentre/AssemblyInfo.fs | 41 ++++++++++++++++++++++ TestCentre/Library1.fs | 4 +++ TestCentre/Script.fsx | 8 +++++ TestCentre/TestCentre.fsproj | 68 ++++++++++++++++++++++++++++++++++++ TestCentre/packages.config | 5 +++ 6 files changed, 132 insertions(+) create mode 100644 TestCentre/AssemblyInfo.fs create mode 100644 TestCentre/Library1.fs create mode 100644 TestCentre/Script.fsx create mode 100644 TestCentre/TestCentre.fsproj create mode 100644 TestCentre/packages.config diff --git a/DeathSocket.sln b/DeathSocket.sln index 30c4a2f..40a59e0 100644 --- a/DeathSocket.sln +++ b/DeathSocket.sln @@ -7,6 +7,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "DeathSocket", "DeathSocket\ EndProject Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "DeathSocketCLI", "DeathSocketCLI\DeathSocketCLI.fsproj", "{76500D4F-81E0-4C47-8190-F897B986E2EF}" EndProject +Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "TestCentre", "TestCentre\TestCentre.fsproj", "{673C4B4D-E209-4B3B-B1C8-453952DD928B}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {76500D4F-81E0-4C47-8190-F897B986E2EF}.Debug|Any CPU.Build.0 = Debug|Any CPU {76500D4F-81E0-4C47-8190-F897B986E2EF}.Release|Any CPU.ActiveCfg = Release|Any CPU {76500D4F-81E0-4C47-8190-F897B986E2EF}.Release|Any CPU.Build.0 = Release|Any CPU + {673C4B4D-E209-4B3B-B1C8-453952DD928B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {673C4B4D-E209-4B3B-B1C8-453952DD928B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {673C4B4D-E209-4B3B-B1C8-453952DD928B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {673C4B4D-E209-4B3B-B1C8-453952DD928B}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TestCentre/AssemblyInfo.fs b/TestCentre/AssemblyInfo.fs new file mode 100644 index 0000000..301bac2 --- /dev/null +++ b/TestCentre/AssemblyInfo.fs @@ -0,0 +1,41 @@ +namespace TestCentre.AssemblyInfo + +open System.Reflection +open System.Runtime.CompilerServices +open 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. +[] +[] +[] +[] +[] +[] +[] +[] + +// 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. +[] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[] + +// 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: +// [] +[] +[] + +do + () \ No newline at end of file diff --git a/TestCentre/Library1.fs b/TestCentre/Library1.fs new file mode 100644 index 0000000..7809afa --- /dev/null +++ b/TestCentre/Library1.fs @@ -0,0 +1,4 @@ +namespace TestCentre + +type Class1() = + member this.X = "F#" diff --git a/TestCentre/Script.fsx b/TestCentre/Script.fsx new file mode 100644 index 0000000..1845605 --- /dev/null +++ b/TestCentre/Script.fsx @@ -0,0 +1,8 @@ +// Learn more about F# at http://fsharp.org +// See the 'F# Tutorial' project for more help. + +#load "Library1.fs" +open TestCentre + +// Define your library scripting code here + diff --git a/TestCentre/TestCentre.fsproj b/TestCentre/TestCentre.fsproj new file mode 100644 index 0000000..c2b1daa --- /dev/null +++ b/TestCentre/TestCentre.fsproj @@ -0,0 +1,68 @@ + + + + + Debug + AnyCPU + 2.0 + 673c4b4d-e209-4b3b-b1c8-453952dd928b + Library + TestCentre + TestCentre + true + v4.7.1 + true + TestCentre + + + true + full + false + false + bin\$(Configuration)\ + DEBUG;TRACE + 3 + bin\$(Configuration)\$(AssemblyName).XML + + + pdbonly + true + true + bin\$(Configuration)\ + TRACE + 3 + bin\$(Configuration)\$(AssemblyName).XML + + + 11 + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets + + + + + + + + + + + ..\packages\FSharp.Core.4.5.2\lib\net45\FSharp.Core.dll + + + + + + + True + + + + \ No newline at end of file diff --git a/TestCentre/packages.config b/TestCentre/packages.config new file mode 100644 index 0000000..4c12917 --- /dev/null +++ b/TestCentre/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file