diff options
author | Micael Karlberg <[email protected]> | 2019-08-01 11:47:27 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-08-01 11:47:27 +0200 |
commit | 1f09c724bcc29e94bc3a1992420bab89a7f768ba (patch) | |
tree | 8632c35ae8853ecffe7aff3974eb35eff3daae81 /lib/megaco/test/megaco_appup_test.erl | |
parent | c7ac8d9bf26cbb04c2942e792f766a2ba6d8b07e (diff) | |
parent | 369718a77d4bd14dc92e3613e896cfcc10802f7b (diff) | |
download | otp-1f09c724bcc29e94bc3a1992420bab89a7f768ba.tar.gz otp-1f09c724bcc29e94bc3a1992420bab89a7f768ba.tar.bz2 otp-1f09c724bcc29e94bc3a1992420bab89a7f768ba.zip |
Merge branch 'bmk/megaco/20190710/test_tweaking' into maint
Diffstat (limited to 'lib/megaco/test/megaco_appup_test.erl')
-rw-r--r-- | lib/megaco/test/megaco_appup_test.erl | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/lib/megaco/test/megaco_appup_test.erl b/lib/megaco/test/megaco_appup_test.erl index 8dc3ad51a0..a06d274844 100644 --- a/lib/megaco/test/megaco_appup_test.erl +++ b/lib/megaco/test/megaco_appup_test.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2002-2016. All Rights Reserved. +%% Copyright Ericsson AB 2002-2019. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -22,8 +22,23 @@ %%---------------------------------------------------------------------- -module(megaco_appup_test). --compile(export_all). --compile({no_auto_import,[error/1]}). +-export([ + all/0, + groups/0, + + init_per_suite/1, + end_per_suite/1, + + init_per_group/2, + end_per_group/2, + + init_per_testcase/2, + end_per_testcase/2, + + appup_file/1 + ]). + +-compile({no_auto_import, [error/1]}). -include_lib("common_test/include/ct.hrl"). -include("megaco_test_lib.hrl"). @@ -76,6 +91,10 @@ end_per_testcase(_Case, Config) when is_list(Config) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Perform a simple check of the appup file +appup_file(suite) -> + []; +appup_file(doc) -> + ["Perform a simple check of the appup file"]; appup_file(Config) when is_list(Config) -> ok = ?t:appup_test(megaco). |