diff options
author | Lukas Larsson <[email protected]> | 2010-12-14 16:43:46 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:34:50 +0100 |
commit | 0cf2bec9676d42053f15dadb7e6f45c579944bf6 (patch) | |
tree | e5782f43a966fe60114eca315fd04559ebf7058a /lib/megaco/test/megaco_flex_test.erl | |
parent | 9037c4a828e699d5d3bba423d82db93cddf3d079 (diff) | |
download | otp-0cf2bec9676d42053f15dadb7e6f45c579944bf6.tar.gz otp-0cf2bec9676d42053f15dadb7e6f45c579944bf6.tar.bz2 otp-0cf2bec9676d42053f15dadb7e6f45c579944bf6.zip |
Fix formatting and also some migration fixes for megaco
Diffstat (limited to 'lib/megaco/test/megaco_flex_test.erl')
-rw-r--r-- | lib/megaco/test/megaco_flex_test.erl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/megaco/test/megaco_flex_test.erl b/lib/megaco/test/megaco_flex_test.erl index dfa1d8f34d..d7fc8eacb5 100644 --- a/lib/megaco/test/megaco_flex_test.erl +++ b/lib/megaco/test/megaco_flex_test.erl @@ -35,7 +35,7 @@ init_per_testcase/2, end_per_testcase/2, all/0,groups/0,init_per_group/2,end_per_group/2, - flex_init/1, flex_fin/1, + init_per_suite/1, end_per_suite/1, plain/1, port_exit/1, @@ -62,24 +62,24 @@ end_per_testcase(Case, Config) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% all() -> -Cases = [plain, port_exit, garbage_in], - Cases. + [plain, port_exit, garbage_in]. + groups() -> []. init_per_group(_GroupName, Config) -> - Config. + Config. end_per_group(_GroupName, Config) -> - Config. + Config. -flex_init(suite) -> +init_per_suite(suite) -> []; -flex_init(doc) -> +init_per_suite(doc) -> []; -flex_init(Config) when is_list(Config) -> +init_per_suite(Config) when is_list(Config) -> case megaco_flex_scanner:is_enabled() of true -> Config; @@ -87,9 +87,9 @@ flex_init(Config) when is_list(Config) -> ?SKIP(flex_scanner_not_enabled) end. -flex_fin(suite) -> []; -flex_fin(doc) -> []; -flex_fin(Config) when is_list(Config) -> +end_per_suite(suite) -> []; +end_per_suite(doc) -> []; +end_per_suite(Config) when is_list(Config) -> Config. |