Added: incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit-licence.txt URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit-licence.txt?rev=693060&view=auto ============================================================================== --- incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit-licence.txt (added) +++ incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit-licence.txt Mon Sep 8 04:46:01 2008 @@ -0,0 +1,23 @@ +Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, + Charlie Poole +Copyright © 2000-2004 Philip A. Craig + +This software is provided 'as-is', without any express or implied warranty. In +no event will the authors be held liable for any damages arising from the use +of this software. + +Permission is granted to anyone to use this software for any purpose, including +commercial applications, and to alter it and redistribute it freely, subject to +the following restrictions: + +1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, an + acknowledgment (see the following) in the product documentation is required. + + Portions Copyright © 2002 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov + or Copyright © 2000-2002 Philip A. Craig + +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution.
Added: incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit.framework.dll URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit.framework.dll?rev=693060&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/qpid/trunk/qpid/dotnet/client-010/lib/nunit/nunit.framework.dll ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/qpid/trunk/qpid/dotnet/client-010/test/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/client-010/test/Properties/AssemblyInfo.cs?rev=693060&view=auto ============================================================================== --- incubator/qpid/trunk/qpid/dotnet/client-010/test/Properties/AssemblyInfo.cs (added) +++ incubator/qpid/trunk/qpid/dotnet/client-010/test/Properties/AssemblyInfo.cs Mon Sep 8 04:46:01 2008 @@ -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("Qpid Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Apache Software Foundation")] +[assembly: AssemblyProduct("Qpid Test")] +[assembly: AssemblyCopyright("Copyright © Apache Software Foundation 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("3d62cb4f-4353-4eed-9669-3e1bc902081d")] + +// 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("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: incubator/qpid/trunk/qpid/dotnet/client-010/test/Test.csproj URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/client-010/test/Test.csproj?rev=693060&view=auto ============================================================================== --- incubator/qpid/trunk/qpid/dotnet/client-010/test/Test.csproj (added) +++ incubator/qpid/trunk/qpid/dotnet/client-010/test/Test.csproj Mon Sep 8 04:46:01 2008 @@ -0,0 +1,61 @@ +<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>{95CB4C90-7C53-44A9-B11C-96235F158ACA}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>test</RootNamespace> + <AssemblyName>Qpid Test</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="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\lib\log4net\log4net.dll</HintPath> + </Reference> + <Reference Include="nunit.framework, Version=2.2.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\lib\nunit\nunit.framework.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="transport\util\UUIDTest.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\client\Client.csproj"> + <Project>{B911FFD7-754F-4735-A188-218D5065BE79}</Project> + <Name>Client</Name> + </ProjectReference> + </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 Added: incubator/qpid/trunk/qpid/dotnet/client-010/test/transport/util/UUIDTest.cs URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/client-010/test/transport/util/UUIDTest.cs?rev=693060&view=auto ============================================================================== --- incubator/qpid/trunk/qpid/dotnet/client-010/test/transport/util/UUIDTest.cs (added) +++ incubator/qpid/trunk/qpid/dotnet/client-010/test/transport/util/UUIDTest.cs Mon Sep 8 04:46:01 2008 @@ -0,0 +1,22 @@ + +using System; +using NUnit.Framework; +using org.apache.qpid.transport.util; + +namespace test.transport.util +{ + [TestFixture] + + public class UUIDTest + { + [Test] + public void createUUID() + { + UUID uuid = UUID.randomUUID(); + String uuidStr = uuid.ToString(); + Assert.IsNotNull(uuid); + UUID uuid2 = UUID.randomUUID(); + Assert.AreNotSame(uuid, uuid2); + } + } +}
