diff options
author | Peter Andersson <[email protected]> | 2015-03-18 10:15:10 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2015-03-18 10:15:10 +0100 |
commit | 286fbba4880eb58239e03751f088ebbbf38512cd (patch) | |
tree | c1ad4eecf4d1aacf66c470e2cf5fe3cb65f5b5ad /lib/common_test/test | |
parent | 1db419fc261faaab0830af9c0499499f03fad33b (diff) | |
parent | d603d51333b2bdc58658ef8bfe7f2a2a8ed074a5 (diff) | |
download | otp-286fbba4880eb58239e03751f088ebbbf38512cd.tar.gz otp-286fbba4880eb58239e03751f088ebbbf38512cd.tar.bz2 otp-286fbba4880eb58239e03751f088ebbbf38512cd.zip |
Merge remote-tracking branch 'origin/peppe/common_test/public_event_mgr' into maint
* origin/peppe/common_test/public_event_mgr:
Add documentation
Add API functions for reading CT event manager references
OTP-12506
Diffstat (limited to 'lib/common_test/test')
-rw-r--r-- | lib/common_test/test/ct_event_handler_SUITE.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_event_handler_SUITE.erl b/lib/common_test/test/ct_event_handler_SUITE.erl index 30a5e650fe..750ccb8659 100644 --- a/lib/common_test/test/ct_event_handler_SUITE.erl +++ b/lib/common_test/test/ct_event_handler_SUITE.erl @@ -29,6 +29,7 @@ -compile(export_all). -include_lib("common_test/include/ct.hrl"). +-include_lib("common_test/src/ct_util.hrl"). %-include_lib("common_test/include/ct_event.hrl"). @@ -59,7 +60,7 @@ end_per_testcase(TestCase, Config) -> suite() -> [{ct_hooks,[ts_install_cth]}]. all() -> - [start_stop, results]. + [start_stop, results, event_mgrs]. groups() -> []. @@ -179,5 +180,10 @@ results(Config) when is_list(Config) -> ok = ct_test_support:verify_events(TestEvents++TestEvents, Events, Config). +event_mgrs(_) -> + ?CT_EVMGR_REF = ct:get_event_mgr_ref(), + ?CT_MEVMGR_REF = ct_master:get_event_mgr_ref(). + + %%%----------------------------------------------------------------- %%% HELP FUNCTIONS |