1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 2010-2017. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20
21-module(ct_no_init_config_SUITE).
22
23-compile(export_all).
24
25-include("ct.hrl").
26
27%%% This suite is used to verify that all
28%%% pre/post_init_per_group/testcase callbacks are called with correct
29%%% SuiteName even if no init_per_group/testcase function exist in the
30%%% suite, and that the non-exported config functions fail with 'undef'.
31
32init_per_suite(Config) ->
33    Config.
34
35end_per_suite(Config) ->
36    Config.
37
38end_per_group(_Group,Config) ->
39    Config.
40
41end_per_testcase(_TC,Config) ->
42    Config.
43
44all() ->
45    [test_case_1, {group,test_group}].
46
47groups() ->
48    [{test_group,[],[test_case_2]}].
49
50test_case_1(Config) ->
51    ok.
52
53test_case_2(Config) ->
54    ok.
55