NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can only create new topics. Any topics you
do
create that are not checked into subversion may be deleted by anyone, at any time.
Tags:
tag this topic
create new tag
view all tags
Description: tests for TOCs included from other topics and with funny deprecated syntaxes. <i>This test also demonstrates that redundant anchor names (either specified in TML syntax or generated using the =makeUniqueAnchorName()= subroutine in =Render.pm=) now get renamed automatically; currently, this is actually done twice (once for TOC and once for the topic contents), yet all references must be in sync at any time. %BR% For details cf. TWiki:Codev/FixAnchorHandling, TWikibug:Item1607 </i> [[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?test=compare&debugenableplugins=TestFixturePlugin&skin=pattern][run this test]] Designed by: Crawford Currie %BR% Modified by: Markus Ueberall (documented anchor name handling) <table><tr><th>Expected</th><th>Actual</th></tr> <tr valign="top"><td> <!-- expected expand rex --> <div class="twikiToc"> <ul> <li> <a href="%SCRIPTURLPATH{"view"}%/%WEB%/TocFixture?@URLPARAMS#Nonsense">Nonsense</a> <ul> <li> <a href="%SCRIPTURLPATH{"view"}%/%WEB%/TocFixture?@URLPARAMS#Makes">Makes</a> <ul> <li> <a href="%SCRIPTURLPATH{"view"}%/%WEB%/TocFixture?@URLPARAMS#Content">Content</a> </li> </ul> </li> <li> <a href="%SCRIPTURLPATH{"view"}%/%WEB%/TocFixture?@URLPARAMS#Tests">Tests</a> </li> </ul> </li> </ul> </div> <!-- /expected --> </td><td> <!-- actual --> %TOC{"TocFixture"}% <!-- /actual --> </td></tr><tr valign="top"><td> <!-- expected expand rex wine --> <div class="twikiToc"> <span class="twikiTocTitle">The Top</span> <ul> <li> <a href="?@URLPARAMS#H1_1">H1 <!--1--></a> <ul> <li> <a href="?@URLPARAMS#H2">H2</a> </li> </ul> </li> <li> <a href="?@URLPARAMS#H1_2">H1 <!--2--></a> <ul> <li> <a href="?@URLPARAMS#H2_AN1">H2</a> <ul> <li> <ul> <li> <a href="?@URLPARAMS#Don_t_ignore">Don't ignore</a> </li> </ul> </li> </ul> </li> </ul> </li> <li> <a href="?@URLPARAMS#hash_H1">hash H1</a> <ul> <li> <a href="?@URLPARAMS#H2_AN2">H2</a> </li> </ul> </li> <li> <a href="?@URLPARAMS#hash_H1_AN1">hash H1</a> <ul> <li> <a href="?@URLPARAMS#normal_H2">normal H2</a> </li> </ul> </li> </ul> </div> <!-- /expected --> </td><td> <!-- actual --> %TOC{title="The Top" web="%WEB%" topic="%TOPIC%"}% <!-- /actual --> </td></tr></table> ---+!! Ignore me H1 ---++++%NOTOC% Ignore me as well heading ---+ H1 <!--1--> Some text ---++ H2 Some more text ---+ H1 <!--2--> text ---++ H2 The rest ---#!! Ignore me H1 ---#### Don't ignore %NOTOC% except this ---# hash H1 Some text ---## H2 Some more text ---# hash H1 text <h2>normal H2</H2> <h3>!! notoc H3</H3> The rest #!! Ignore me H1 ####%NOTOC% Ignore me as well heading # space H1 Some text ## H2 Some more text # H1 text
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
:
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2021-01-06
-
TWikiGuest
Home
Site map
BETA web
Communications web
Faculty web
Imager web
LCI web
Main web
SPL web
Sandbox web
TWiki web
TestCases web
TestCases Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback