diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-09-04 07:42:20 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-09-04 07:42:20 +0100 |
commit | 697a84c00063f2715ac4c37f00e6171deb773a7e (patch) | |
tree | 0b388ab7938bb1d7bfa867f5cf451a7b36253fa4 | |
parent | c583ea0b0ce195bb73791bd7fccbdf6506926939 (diff) | |
download | rabbitmq-server-697a84c00063f2715ac4c37f00e6171deb773a7e.tar.gz |
expand test coveragebug23230
-rw-r--r-- | src/rabbit_tests.erl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index bdd3cdcd..b541f0f7 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -1037,7 +1037,15 @@ test_server_status() -> ok = info_action(list_exchanges, rabbit_exchange:info_keys(), true), %% list bindings - ok = control_action(list_bindings, []), + ok = info_action(list_bindings, rabbit_binding:info_keys(), true), + %% misc binding listing APIs + [_|_] = rabbit_binding:list_for_exchange( + rabbit_misc:r(<<"/">>, exchange, <<"">>)), + [_] = rabbit_binding:list_for_queue( + rabbit_misc:r(<<"/">>, queue, <<"foo">>)), + [_] = rabbit_binding:list_for_exchange_and_queue( + rabbit_misc:r(<<"/">>, exchange, <<"">>), + rabbit_misc:r(<<"/">>, queue, <<"foo">>)), %% list connections [#listener{host = H, port = P} | _] = |