aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/doc/src
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-18 10:51:55 +0100
committerPeter Andersson <[email protected]>2015-03-18 10:51:55 +0100
commit3f14d81b883fd5a6d853e2d15537da3bbe6084ff (patch)
tree0a23b3decc595a3b22aab8a49597a40b0d8afb61 /lib/common_test/doc/src
parent0a6d665ebc5d90f81162923d22c967990be8eefb (diff)
parent286fbba4880eb58239e03751f088ebbbf38512cd (diff)
downloadotp-3f14d81b883fd5a6d853e2d15537da3bbe6084ff.tar.gz
otp-3f14d81b883fd5a6d853e2d15537da3bbe6084ff.tar.bz2
otp-3f14d81b883fd5a6d853e2d15537da3bbe6084ff.zip
Merge branch 'maint'
Diffstat (limited to 'lib/common_test/doc/src')
-rw-r--r--lib/common_test/doc/src/event_handler_chapter.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/common_test/doc/src/event_handler_chapter.xml b/lib/common_test/doc/src/event_handler_chapter.xml
index 45f01c12ec..f39f391818 100644
--- a/lib/common_test/doc/src/event_handler_chapter.xml
+++ b/lib/common_test/doc/src/event_handler_chapter.xml
@@ -59,6 +59,15 @@
Event handlers plugged into this manager will receive the events from
all the test nodes as well as information from the CT Master server
itself.</p>
+
+ <p>User specific event handlers may be plugged into a Common Test event
+ manager, either by telling Common Test to install them before the test
+ run (see below), or by adding the handlers dynamically during the test
+ run by means of
+ <c>gen_event:add_handler/3</c> or <c>gen_event:add_sup_handler/3</c>.
+ In the latter scenario, the reference of the Common Test event manager is
+ required. To get it, call <c>ct:get_event_mgr_ref/0</c> or (on the CT
+ Master node) <c>ct_master:get_event_mgr_ref/0</c>.</p>
</section>
<section>
<marker id="usage"></marker>