]> review.fuel-infra Code Review - packages/trusty/rabbitmq-server.git/blob
3fb8bdd86a123d452570a8255d52307eebc00fa3
[packages/trusty/rabbitmq-server.git] /
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/
5 %%
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
9 %%   under the License.
10 %%
11 %%   The Original Code is RabbitMQ Management Console.
12 %%
13 %%   The Initial Developer of the Original Code is GoPivotal, Inc.
14 %%   Copyright (c) 2010-2014 GoPivotal, Inc.  All rights reserved.
15 %%
16
17 -module(rabbit_shovel_mgmt_test_all).
18
19 -export([all_tests/0]).
20
21 all_tests() ->
22     ok = eunit:test(tests(rabbit_shovel_mgmt_test_http, 60), [verbose]).
23
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"]}.