diff options
Diffstat (limited to 'cpp/tests')
-rw-r--r-- | cpp/tests/BasicP2PTest.h | 2 | ||||
-rw-r--r-- | cpp/tests/TestOptions.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cpp/tests/BasicP2PTest.h b/cpp/tests/BasicP2PTest.h index f38ea2c387..989344bb47 100644 --- a/cpp/tests/BasicP2PTest.h +++ b/cpp/tests/BasicP2PTest.h @@ -50,6 +50,8 @@ class BasicP2PTest : public SimpleTestCaseBase { 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(); } diff --git a/cpp/tests/TestOptions.h b/cpp/tests/TestOptions.h index 6cf6314bca..7031efc266 100644 --- a/cpp/tests/TestOptions.h +++ b/cpp/tests/TestOptions.h @@ -35,7 +35,7 @@ struct TestOptions : public qpid::CommonOptions 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"); } |