Skip to content

Commit

Permalink
Item11571: Still broken unit tests
Browse files Browse the repository at this point in the history
This is closer,  but the tests are still broken.  The search $summary
returns literal macros like %TWISTY and %INCLUDE.  If I write them into
the "Expected results" section, then they expand.  If I escape them with
!%TWISTY then the % is encoded as %

Not sure if this needs a fix to the compare code, or more clever
encoding of the expected results.

git-svn-id: http://svn.foswiki.org/branches/Release01x01@15425 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Sep 25, 2012
1 parent bdaa391 commit 998f05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/data/TestCases/TestCaseAutoFormattedSearchDetails.txt
Expand Up @@ -88,7 +88,7 @@ The major risk is the default formatting where web's are separated - for paging
<h4 class="foswikiSearchResultsHeader" style="border-color:#B9DAFF"><b>Results from Sandbox web</b> retrieved at @TIME (@REX(GMT|Local)</h4>
<div class="foswikiSearchResult"><div class="foswikiTopRow">
<a href="%SCRIPTURLPATH{"view"}%/Sandbox/WebHome"><b>WebHome</b></a>
<div class="foswikiSummary">%TWISTY{ link="" mode="div" }% " type="submit"}% %SEARCH{ ".*" type="regex ...</div></div>
<div class="foswikiSummary"> !%TWISTY{ link="" icon="add"}%" mode="div" }% !%INCLUDE{ %".WebCreateNewTopicComponents" section="js" }% !%INCLUDE{ %".WebCreateNewTopicComponents" ...</div></div>
<div class="foswikiBottomRow">
<span class="foswikiSRRev"><span class="foswikiNew">NEW</span> - <a href="%SCRIPTURLPATH{"rdiff"}%/Sandbox/WebHome" rel='nofollow'>@DATE - @TIME</a></span> <span class="foswikiSRAuthor">by <a href="%SCRIPTURLPATH{"view"}%/%USERSWEB%/@WIKIWORD">@WIKIWORD</a> </span>
</div>
Expand Down

0 comments on commit 998f05d

Please sign in to comment.