aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/doc/src/ct_hooks_chapter.xml
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-12-05 15:04:25 +0100
committerLukas Larsson <[email protected]>2011-12-05 15:04:25 +0100
commitd91637c8e468003e0421fb95e7d9f7fd001f5cde (patch)
treedb999cd00f8a1a6e58e646d5789ed8387e127cb6 /lib/common_test/doc/src/ct_hooks_chapter.xml
parent348a15766cdec257d27adbddeb55926ca52e2fd9 (diff)
parent0534d4954432d24aaf879667bfe48455af934477 (diff)
downloadotp-d91637c8e468003e0421fb95e7d9f7fd001f5cde.tar.gz
otp-d91637c8e468003e0421fb95e7d9f7fd001f5cde.tar.bz2
otp-d91637c8e468003e0421fb95e7d9f7fd001f5cde.zip
Merge branch 'lukas/common_test/reverse_hook_order/OTP-9774'
* lukas/common_test/reverse_hook_order/OTP-9774: Reverse hook order for *_end_per_* hooks
Diffstat (limited to 'lib/common_test/doc/src/ct_hooks_chapter.xml')
-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