Skip to content

Commit

Permalink
Item13883: fix TestCases web
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jun 22, 2022
1 parent eff6629 commit e5778ba
Show file tree
Hide file tree
Showing 68 changed files with 204 additions and 256 deletions.
16 changes: 8 additions & 8 deletions core/data/TestCases/CreateNewTestCaseForm.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
%META:TOPICINFO{author="ProjectContributor" date="1229276996" format="1.1" version="1"}%



%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1655891592" format="1.1" version="1"}%
<div class='foswikiPageForm'>
*Create new testcase*
<form action="%SCRIPTURL{"edit"}%/%WEB%" >
Create new testcase<br />
<input value="TestCaseAuto" name="topic" type="text" size="15" class="foswikiInputField" />
<input type="hidden" name="web" value="%WEB%" />
<input type="hidden" name="templatetopic" value="TestCaseTemplate" />
<input type="hidden" name="topicparent" value="%HOMETOPIC%" />
<input type="hidden" name="onlynewtopic" value="1" />
</form><br />
%RED% Don't forget to check it in to SVN!! %ENDCOLOR%
<input type="text" name="topic" value="TestCaseAuto..." size="15" class="foswikiInputField" style="width:100%" />
</form>

<div class='foswikiHelp'>Don't forget to check it in new test cases to GIT!! </div>
</div>
2 changes: 1 addition & 1 deletion core/data/TestCases/FormattedSearch1.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1169730364" format="1.1" version="1.4"}%
%META:TOPICINFO{author="ProjectContributor" date="1169730364" format="1.1" version="1"}%
%META:TOPICPARENT{name="TestCaseAutoFormattedSearch"}%
Michael Anchor is a famous Danish painter. He never painted $web, $n, $nop, $quot, $percnt or $dollar.

Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/FormattedSearch2.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1169714817" format="1.1" version="1.2"}%
%META:TOPICINFO{author="ProjectContributor" date="1169714817" format="1.1" version="1"}%
%META:TOPICPARENT{name="TestCaseAutoFormattedSearch"}%
Michael Anchor and Anna Anchor lived in Skagen in Denmark. There is a very nice museum you can visit

Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/FormattedSearch3.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1169714817" format="1.1" version="1.2"}%
%META:TOPICINFO{author="ProjectContributor" date="1169714817" format="1.1" version="1"}%
%META:TOPICPARENT{name="TestCaseAutoFormattedSearch"}%
!MichaelAnchor and !AnnaAnchor lived in Skagen in !DenmarkEurope!. There is a very nice museum you can visit!

Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/IncludeFixtures.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="RafaelAlvarez" date="1127097766" format="1.1" version="1.3"}%
%META:TOPICINFO{author="RafaelAlvarez" date="1127097766" format="1.1" version="1"}%
%META:TOPICPARENT{name="TestCaseSectionalInclude"}%
This is outside any section

Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/IncludeTableNoAttachment.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
%META:TOPICINFO{author="MidBum" date="1189244798" format="1.1" reprev="1.1" version="1.1"}%
%META:TOPICINFO{author="MidBum" date="1189244798" format="1.1" reprev="1.1" version="1"}%
Content
2 changes: 1 addition & 1 deletion core/data/TestCases/LinkBox.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
%META:TOPICINFO{author="WikiGuest" date="1108551480" format="1.0" version="1.1"}%
%META:TOPICINFO{author="WikiGuest" date="1108551480" format="1.0" version="1"}%
%META:TOPICPARENT{name="TestCaseAutoFormatting"}%
Empty text fixture
2 changes: 1 addition & 1 deletion core/data/TestCases/SavedContentExistingTopic.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="LynnwoodBrown" date="1124123679" format="1.1" version="1.2"}%
%META:TOPICINFO{author="LynnwoodBrown" date="1124123679" format="1.1" version="1"}%

This topic is used by TestCaseSaveContentWithoutEdit

Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/SearchTestTopic1.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="KennethLavrsen" date="1134597393" format="1.1" version="1.1"}%
%META:TOPICINFO{author="KennethLavrsen" date="1134597393" format="1.1" version="1"}%

%META:FORM{name="SearchWebForm"}%
%META:FIELD{name="TextItem" attributes="" title="Text Item" value="Value_1"}%
Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/SearchTestTopic2.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="AnnaAncher" date="1134599003" format="1.1" version="1.2"}%
%META:TOPICINFO{author="AnnaAncher" date="1134599003" format="1.1" version="1"}%

%META:FORM{name="SearchWebForm"}%
%META:FIELD{name="TextItem" attributes="" title="Text Item" value="Value_2"}%
Expand Down
2 changes: 1 addition & 1 deletion core/data/TestCases/SearchTestTopic3.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="MichaelAncher" date="1134597567" format="1.1" version="1.1"}%
%META:TOPICINFO{author="MichaelAncher" date="1134597567" format="1.1" version="1"}%

%META:FORM{name="SearchWebForm"}%
%META:FIELD{name="TextItem" attributes="" title="Text Item" value="Value_3"}%
Expand Down
35 changes: 17 additions & 18 deletions core/data/TestCases/TestCaseAmISane.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
%META:TOPICINFO{author="ProjectContributor" date="1421108862" format="1.1" version="1"}%


%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1655892474" format="1.1" version="2"}%
---+!! %TOPIC%
Description: Manual trivial fast sanity checks for script functions. Do them in order, from the top down, as the save tests rely on eachother.

| *Script* | *Description* | *Test* |
| =configure= | The most basic sanity check | <a href="%SCRIPTURLPATH%/configure">click here</a> |
| =changes= | Should redirect to changes | <a href="%SCRIPTURLPATH%/changes%SCRIPTSUFFIX%/%WEB%/QuickScriptsCheck">click here</a> |
| =edit= | Simple edit (save to create) | <a href='%SCRIPTURL{"edit"}%/%WEB%/QuickScriptsCheck?topicparent=TestCaseAmISane&onlynewtopic=1&text=TEST%20PASSED%20-please%20save%20the%20topic"&t=%GMTIME{"$epoch"}%'>click here</a> |
| =edit= | Simple edit (don't save) | <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/QuickScriptsCheck?t=%GMTIME{"$epoch"}%1">click here</a> |
| =configure= | The most basic sanity check | <a href="%SCRIPTURLPATH%/configure" class="foswikiButton">Click here</a> |
| =changes= | Should redirect to changes | <a href="%SCRIPTURLPATH%/changes%SCRIPTSUFFIX%/%WEB%/QuickScriptsCheck" class="foswikiButton">Click here</a> |
| =edit= | Simple edit (save to create) | <a href='%SCRIPTURL{"edit"}%/%WEB%/QuickScriptsCheck?topicparent=TestCaseAmISane&onlynewtopic=1&text=TEST%20PASSED%20-please%20save%20the%20topic&t=%GMTIME{"$epoch"}%' class="foswikiButton">Click here</a> |
| =edit= | Simple edit (don't save) | <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/QuickScriptsCheck?t=%GMTIME{"$epoch"}%1" class="foswikiButton">Click here</a> |
| =manage= | | |
| =oops= | Tested by quietsave, below | |
| =preview= | Should redirect to preview (save the topic - its used in later tests) | <form name="save0" action="%SCRIPTURLPATH{save}%/TestCases/WasteOfSpace" method="post"> \
Expand Down Expand Up @@ -39,10 +38,10 @@ Description: Manual trivial fast sanity checks for script functions. Do them in
<input type="hidden" name="topicparent" value="TestCaseAmISane"> \
<input type="hidden" name="forcenewrevision" value="1"> \
<input type="submit" class="foswikiSubmit" value="Click here" /></form> |
| =rdiff= | Compare WasteOfSpace 1.1 and 1.2 sequential | <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2">click here</a> |
| =rdiff= | Compare WasteOfSpace 1.1 and 1.2 side by side | <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2&render=sidebyside">click here</a> |
| =compare= | Compare WasteOfSpace 1.1 and 1.2 sequential | <a href="%SCRIPTURLPATH%/compare%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2">click here</a> |
| =compare= | Compare WasteOfSpace 1.1 and 1.2 side by side | <a href="%SCRIPTURLPATH%/compare%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2&render=sidebyside">click here</a> |
| =rdiff= | Compare WasteOfSpace 1.1 and 1.2 sequential | <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2" class="foswikiButton">Click here</a> |
| =rdiff= | Compare WasteOfSpace 1.1 and 1.2 side by side | <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2&render=sidebyside" class="foswikiButton">Click here</a> |
| =compare= | Compare WasteOfSpace 1.1 and 1.2 sequential | <a href="%SCRIPTURLPATH%/compare%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2" class="foswikiButton">Click here</a> |
| =compare= | Compare WasteOfSpace 1.1 and 1.2 side by side | <a href="%SCRIPTURLPATH%/compare%SCRIPTSUFFIX%/TestCases/WasteOfSpace?rev1=1&rev2=2&render=sidebyside" class="foswikiButton">Click here</a> |
| =repRev= | =action= = =quietsave=, =cmd= = =repRev= if you are in Main.AdminGroup should redirect to view, and you should see "repRev test PASSED", otherwise you will be denied. | <form name="save4" action="%SCRIPTURLPATH{save}%/TestCases/WasteOfSpace" method="post"> \
<input type="hidden" name="action" value="quietsave"> \
<input type="hidden" name="cmd" value="repRev"> \
Expand All @@ -57,17 +56,17 @@ Description: Manual trivial fast sanity checks for script functions. Do them in
<input type="hidden" name="topicparent" value="TestCaseAmISane"> \
<input type="hidden" name="forcenewrevision" value="1"> \
<input type="submit" class="foswikiSubmit" value="Click here" /></form> |
| =search= | Search for the word "sanity" |<a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/TestCases/WasteOfSpace?search=sanity">click here</a> |
| =search= | Search for the word "sanity" |<a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/TestCases/WasteOfSpace?search=sanity" class="foswikiButton">Click here</a> |
| =statistics= | Should generate a statistics run, click link to review WebStatistics topic. | <form name="stats" action="%SCRIPTURLPATH{statistics}%/TestCases" method="post"> \
<input type="hidden" name="webs" value="TestCases"> \
<input type="submit" class="foswikiSubmit" value="Click here" /></form> |
| | Save this topics attachments - =volcano.jpg= and =volcano-2.jpg= to your local file system. You will use them in the next two steps. | |
| =attach=, =upload= | Attach =volcano.jpg= to topic WasteOfSpace | <a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/WasteOfSpace">click here</a> |
| =attach=, =upload= | Attach =volcano-2.jpg= as a new version of =volcano.jpg=. Create a link to the attachment. | <a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/WasteOfSpace?filename=volcano.jpg">click here</a> |
| =rename= | Rename topic WasteOfSpace. Rename it to NotAWaste within this web, and take care to clear the checkboxes so this topic doesn't get munged. | <a href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/TestCases/WasteOfSpace">click here</a> |
| =rename= | Delete topic QuickScriptsCheck, checking refs within the current web _only_. | <a href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/TestCases/QuickScriptsCheck?newweb=Trash&onlywikiname=off&currentwebonly=on">click here</a> |
| =view= | Create non-existant (should redirect to create screen, which is an =oops= test) | <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/DontCreateThisTopic">click here</a> |
| =viewfile= | Click on the links to =viewfile= the images attached to NotAWaste | <a href="%SCRIPTURLPATH%/viewfile%SCRIPTSUFFIX%/%WEB%/NotAWaste?filename=volcano.jpg&rev=1">revision 1</a> <a href="%SCRIPTURLPATH%/viewfile/%SCRIPTSUFFIX%/%WEB%/NotAWaste?filename=volcano.jpg&rev=2">revision2</a> |
| =attach=, =upload= | Attach =volcano.jpg= to topic WasteOfSpace | <a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/WasteOfSpace" class="foswikiButton">Click here</a> |
| =attach=, =upload= | Attach =volcano-2.jpg= as a new version of =volcano.jpg=. Create a link to the attachment. | <a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/WasteOfSpace?filename=volcano.jpg" class="foswikiButton">Click here</a> |
| =rename= | Rename topic WasteOfSpace. Rename it to NotAWaste within this web, and take care to clear the checkboxes so this topic doesn't get munged. | <a href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/TestCases/WasteOfSpace" class="foswikiButton">Click here</a> |
| =rename= | Delete topic QuickScriptsCheck, checking refs within the current web _only_. | <a href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/TestCases/QuickScriptsCheck?newweb=Trash&onlywikiname=off&currentwebonly=on" class="foswikiButton">Click here</a> |
| =view= | Create non-existant (should redirect to create screen, which is an =oops= test) | <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/DontCreateThisTopic" class="foswikiButton">Click here</a> |
| =viewfile= | Click on the links to =viewfile= the images attached to NotAWaste | <a href="%SCRIPTURLPATH%/viewfile%SCRIPTSUFFIX%/%WEB%/NotAWaste?filename=volcano.jpg&rev=1" class="foswikiButton">Revision1</a> <a href="%SCRIPTURLPATH%/viewfile/%SCRIPTSUFFIX%/%WEB%/NotAWaste?filename=volcano.jpg&rev=2" class="foswikiButton">Revision2</a> |

%META:FILEATTACHMENT{name="volcano.jpg" attachment="volcano.jpg" attr="" comment="" date="1421108862" path="volcano.jpg" size="2637" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="volcano-2.jpg" attachment="volcano-2.jpg" attr="" comment="" date="1421108862" path="volcano-2.jpg" size="2033" user="ProjectContributor" version="1"}%
7 changes: 3 additions & 4 deletions core/data/TestCases/TestCaseAutoAttributeParsing.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1229276996" format="1.1" version="1"}%

%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1655894532" format="1.1" version="1"}%
---+!! %TOPIC%
Description: ensure attribute parsing provides expected outcome

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand All @@ -10,7 +10,7 @@ Expected outcome in each case is defined as the results of =extractParameters=,

This test uses the =STRICTTAG= feature of the !TestFixturePlugin, that simply creates a Foswiki::Attrs from the parameter and then outputs it using =stringify()=

<table border=1>
<table class="foswikiTable">
<tr><th>Input string</th>
<th>Expected</th>
<th>Strict</th>
Expand Down Expand Up @@ -69,4 +69,3 @@ bloody " hell
</td></tr>
</table>


3 changes: 2 additions & 1 deletion core/data/TestCases/TestCaseAutoCategoryTable1.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1434390873" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655892505" format="1.1" version="1"}%
---+!! %TOPIC%
Description: Test for category table and attachment upgrading

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand Down
4 changes: 2 additions & 2 deletions core/data/TestCases/TestCaseAutoCategoryTable2.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1229276996" format="1.1" version="1"}%

%META:TOPICINFO{author="ProjectContributor" date="1655892512" format="1.1" version="1"}%
---+!! %TOPIC%
Description: Test for category table and attachment upgrading from 1.0beta

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand Down
4 changes: 2 additions & 2 deletions core/data/TestCases/TestCaseAutoEmphasis.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1229276996" format="1.1" version="1"}%

%META:TOPICINFO{author="ProjectContributor" date="1655892520" format="1.1" version="1"}%
---+!! %TOPIC%
Description: ensure emphases work correctly in different contexts

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand Down
4 changes: 2 additions & 2 deletions core/data/TestCases/TestCaseAutoFormattedSearch.txt
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
%META:TOPICINFO{author="ProjectContributor" date="1169762326" format="1.1" version="1.1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655892550" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
---+!! %TOPIC%
Description: Automated formatted search tests.

Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with "pattern" skin and standard search templates.
Expand Down Expand Up @@ -306,4 +307,3 @@ option3
<!-- actual -->
%SEARCH{ "^FormattedSearch[12]" web="%BASEWEB%" scope="topic" type="regex" nonoise="on" format="<nop>$topic $percntIF{$quot'$parent'$quot then=$quotparent is <nop>$parent$n$quot else=$quot<nop>$quot}$percnt" }%
<!-- /actual -->

2 changes: 1 addition & 1 deletion core/data/TestCases/TestCaseAutoFormattedSearchDetails.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1246078286" format="1.1" version="1.1"}%
%META:TOPICINFO{author="ProjectContributor" date="1246078286" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
---+!! %TOPIC%
Description: Automated formatted search tests verifying refactor of format= functionality in foswiki 1.1
Expand Down
3 changes: 2 additions & 1 deletion core/data/TestCases/TestCaseAutoFormatting.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1434390873" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655892575" format="1.1" version="1"}%
---+!! %TOPIC%
LinkAtStart
<!-- /actual -->
<!-- expected expand LINKATSTART -->
Expand Down
4 changes: 2 additions & 2 deletions core/data/TestCases/TestCaseAutoInOutPre.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1229276996" format="1.1" version="1"}%

%META:TOPICINFO{author="ProjectContributor" date="1655892622" format="1.1" version="1"}%
---+!! %TOPIC%
Description: check the behaviour of the inside and outside PRE handlers
This test is designed to be automatic; it cannot be performed manually.

Expand Down
7 changes: 3 additions & 4 deletions core/data/TestCases/TestCaseAutoIncludeAttachment.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1330255730" format="1.1" version="1"}%

%META:TOPICINFO{author="ProjectContributor" date="1655892586" format="1.1" version="1"}%
---+!! %TOPIC%
Description: Tests for inclusion of attachments

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand Down Expand Up @@ -33,5 +33,4 @@ Designed by: Crawford Currie
<!-- manual /actual -->


%META:FILEATTACHMENT{name="attachment.html" attachment="attachment.html" attr="" comment="" date="1101889684" path="attachment.html" size="18" tmpFilename="/var/tmp/CGItemp34644" user="ProjectContributor" version="1.1"}%

%META:FILEATTACHMENT{name="attachment.html" attachment="attachment.html" attr="" comment="" date="1101889684" path="attachment.html" size="18" tmpFilename="/var/tmp/CGItemp34644" user="ProjectContributor" version="1"}%
3 changes: 2 additions & 1 deletion core/data/TestCases/TestCaseAutoIncludes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%META:TOPICINFO{author="SimianApe" date="1236364209" format="1.1" version="1.2"}%
%META:TOPICINFO{author="ProjectContributor" date="1655892600" format="1.1" version="1"}%
---+!! %TOPIC%
Description: Check for the correct detection and handling of recursive and repeated includes

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand Down
13 changes: 7 additions & 6 deletions core/data/TestCases/TestCaseAutoInternalTags.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
%META:TOPICINFO{author="ProjectContributor" date="1399379775" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1655892651" format="1.1" version="1"}%
---+!! %TOPIC%
Description: Tag tests that can be automated

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]

Designed by: Crawford Currie

<table border="1"><tr><th> Tag </th><th>Expected</th><th>Actual</th></tr>
<table class="foswikiTable"><tr><th> Tag </th><th>Expected</th><th>Actual</th></tr>
<tr>
<td>TOPIC</td>
<td><!-- expected three -->TOPIC TestCaseAutoInternalTags<!-- /expected --></td>
Expand Down Expand Up @@ -159,7 +160,7 @@ Designed by: Crawford Currie
%INCLUDE{"FixtureIncludedTopic"}%

%META:FORM{name="ThisForm"}%
%META:FIELD{name="Squeegle" attributes="" title="Squeegle" value="Hugh Pugh Barney McGrew"}%
%META:FIELD{name="Smomble" attributes="" title="Smomble" value=""}%
%META:FIELD{name="Rubaduba" attributes="" title="Rubaduba" value=""}%
%META:FIELD{name="SlashSlashEscape" attributes="" title="Slash Slash Escape" value="One"}%
%META:FIELD{name="Squeegle" title="Squeegle" value="Hugh Pugh Barney McGrew"}%
%META:FIELD{name="Smomble" title="Smomble" value=""}%
%META:FIELD{name="Rubaduba" title="Rubaduba" value=""}%
%META:FIELD{name="SlashSlashEscape" title="Slash Slash Escape" value="One"}%
3 changes: 2 additions & 1 deletion core/data/TestCases/TestCaseAutoInterwikiPlugin.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%META:TOPICINFO{author="SvenDowideit" date="1168436357" format="1.1" version="1.2"}%
%META:TOPICINFO{author="ProjectContributor" date="1655892665" format="1.1" version="1"}%
---+!! %TOPIC%
Description: Basic tests for Interwiki plugin

[[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin,InterwikiPlugin&skin=pattern][run this test]]
Expand Down
8 changes: 4 additions & 4 deletions core/data/TestCases/TestCaseAutoMetaSearch.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%META:TOPICINFO{author="ProjectContributor" date="1228689750" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655892678" format="1.1" version="1"}%
%META:TOPICPARENT{name="RecursiveInclude"}%

---+!! %TOPIC%
Description: tests for METASEARCH tags

[[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand Down Expand Up @@ -67,7 +67,7 @@ Actual:
<!-- actual -->
%METASEARCH{type="parent" topic="RecursiveInclude" format="[[$web.$topic][$topic(4,...)]]"}%
<!-- /actual -->

---+++ Color
Expected:
<!-- expected expand -->
Expand All @@ -76,4 +76,4 @@ Expected:
Actual:
<!-- actual -->
%METASEARCH{web="%WEB%" type="parent" topic="RecursiveInclude" format="<span style=\"background-color:#f00; color:#fff\">$topic</span>" }%
<!-- /actual -->
<!-- /actual -->
Loading

0 comments on commit e5778ba

Please sign in to comment.