Changeset 12744
- Timestamp:
- 10/10/11 23:59:34 (21 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
TestFixturePlugin/data/System/TestFixturePlugin.txt (modified) (1 diff)
-
TestFixturePlugin/lib/Foswiki/Plugins/TestFixturePlugin.pm (modified) (1 diff)
-
core/data/TestCases/TestCaseAutoSearchOrder.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TestFixturePlugin/data/System/TestFixturePlugin.txt
r8546 r12744 42 42 </verbatim> 43 43 44 If there are some hints to resolve common failures, you can include them into the failure results by setting the FAILMSG variable to describe possible failures. Note that this message is expanded after rendering, so it should be defined as plain HTML. See the example in TestCases.TestCaseAutoSearchOrder (Hidden in HTML comments). 45 44 46 Some notes about the comparison process: 45 47 1 The comparison is performed by Algorithm::Diff, which compares the HTML structures found in the text. See the documentation on Algorithm::Diff for help. -
trunk/TestFixturePlugin/lib/Foswiki/Plugins/TestFixturePlugin.pm
r9542 r12744 235 235 ); 236 236 if ($res) { 237 $res = "<font color=\"red\">TESTS FAILED</font><p />$res"; 237 my $failmsg = Foswiki::Func::expandCommonVariables( '%FAILMSG{default=""}%'); 238 $res = "<font color=\"red\">TESTS FAILED</font><p />$failmsg<p />$res"; 238 239 } 239 240 else { -
trunk/core/data/TestCases/TestCaseAutoSearchOrder.txt
r5382 r12744 6 6 Designed by: Lynnwood Brown 7 7 8 <!-- 9 * Set FAILMSG = <b>Verify the file system dates of the <code>.txt,v</code> files for each of the 3 SearchTestTopicX topics. If the <code>.txt</code> file is newer in the file system than the corresponding <code>.txt,v</code> file, the test will fail. <code>touch</code> each <code>.txt,v</code> file to resolve the failure.</b> 10 --> 8 11 Topics created for test (Text Item; Number Item; Created; Modified): 9 12 * SearchTestTopic1 (Value_1; 3; 14 Dec 2005 - 21:56; 14 Dec 2005 - 21:56)
Note: See TracChangeset
for help on using the changeset viewer.
