diff options
| author | Robert Greig <rgreig@apache.org> | 2007-01-29 11:05:20 +0000 |
|---|---|---|
| committer | Robert Greig <rgreig@apache.org> | 2007-01-29 11:05:20 +0000 |
| commit | 509d48d3a12c3477c893456549e0d052d9e5e9f9 (patch) | |
| tree | db601f414a0f65e79bd74a3957fc8a78f918df12 /dotnet/Qpid.Client.Tests/connection | |
| parent | a6808589c1ce06773f599bc28fe90938e2dcd60f (diff) | |
| download | qpid-python-509d48d3a12c3477c893456549e0d052d9e5e9f9.tar.gz | |
(Patch supplied by Tomas Restrepo) QPID-312.diff applied. This converts Javadoc copied accross from the orignal Java code to .Net format. Renames some files/classes/methods to use .Net conventions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@501006 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Client.Tests/connection')
| -rw-r--r-- | dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs b/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs index d5330898a0..f03df903b2 100644 --- a/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs +++ b/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs @@ -20,7 +20,7 @@ */ using System; using NUnit.Framework; -using Qpid.Client.qms; +using Qpid.Client.Qms; using Qpid.Messaging; namespace Qpid.Client.Tests.Connection @@ -31,7 +31,7 @@ namespace Qpid.Client.Tests.Connection [Test] public void SimpleConnection() { - ConnectionInfo connectionInfo = new QpidConnectionInfo(); + IConnectionInfo connectionInfo = new QpidConnectionInfo(); connectionInfo.AddBrokerInfo(new AmqBrokerInfo("amqp", "localhost", 5672, false)); using (IConnection connection = new AMQConnection(connectionInfo)) { @@ -42,8 +42,8 @@ namespace Qpid.Client.Tests.Connection [Test] public void PasswordFailureConnection() { - ConnectionInfo connectionInfo = new QpidConnectionInfo(); - connectionInfo.SetPassword("rubbish"); + IConnectionInfo connectionInfo = new QpidConnectionInfo(); + connectionInfo.Password = "rubbish"; connectionInfo.AddBrokerInfo(new AmqBrokerInfo()); try { |
