aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/active_echo_protocol.erl1
-rw-r--r--test/echo_protocol.erl1
-rw-r--r--test/notify_and_wait_protocol.erl1
-rw-r--r--test/remove_conn_and_wait_protocol.erl1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/active_echo_protocol.erl b/test/active_echo_protocol.erl
index ac53d12..875bdd2 100644
--- a/test/active_echo_protocol.erl
+++ b/test/active_echo_protocol.erl
@@ -1,4 +1,5 @@
-module(active_echo_protocol).
+-behaviour(ranch_protocol).
-export([start_link/4]).
-export([init/4]).
diff --git a/test/echo_protocol.erl b/test/echo_protocol.erl
index 6839239..54507d2 100644
--- a/test/echo_protocol.erl
+++ b/test/echo_protocol.erl
@@ -1,4 +1,5 @@
-module(echo_protocol).
+-behaviour(ranch_protocol).
-export([start_link/4]).
-export([init/4]).
diff --git a/test/notify_and_wait_protocol.erl b/test/notify_and_wait_protocol.erl
index c959732..f0136a1 100644
--- a/test/notify_and_wait_protocol.erl
+++ b/test/notify_and_wait_protocol.erl
@@ -1,4 +1,5 @@
-module(notify_and_wait_protocol).
+-behaviour(ranch_protocol).
-export([start_link/4]).
-export([init/2]).
diff --git a/test/remove_conn_and_wait_protocol.erl b/test/remove_conn_and_wait_protocol.erl
index 011bd5d..6a5b52a 100644
--- a/test/remove_conn_and_wait_protocol.erl
+++ b/test/remove_conn_and_wait_protocol.erl
@@ -1,4 +1,5 @@
-module(remove_conn_and_wait_protocol).
+-behaviour(ranch_protocol).
-export([start_link/4]).
-export([init/2]).