summaryrefslogtreecommitdiff
path: root/dotnet/client-010/test
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2008-09-30 12:54:47 +0000
committerArnaud Simon <arnaudsimon@apache.org>2008-09-30 12:54:47 +0000
commitd14cfa7534c65e2c4b5f589bf292be5ab2f1215a (patch)
treeba011a5ff861decbb067bb9d38f9074cc506d340 /dotnet/client-010/test
parentd7ab38dbf99d6f716d4b8843d1f64b327c35ce98 (diff)
downloadqpid-python-d14cfa7534c65e2c4b5f589bf292be5ab2f1215a.tar.gz
qpid-1277: Added examples
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@700439 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/client-010/test')
-rw-r--r--dotnet/client-010/test/Test.csproj3
-rw-r--r--dotnet/client-010/test/interop/Message.cs6
-rw-r--r--dotnet/client-010/test/test.config2
3 files changed, 6 insertions, 5 deletions
diff --git a/dotnet/client-010/test/Test.csproj b/dotnet/client-010/test/Test.csproj
index a5d6e2c45f..841e2385a0 100644
--- a/dotnet/client-010/test/Test.csproj
+++ b/dotnet/client-010/test/Test.csproj
@@ -41,7 +41,10 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="interop\Admin.cs" />
+ <Compile Include="interop\Message.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="interop\TestCase.cs" />
<Compile Include="transport\util\UUIDTest.cs" />
</ItemGroup>
<ItemGroup>
diff --git a/dotnet/client-010/test/interop/Message.cs b/dotnet/client-010/test/interop/Message.cs
index 79c22e0acf..3267af9c0c 100644
--- a/dotnet/client-010/test/interop/Message.cs
+++ b/dotnet/client-010/test/interop/Message.cs
@@ -19,10 +19,8 @@
*
*/
using System;
-using System.IO;
using System.Text;
using System.Threading;
-using client.client;
using NUnit.Framework;
using org.apache.qpid.client;
using org.apache.qpid.transport;
@@ -139,7 +137,7 @@ namespace test.interop
- private class MyListener : MessageListener
+ private class MyListener : IMessageListener
{
private static readonly Logger _log = Logger.get(typeof (MyListener));
private readonly Object _wl;
@@ -152,7 +150,7 @@ namespace test.interop
_count = count;
}
- public void messageTransfer(MessageTransfer m)
+ public void messageTransfer(IMessage m)
{
byte[] body = new byte[m.Body.Length - m.Body.Position];
_log.debug("Got a message of size: " + body.Length + " count = " + _count);
diff --git a/dotnet/client-010/test/test.config b/dotnet/client-010/test/test.config
index dc284f25f1..0499eddfbc 100644
--- a/dotnet/client-010/test/test.config
+++ b/dotnet/client-010/test/test.config
@@ -2,7 +2,7 @@
<configuration>
<appSettings>
<add key="UserMame" value="guest"/>
- <add key="Password" value="password"/>
+ <add key="Password" value="guest"/>
<add key="Host" value="192.168.1.14"/>
<add key="Port" value="5673"/>
<add key="VirtualHost" value="test"/>