1 %% The contents of this file are subject to the Mozilla Public License
2 %% Version 1.1 (the "License"); you may not use this file except in
3 %% compliance with the License. You may obtain a copy of the License at
4 %% http://www.mozilla.org/MPL/
6 %% Software distributed under the License is distributed on an "AS IS"
7 %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8 %% License for the specific language governing rights and limitations
11 %% The Original Code is RabbitMQ Management Console.
13 %% The Initial Developer of the Original Code is GoPivotal, Inc.
14 %% Copyright (c) 2010-2014 GoPivotal, Inc. All rights reserved.
17 -module(rabbit_shovel_mgmt_test_all).
19 -export([all_tests/0]).
22 ok = eunit:test(tests(rabbit_shovel_mgmt_test_http, 60), [verbose]).
24 tests(Module, Timeout) ->
25 {foreach, fun() -> ok end,
26 [{timeout, Timeout, fun Module:F/0} ||
27 {F, _Arity} <- proplists:get_value(exports, Module:module_info()),
28 string:right(atom_to_list(F), 5) =:= "_test"]}.