aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-04 19:24:54 +0200
committerLoïc Hoguin <[email protected]>2013-09-04 19:24:54 +0200
commit4a30198f9068cc989616c8088e4b890bc1de259d (patch)
tree74f9847d6282c365e70245df13f77f3b5209faab /test
parentbd0de074c364ddd7d8f3dfdcdb6e4261433716d8 (diff)
downloadcowboy-4a30198f9068cc989616c8088e4b890bc1de259d.tar.gz
cowboy-4a30198f9068cc989616c8088e4b890bc1de259d.tar.bz2
cowboy-4a30198f9068cc989616c8088e4b890bc1de259d.zip
Make cowlib a proper dependency
Start moving a few functions from Cowboy into cowlib.
Diffstat (limited to 'test')
-rw-r--r--test/autobahn_SUITE.erl2
-rw-r--r--test/http_SUITE.erl2
-rw-r--r--test/spdy_SUITE.erl2
-rw-r--r--test/ws_SUITE.erl2
4 files changed, 8 insertions, 0 deletions
diff --git a/test/autobahn_SUITE.erl b/test/autobahn_SUITE.erl
index 68a9221..da56667 100644
--- a/test/autobahn_SUITE.erl
+++ b/test/autobahn_SUITE.erl
@@ -37,6 +37,7 @@ groups() ->
init_per_suite(Config) ->
application:start(crypto),
+ application:start(cowlib),
application:start(ranch),
application:start(cowboy),
%% /tmp must be used as the parent directory for the virtualenv because
@@ -58,6 +59,7 @@ end_per_suite(_Config) ->
os:cmd("deactivate"),
application:stop(cowboy),
application:stop(ranch),
+ application:stop(cowlib),
application:stop(crypto),
ok.
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index f784c50..b536380 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -196,6 +196,7 @@ groups() ->
init_per_suite(Config) ->
application:start(crypto),
+ application:start(cowlib),
application:start(ranch),
application:start(cowboy),
Dir = ?config(priv_dir, Config) ++ "/static",
@@ -207,6 +208,7 @@ end_per_suite(Config) ->
ct_helper:delete_static_dir(Dir),
application:stop(cowboy),
application:stop(ranch),
+ application:stop(cowlib),
application:stop(crypto),
ok.
diff --git a/test/spdy_SUITE.erl b/test/spdy_SUITE.erl
index 6c19792..078c214 100644
--- a/test/spdy_SUITE.erl
+++ b/test/spdy_SUITE.erl
@@ -43,6 +43,7 @@ groups() ->
init_per_suite(Config) ->
application:start(crypto),
+ application:start(cowlib),
application:start(ranch),
application:start(cowboy),
application:start(asn1),
@@ -62,6 +63,7 @@ end_per_suite(Config) ->
application:stop(asn1),
application:stop(cowboy),
application:stop(ranch),
+ application:stop(cowlib),
application:stop(crypto),
ok.
diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl
index d2a0888..0a8ca43 100644
--- a/test/ws_SUITE.erl
+++ b/test/ws_SUITE.erl
@@ -70,6 +70,7 @@ groups() ->
init_per_suite(Config) ->
application:start(crypto),
+ application:start(cowlib),
application:start(ranch),
application:start(cowboy),
Config.
@@ -77,6 +78,7 @@ init_per_suite(Config) ->
end_per_suite(_Config) ->
application:stop(cowboy),
application:stop(ranch),
+ application:stop(cowlib),
application:stop(crypto),
ok.