Author: gsim
Date: Wed May  9 00:27:39 2007
New Revision: 536449

URL: http://svn.apache.org/viewvc?view=rev&rev=536449
Log:
Altered test case 2, i.e. basic p2p, such that it binds the queue to amq.direct 
rather than relying on the default bindings.

Modified the clientid option of the test runner to be -n,--clientname to be 
consistent with java test runner. 


Modified:
    incubator/qpid/branches/M2/cpp/tests/BasicP2PTest.h
    incubator/qpid/branches/M2/cpp/tests/TestOptions.h

Modified: incubator/qpid/branches/M2/cpp/tests/BasicP2PTest.h
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/M2/cpp/tests/BasicP2PTest.h?view=diff&rev=536449&r1=536448&r2=536449
==============================================================================
--- incubator/qpid/branches/M2/cpp/tests/BasicP2PTest.h (original)
+++ incubator/qpid/branches/M2/cpp/tests/BasicP2PTest.h Wed May  9 00:27:39 2007
@@ -50,6 +50,8 @@
         {
             Queue q(queue, true);
             channel.declareQueue(q);
+            framing::FieldTable args;
+            channel.bind(Exchange::STANDARD_DIRECT_EXCHANGE, q, queue, args);
             channel.consume(q, tag, this);
             channel.start();
         }

Modified: incubator/qpid/branches/M2/cpp/tests/TestOptions.h
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/M2/cpp/tests/TestOptions.h?view=diff&rev=536449&r1=536448&r2=536449
==============================================================================
--- incubator/qpid/branches/M2/cpp/tests/TestOptions.h (original)
+++ incubator/qpid/branches/M2/cpp/tests/TestOptions.h Wed May  9 00:27:39 2007
@@ -35,7 +35,7 @@
         desc.add_options()
             ("broker,b", optValue(broker, "HOSTNAME"), "the hostname to 
connect to")
             ("virtualhost,v", optValue(virtualhost, "VIRTUAL_HOST"), "virtual 
host")
-            ("clientid,i", optValue(clientid, "ID"), "unique client 
identifier")
+            ("clientname,n", optValue(clientid, "ID"), "unique client 
identifier")
             ("help,h", optValue(help), "print this usage statement");
     }
 


Reply via email to