- Timestamp:
- 02/13/06 07:05:26 (3 years ago)
- Location:
- branches/magpie-pirate-tests
- Files:
-
- 2 modified
-
README (modified) (1 diff)
-
runTests.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/magpie-pirate-tests/README
r1269 r1272 8 8 The Magpie unit test files will be stored in 9 9 http://svn.gregarius.net/svn/branches/magpie-pirate-tests 10 Please download that branch into this directory to and point your web browser to runtests.php 10 Please download that branch into this directory to and point 11 your web browser to runTests.php 11 12 12 13 --Sameer -
branches/magpie-pirate-tests/runTests.php
r1271 r1272 19 19 require_once('rss_unitTest.inc'); 20 20 21 $fetchTestURL = dirname($_SERVER['SCRIPT_URI']) . "/" . "fetchTest.php" ; 21 $thisScriptBaseUrl = dirname($_SERVER['SCRIPT_URI']) . "/" ; 22 $fetchTestUrl = $thisScriptBaseUrl . "fetchTest.php" ; 22 23 23 24 $tests = array(); … … 31 32 $_magpie_unitTest = new RSSUnitTest ($test); 32 33 echo "<tr>\n"; 33 echo "<td>" . $test . "</td>\n" 34 ."<td>" . htmlspecialchars($_magpie_unitTest->getDescription()) . "</td>\n"; 34 echo "<td>\n" 35 ."<a href=\"" . $thisScriptBaseUrl . "TestCases/" . $test 36 ."\">" 37 .$test 38 ."</a>\n</td>\n" 39 ."<td>" 40 . htmlspecialchars($_magpie_unitTest->getDescription()) 41 ."</td>\n"; 35 42 36 $rss = fetch_rss($fetchTestU RL. "?testfile=" . $test);43 $rss = fetch_rss($fetchTestUrl . "?testfile=" . $test); 37 44 echo "<td>\n"; 38 45 if (assert($_magpie_unitTest->getExpect())){
