diff options
author | Micael Karlberg <[email protected]> | 2019-07-17 16:55:40 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-07-17 16:55:40 +0200 |
commit | 87b588fdc5e22cd4da0348779408caf2a4de25af (patch) | |
tree | e53ea9188c19e831c51ac742ad8b966f9477dab1 /lib/megaco | |
parent | 105b354218fbd037e371082298cd85e170500f3f (diff) | |
download | otp-87b588fdc5e22cd4da0348779408caf2a4de25af.tar.gz otp-87b588fdc5e22cd4da0348779408caf2a4de25af.tar.bz2 otp-87b588fdc5e22cd4da0348779408caf2a4de25af.zip |
[megaco|test] Removed the "compile all" compiler directive (config)
Removed the "compile all" compiler directive for the config
megaco test suite.
Diffstat (limited to 'lib/megaco')
-rw-r--r-- | lib/megaco/test/megaco_config_test.erl | 47 |
1 files changed, 40 insertions, 7 deletions
diff --git a/lib/megaco/test/megaco_config_test.erl b/lib/megaco/test/megaco_config_test.erl index 62a9c0980a..07c3579dc2 100644 --- a/lib/megaco/test/megaco_config_test.erl +++ b/lib/megaco/test/megaco_config_test.erl @@ -25,7 +25,24 @@ -module(megaco_config_test). --compile(export_all). +-export([ + all/0, + groups/0, + + init_per_group/2, + end_per_group/2, + init_per_testcase/2, + end_per_testcase/2, + + config/1, + transaction_id_counter_mg/1, + transaction_id_counter_mgc/1, + otp_7216/1, + otp_8167/1, + otp_8183/1, + + t/0, t/1 + ]). -include("megaco_test_lib.hrl"). -include_lib("megaco/include/megaco.hrl"). @@ -60,14 +77,17 @@ end_per_testcase(Case, Config) -> %% Top test case all() -> - [config, {group, transaction_id_counter}, - {group, tickets}]. + [ + config, + {group, transaction_id_counter}, + {group, tickets} + ]. groups() -> - [{transaction_id_counter, [], - [transaction_id_counter_mg, - transaction_id_counter_mgc]}, - {tickets, [], [otp_7216, otp_8167, otp_8183]}]. + [ + {transaction_id_counter, [], transaction_id_counter_cases()}, + {tickets, [], tickets_cases()} + ]. init_per_group(_GroupName, Config) -> Config. @@ -75,6 +95,19 @@ init_per_group(_GroupName, Config) -> end_per_group(_GroupName, Config) -> Config. +transaction_id_counter_cases() -> + [ + transaction_id_counter_mg, + transaction_id_counter_mgc + ]. + +tickets_cases() -> + [ + otp_7216, + otp_8167, + otp_8183 + ]. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Config test case |