diff options
| author | Ted Ross <tross@apache.org> | 2010-06-09 11:59:38 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-06-09 11:59:38 +0000 |
| commit | 077b8b25ab7fac22daf8494feb125cd5c73b95ac (patch) | |
| tree | f0f2d8b17c7ef912d16d3110bc18790006bbd87a /cpp/bindings/qpid/dotnet/test | |
| parent | b6b344dccb18ed44500232e492573244b8a6bdf3 (diff) | |
| download | qpid-python-077b8b25ab7fac22daf8494feb125cd5c73b95ac.tar.gz | |
QPID-2589 Cleanup pass to address function naming, capitalization rules, change Qpid messaging 'list' representation from List<> to Collection<>,
some exception cleanup.
Patch from Chuck Rolke
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/dotnet/test')
| -rw-r--r-- | cpp/bindings/qpid/dotnet/test/messaging.test/messaging.test.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/bindings/qpid/dotnet/test/messaging.test/messaging.test.cs b/cpp/bindings/qpid/dotnet/test/messaging.test/messaging.test.cs index 5d161728e5..923952bff9 100644 --- a/cpp/bindings/qpid/dotnet/test/messaging.test/messaging.test.cs +++ b/cpp/bindings/qpid/dotnet/test/messaging.test/messaging.test.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic;
using System.Linq;
using System.Text;
-using org.apache.qpid.messaging;
+using Org.Apache.Qpid.Messaging;
-namespace org.apache.qpid.messaging
+namespace Org.Apache.Qpid.Messaging
{
class Program
{
@@ -64,22 +64,22 @@ namespace org.apache.qpid.messaging Address aType = new Address ("check3", "subj", options, "hot");
- Console.WriteLine("aEmpty : {0}", aEmpty.str());
- Console.WriteLine("aStr : {0}", aStr.str());
- Console.WriteLine("aSubj : {0}", aSubj.str());
- Console.WriteLine("aType : {0}", aType.str());
+ Console.WriteLine("aEmpty : {0}", aEmpty.ToStr());
+ Console.WriteLine("aStr : {0}", aStr.ToStr());
+ Console.WriteLine("aSubj : {0}", aSubj.ToStr());
+ Console.WriteLine("aType : {0}", aType.ToStr());
//
// Raw message data retrieval
//
Message m2 = new Message("rarey");
- UInt64 m2Size = m2.getContentSize();
+ UInt64 m2Size = m2.GetContentSize();
byte[] myRaw = new byte [m2Size];
- m2.getRaw(myRaw);
+ m2.GetRaw(myRaw);
Console.WriteLine("Got raw array size {0}", m2Size);
for (UInt64 i = 0; i < m2Size; i++)
Console.Write("{0} ", myRaw[i].ToString());
|
