~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/orber/test/orber_acl_SUITE.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%%
4
 
%% Copyright Ericsson AB 2004-2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2004-2011. All Rights Reserved.
5
5
%%
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
25
25
%%-----------------------------------------------------------------
26
26
-module(orber_acl_SUITE).
27
27
 
28
 
-include("test_server.hrl").
 
28
-include_lib("test_server/include/test_server.hrl").
29
29
 
30
30
-define(default_timeout, ?t:minutes(5)).
31
31
 
47
47
%%-----------------------------------------------------------------
48
48
%% External exports
49
49
%%-----------------------------------------------------------------
50
 
-export([all/1]).
 
50
-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
51
51
 
52
52
%%-----------------------------------------------------------------
53
53
%% Internal exports
59
59
%% Args: 
60
60
%% Returns: 
61
61
%%-----------------------------------------------------------------
62
 
all(doc) -> ["Testing API for ACL (Access Control List)"];
63
 
all(suite) -> 
 
62
suite() -> [{ct_hooks,[ts_install_cth]}].
 
63
 
 
64
all() -> 
64
65
    [ipv4_verify, ipv4_range, ipv4_interfaces, ipv4_bm,
65
66
     ipv6_verify, ipv6_range, ipv6_interfaces, ipv6_bm].
66
67
 
 
68
groups() -> 
 
69
    [].
 
70
 
 
71
init_per_group(_GroupName, Config) ->
 
72
    Config.
 
73
 
 
74
end_per_group(_GroupName, Config) ->
 
75
    Config.
 
76
 
 
77
 
67
78
%%-----------------------------------------------------------------
68
79
%% Init and cleanup functions.
69
80
%%-----------------------------------------------------------------
70
 
init_all(Config) ->
 
81
init_per_suite(Config) ->
71
82
    if
72
83
        list(Config) ->
73
84
            Config;
75
86
            exit("Config not a list")
76
87
    end.
77
88
 
78
 
finish_all(Config) ->
 
89
end_per_suite(Config) ->
79
90
    Config.
80
91
 
81
92
 
84
95
    [{watchdog, Dog}|Config].
85
96
 
86
97
 
87
 
fin_per_testcase(_Case, Config) ->
 
98
end_per_testcase(_Case, Config) ->
88
99
    Dog = ?config(watchdog, Config),
89
100
    test_server:timetrap_cancel(Dog),
90
101
    ok.