From: <jam...@us...> - 2009-03-23 13:03:14
|
Revision: 32 http://nplot.svn.sourceforge.net/nplot/?rev=32&view=rev Author: jamcquay Date: 2009-03-23 13:03:09 +0000 (Mon, 23 Mar 2009) Log Message: ----------- Added a project for UnitTesting. NOTE: Unit testing is used with the .net 2.0 framework only, there is no support for the 1.1. Added Paths: ----------- trunk/UnitTesting/ trunk/UnitTesting/ExampleTest.cs trunk/UnitTesting/NPlotUnitTesting.csproj trunk/UnitTesting/NPlotUnitTesting.sln trunk/UnitTesting/Properties/ trunk/UnitTesting/Properties/AssemblyInfo.cs Added: trunk/UnitTesting/ExampleTest.cs =================================================================== --- trunk/UnitTesting/ExampleTest.cs (rev 0) +++ trunk/UnitTesting/ExampleTest.cs 2009-03-23 13:03:09 UTC (rev 32) @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; +using NUnit.Framework; + +namespace NPlot.UnitTesting +{ + /// <summary> + /// Example Unit Test + /// </summary> + [TestFixture] + public class ExampleTest + { + // Example Test + [Test] + public void Test1() + { + Assert.AreEqual(1, 1); + } + } +} Property changes on: trunk/UnitTesting/ExampleTest.cs ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/UnitTesting/NPlotUnitTesting.csproj =================================================================== --- trunk/UnitTesting/NPlotUnitTesting.csproj (rev 0) +++ trunk/UnitTesting/NPlotUnitTesting.csproj 2009-03-23 13:03:09 UTC (rev 32) @@ -0,0 +1,54 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{CC3C4E5F-8DF9-4C57-BD96-35AAE6A05FFC}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>NPlot.UnitTesting</RootNamespace> + <AssemblyName>NPlotUnitTesting</AssemblyName> + </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="NPlot, Version=0.9.10.1, Culture=neutral, PublicKeyToken=4eda430eb4395eb1, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\bin\net\2.0\debug\NPlot.dll</HintPath> + </Reference> + <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="ExampleTest.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </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. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: trunk/UnitTesting/NPlotUnitTesting.csproj ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/UnitTesting/NPlotUnitTesting.sln =================================================================== --- trunk/UnitTesting/NPlotUnitTesting.sln (rev 0) +++ trunk/UnitTesting/NPlotUnitTesting.sln 2009-03-23 13:03:09 UTC (rev 32) @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPlotUnitTesting", "NPlotUnitTesting.csproj", "{CC3C4E5F-8DF9-4C57-BD96-35AAE6A05FFC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CC3C4E5F-8DF9-4C57-BD96-35AAE6A05FFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CC3C4E5F-8DF9-4C57-BD96-35AAE6A05FFC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CC3C4E5F-8DF9-4C57-BD96-35AAE6A05FFC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CC3C4E5F-8DF9-4C57-BD96-35AAE6A05FFC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Property changes on: trunk/UnitTesting/NPlotUnitTesting.sln ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/UnitTesting/Properties/AssemblyInfo.cs =================================================================== --- trunk/UnitTesting/Properties/AssemblyInfo.cs (rev 0) +++ trunk/UnitTesting/Properties/AssemblyInfo.cs 2009-03-23 13:03:09 UTC (rev 32) @@ -0,0 +1,35 @@ +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("NPlotUnitTesting")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("NPlotUnitTesting")] +[assembly: AssemblyCopyright("Copyright © 2009")] +[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("0813db31-f6f8-4291-81a8-362fb2b7afe2")] + +// 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 Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("0.0.1.0")] +[assembly: AssemblyFileVersion("0.0.1.0")] Property changes on: trunk/UnitTesting/Properties/AssemblyInfo.cs ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |