aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/doc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-11-29 16:24:31 +0100
committerLukas Larsson <[email protected]>2011-11-29 16:47:47 +0100
commit0534d4954432d24aaf879667bfe48455af934477 (patch)
treed3d6bded92a0354df4fc75e2dbd6105d2238f5de /lib/common_test/doc
parentdb0289277e9e2bc2e06a8530d39af65a94fd8ba3 (diff)
downloadotp-0534d4954432d24aaf879667bfe48455af934477.tar.gz
otp-0534d4954432d24aaf879667bfe48455af934477.tar.bz2
otp-0534d4954432d24aaf879667bfe48455af934477.zip
Reverse hook order for *_end_per_* hooks
Diffstat (limited to 'lib/common_test/doc')
-rw-r--r--lib/common_test/doc/src/ct_hooks_chapter.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/common_test/doc/src/ct_hooks_chapter.xml b/lib/common_test/doc/src/ct_hooks_chapter.xml
index bac0c4eaa8..8505ee8469 100644
--- a/lib/common_test/doc/src/ct_hooks_chapter.xml
+++ b/lib/common_test/doc/src/ct_hooks_chapter.xml
@@ -108,9 +108,10 @@
</section>
<section>
- <title>CTH Priority</title>
+ <title>CTH Execution order</title>
<p>By default each CTH installed will be executed in the order which
- they are installed. This is not always wanted so common_test allows
+ they are installed for init calls, and then reversed for end calls.
+ This is not always wanted so common_test allows
the user to specify a priority for each hook. The priority can either
be specified in the CTH <seealso marker="ct_hooks#Module:init-2">init/2
</seealso> function or when installing the hook. The priority given at