diff options
author | Micael Karlberg <[email protected]> | 2019-07-17 12:31:13 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-07-17 12:31:13 +0200 |
commit | 7e22b87823fefeda397c53d2fd1610338d0df859 (patch) | |
tree | 775ae9cb9d395d6d4240a027d0a02c2258173d01 /lib/megaco/test/megaco_actions_test.erl | |
parent | 39e6da2829257fec14142f8b40135e42b43ff41b (diff) | |
download | otp-7e22b87823fefeda397c53d2fd1610338d0df859.tar.gz otp-7e22b87823fefeda397c53d2fd1610338d0df859.tar.bz2 otp-7e22b87823fefeda397c53d2fd1610338d0df859.zip |
[megaco|test] Removed the "compile all" compiler directive (actions)
Removed the "compile all" compiler directive for the actions
megaco test suite.
Diffstat (limited to 'lib/megaco/test/megaco_actions_test.erl')
-rw-r--r-- | lib/megaco/test/megaco_actions_test.erl | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/lib/megaco/test/megaco_actions_test.erl b/lib/megaco/test/megaco_actions_test.erl index 4e52bc6e16..498e5c91cb 100644 --- a/lib/megaco/test/megaco_actions_test.erl +++ b/lib/megaco/test/megaco_actions_test.erl @@ -20,13 +20,30 @@ %% %%---------------------------------------------------------------------- -%% Purpose: Verify that it is possible to separatelly encode +%% Purpose: Verify that it is possible to separately encode %% the action requests list. Do this with all codec's %% that supports partial encode. %%---------------------------------------------------------------------- -module(megaco_actions_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, + + t/0, t/1, + + pretty_text/1, + flex_pretty_text/1, + compact_text/1, + flex_compact_text/1, + erl_dist/1, + erl_dist_mc/1 + ]). -include("megaco_test_lib.hrl"). -include_lib("megaco/include/megaco.hrl"). @@ -364,9 +381,6 @@ sleep(X) -> receive after X -> ok end. -error_msg(F,A) -> error_logger:error_msg(F ++ "~n",A). - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% i(F) -> @@ -376,8 +390,8 @@ i(F, A) -> print(info, get(verbosity), "", F, A). -d(F) -> - d(F, []). +%% d(F) -> +%% d(F, []). d(F, A) -> print(debug, get(verbosity), "DBG: ", F, A). @@ -398,14 +412,3 @@ print(_, _, _, _) -> ok. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -random_init() -> - ok. - -random() -> - 10 * rand:uniform(50). - -apply_load_timer() -> - erlang:send_after(random(), self(), apply_load_timeout). - |