Description: Tests for inclusion of attachments [[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&debugenableplugins=TestFixturePlugin&skin=pattern][run this test]] Designed by: Crawford Currie %BR% Modified by: Markus Ueberall (redundant anchor names get renamed, cf. TestCaseAutoTOC) ---+ Existing attachment ---++ Expected <!-- expected --> <h1><a name="heading_1_AN1"></a>heading 1</h1> <!-- /expected --> ---++ Actual <!-- actual --> %INCLUDE{"%ATTACHURL%/attachment.html"}% <!-- /actual --> --- ---+ Non-existant attachment (manual test) ---++ Expected <!-- manual expected --> <p /> <h1><a name="Not_Found"> </a> Not Found </h1> The requested URL %ATTACHURLPATH%/noexist was not found on this server.<P> <HR> <!-- manual /expected --> ---++ Actual <!-- manual actual --> %INCLUDE{"%ATTACHURL%/noexist"}% <!-- manual /actual -->
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
html
attachment.html
r1
manage
0.1 K
2004-12-01 - 08:28
TWikiContributor
This topic: TestCases
>
TestCaseAutoIncludeAttachment
Topic revision: r1 - 2021-01-06 - TWikiGuest
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