mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Make cowlib a proper dependency
Start moving a few functions from Cowboy into cowlib.
This commit is contained in:
parent
bd0de074c3
commit
4a30198f90
27 changed files with 38 additions and 45 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue