aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/test/megaco_appup_test.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-14 16:43:46 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:34:50 +0100
commit0cf2bec9676d42053f15dadb7e6f45c579944bf6 (patch)
treee5782f43a966fe60114eca315fd04559ebf7058a /lib/megaco/test/megaco_appup_test.erl
parent9037c4a828e699d5d3bba423d82db93cddf3d079 (diff)
downloadotp-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_appup_test.erl')
-rw-r--r--lib/megaco/test/megaco_appup_test.erl19
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/megaco/test/megaco_appup_test.erl b/lib/megaco/test/megaco_appup_test.erl
index 552d6049b9..a49ab0a968 100644
--- a/lib/megaco/test/megaco_appup_test.erl
+++ b/lib/megaco/test/megaco_appup_test.erl
@@ -44,25 +44,24 @@ end_per_testcase(Case, Config) ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
all() ->
-Cases = [appup],
- Cases.
+ [appup].
groups() ->
[].
init_per_group(_GroupName, Config) ->
- Config.
+ Config.
end_per_group(_GroupName, Config) ->
- Config.
+ Config.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-appup_init(suite) -> [];
-appup_init(doc) -> [];
-appup_init(Config) when is_list(Config) ->
+init_per_suite(suite) -> [];
+init_per_suite(doc) -> [];
+init_per_suite(Config) when is_list(Config) ->
AppFile = file_name(?APPLICATION, ".app"),
AppupFile = file_name(?APPLICATION, ".appup"),
[{app_file, AppFile}, {appup_file, AppupFile}|Config].
@@ -73,9 +72,9 @@ file_name(App, Ext) ->
filename:join([LibDir, "ebin", atom_to_list(App) ++ Ext]).
-appup_fin(suite) -> [];
-appup_fin(doc) -> [];
-appup_fin(Config) when is_list(Config) ->
+end_per_suite(suite) -> [];
+end_per_suite(doc) -> [];
+end_per_suite(Config) when is_list(Config) ->
Config.