diff options
author | Micael Karlberg <[email protected]> | 2019-06-05 12:43:23 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-07-01 18:01:56 +0200 |
commit | 21b6eab8c2aa2f0754e1cb1a8edcbd936824b4c5 (patch) | |
tree | 6808a44562f453f2efd5f4e28e393b1b9e2c0797 /lib/megaco/test/megaco_test_lib.hrl | |
parent | 4381bf5c3e921152d6e8c9d75a9b27013d51da7b (diff) | |
download | otp-21b6eab8c2aa2f0754e1cb1a8edcbd936824b4c5.tar.gz otp-21b6eab8c2aa2f0754e1cb1a8edcbd936824b4c5.tar.bz2 otp-21b6eab8c2aa2f0754e1cb1a8edcbd936824b4c5.zip |
[megaco|test] Improving the example and mib test suites
The examples test suite was hard to debug just based
on its output (both plain debug printouts and printouts
generated via dbg). Some timeouts has been added between
the various actions so that it will be easier to understand
the output.
Diffstat (limited to 'lib/megaco/test/megaco_test_lib.hrl')
-rw-r--r-- | lib/megaco/test/megaco_test_lib.hrl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/megaco/test/megaco_test_lib.hrl b/lib/megaco/test/megaco_test_lib.hrl index 79a1493c40..b198619e2a 100644 --- a/lib/megaco/test/megaco_test_lib.hrl +++ b/lib/megaco/test/megaco_test_lib.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2016. All Rights Reserved. +%% Copyright Ericsson AB 1999-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. @@ -80,9 +80,7 @@ -define(SLEEP(MSEC), megaco_test_lib:sleep(MSEC)). --define(M(), megaco_test_lib:millis()). --define(MDIFF(A,B), megaco_test_lib:millis_diff(A,B)). - -define(HOURS(T), megaco_test_lib:hours(T)). -define(MINUTES(T), megaco_test_lib:minutes(T)). -define(SECONDS(T), megaco_test_lib:seconds(T)). +-define(FT(), megaco_test_lib:formated_timestamp()). |