summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Restrepo <tomasr@apache.org>2007-05-10 22:16:49 +0000
committerTomas Restrepo <tomasr@apache.org>2007-05-10 22:16:49 +0000
commit0e528b07a48edcb69d5833d1dd90f12f70403fa3 (patch)
treeb957c3e2742c711e975d1075e5add3fee15e1705
parent6ce555cf98f8453920d5851c577a62c9c6347db9 (diff)
downloadqpid-python-0e528b07a48edcb69d5833d1dd90f12f70403fa3.tar.gz
QPID-435: Fix HeadersExchangeTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@537015 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs b/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs
index 2700c4afb2..2ab8c00388 100644
--- a/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs
+++ b/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs
@@ -96,7 +96,7 @@ namespace Qpid.Client.Tests
_consumer = _channel.CreateConsumerBuilder(queueName)
.WithPrefetchLow(100)
.WithPrefetchHigh(500)
- .WithNoLocal(true)
+ .WithNoLocal(false) // make sure we get our own messages
.Create();
// Register this to listen for messages on the consumer.
@@ -188,7 +188,7 @@ namespace Qpid.Client.Tests
SendTestMessage(msg, true);
}
- /// <summary>Check that a message matching only some fields of a headers exhcnage is not passed by the exchange.</summary>
+ /// <summary>Check that a message matching only some fields of a headers exchange is not passed by the exchange.</summary>
[Test]
public void TestMatchOneFails()
{
@@ -258,9 +258,9 @@ namespace Qpid.Client.Tests
{
FieldTable matchTable = new FieldTable();
- // Currently all String matching must be prefixed by an "S" ("S" for string because of a failing of the FieldType definition).
- matchTable["Smatch1"] = "foo";
- matchTable["Smatch2"] = "";
+ matchTable["match1"] = "foo";
+ matchTable["match2"] = "";
+ matchTable["x-match"] = "all";
return matchTable;
}