You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by to...@apache.org on 2007/05/11 00:16:51 UTC
svn commit: r537015 -
/incubator/qpid/branches/M2/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs
Author: tomasr
Date: Thu May 10 15:16:49 2007
New Revision: 537015
URL: http://svn.apache.org/viewvc?view=rev&rev=537015
Log:
QPID-435: Fix HeadersExchangeTest
Modified:
incubator/qpid/branches/M2/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs
Modified: incubator/qpid/branches/M2/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs?view=diff&rev=537015&r1=537014&r2=537015
==============================================================================
--- incubator/qpid/branches/M2/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs (original)
+++ incubator/qpid/branches/M2/dotnet/Qpid.Client.Tests/HeadersExchange/HeadersExchangeTest.cs Thu May 10 15:16:49 2007
@@ -96,7 +96,7 @@
_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 @@
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 @@
{
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;
}