diff options
author | Lukas Larsson <[email protected]> | 2012-08-30 15:40:09 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-08-30 15:40:09 +0200 |
commit | 24f0d49642ecc0cc566055f1c5b8c49e65c42537 (patch) | |
tree | a2389b6e77410aac598884139a93a402ce214554 /lib/common_test/doc/src/ct_hooks_chapter.xml | |
parent | 07852bfc037ca748ca10049f47330fba80a54ad8 (diff) | |
parent | c0ef28d5eecffc56b72a281a6d73f5ad1504bf0a (diff) | |
download | otp-24f0d49642ecc0cc566055f1c5b8c49e65c42537.tar.gz otp-24f0d49642ecc0cc566055f1c5b8c49e65c42537.tar.bz2 otp-24f0d49642ecc0cc566055f1c5b8c49e65c42537.zip |
Merge branch 'lukas/doc-fixes' into maint
* lukas/doc-fixes:
Document that CTHs can get fail/skip as Config
Ignore calls to dialyzer_timing when checking deprecated
Do not verify del_path as it is not always there
Fix broken links
Generate <a name="name"> tags in edoc xml headings
Fix compile warning
Fix boken spec
Diffstat (limited to 'lib/common_test/doc/src/ct_hooks_chapter.xml')
-rw-r--r-- | lib/common_test/doc/src/ct_hooks_chapter.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/common_test/doc/src/ct_hooks_chapter.xml b/lib/common_test/doc/src/ct_hooks_chapter.xml index c938851e0e..86237f5fc1 100644 --- a/lib/common_test/doc/src/ct_hooks_chapter.xml +++ b/lib/common_test/doc/src/ct_hooks_chapter.xml @@ -252,6 +252,13 @@ {ok, Handle} -> {[{db_handle, Handle} | Config], CTHState#state{ handle = Handle }} end.</code> + <note>If using multiple CTHs, the first part of the return tuple will be + used as input for the next CTH. So in the case above the next CTH might + get <c>{fail,Reason}</c> as the second parameter. If you have many CTHs + which interact, it might be a good idea to not let each CTH return + <c>fail</c> or <c>skip</c>. Instead return that an action should be taken + through the <c>Config</c> list and implement a CTH which at the end takes + the correct action. </note> </section> |