diff options
author | Michael Klishin <mklishin@pivotal.io> | 2019-02-12 14:14:54 +0300 |
---|---|---|
committer | Michael Klishin <mklishin@pivotal.io> | 2019-02-12 14:14:54 +0300 |
commit | 9231b213053911325b1ce45081af7fcb650433c4 (patch) | |
tree | 645b7297318430de0fe246c959942d379b52de1c /deps/rabbitmq_cli/test/diagnostics | |
parent | b17a998ed10cfa496614fdf9f33f5b8a1a075123 (diff) | |
download | rabbitmq-server-git-9231b213053911325b1ce45081af7fcb650433c4.tar.gz |
Follow-up to #298: descriptions and aliases for TLS-enabled listeners
Diffstat (limited to 'deps/rabbitmq_cli/test/diagnostics')
-rw-r--r-- | deps/rabbitmq_cli/test/diagnostics/diagnostics_helpers_test.exs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/deps/rabbitmq_cli/test/diagnostics/diagnostics_helpers_test.exs b/deps/rabbitmq_cli/test/diagnostics/diagnostics_helpers_test.exs index 309150dc85..e9774b3514 100644 --- a/deps/rabbitmq_cli/test/diagnostics/diagnostics_helpers_test.exs +++ b/deps/rabbitmq_cli/test/diagnostics/diagnostics_helpers_test.exs @@ -34,8 +34,15 @@ defmodule DiagnosticsHelpersTest do end test "[human-readable] protocol labels" do - assert DH.protocol_label(:amqp) == "AMQP 0-9-1 and AMQP 1.0" - assert DH.protocol_label(:mqtt) == "MQTT" + assert DH.protocol_label(:amqp) == "AMQP 0-9-1 and AMQP 1.0" + assert DH.protocol_label(:'amqp/ssl') == "AMQP 0-9-1 and AMQP 1.0 over TLS" + assert DH.protocol_label(:mqtt) == "MQTT" + assert DH.protocol_label(:'mqtt/ssl') == "MQTT over TLS" assert DH.protocol_label(:stomp) == "STOMP" + assert DH.protocol_label(:'stomp/ssl') == "STOMP over TLS" + assert DH.protocol_label(:http) == "HTTP API" + assert DH.protocol_label(:https) == "HTTP API over TLS (HTTPS)" + assert DH.protocol_label(:'https/web-stomp') == "STOMP over WebSockets and TLS (HTTPS)" + assert DH.protocol_label(:'https/web-mqtt') == "MQTT over WebSockets and TLS (HTTPS)" end end |