- Timestamp:
- 04/26/06 17:34:24 (3 years ago)
- Location:
- branches/magpie-hacks/MagpieTests
- Files:
-
- 12 added
- 2 modified
-
README (modified) (1 diff)
-
TestCases/WellFormed/atom/entry_author_email.xml (added)
-
TestCases/WellFormed/atom/entry_author_homepage.xml (added)
-
TestCases/WellFormed/atom/entry_author_map_author.xml (added)
-
TestCases/WellFormed/atom/entry_author_map_author_2.xml (added)
-
TestCases/WellFormed/atom/entry_author_name.xml (added)
-
TestCases/WellFormed/atom/entry_author_uri.xml (added)
-
TestCases/WellFormed/atom/entry_author_url.xml (added)
-
TestCases/WellFormed/atom/entry_content_mode_base64.xml (added)
-
TestCases/WellFormed/atom/entry_content_mode_escaped.xml (added)
-
TestCases/WellFormed/atom/entry_content_type.xml (added)
-
TestCases/WellFormed/atom/entry_content_type_text_plain.xml (added)
-
TestCases/WellFormed/atom/entry_content_value.xml (added)
-
runTests.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/magpie-hacks/MagpieTests/README
r1453 r1455 11 11 e.g. http://example.com/magpie-hacks/MagpieTests/runTests.php 12 12 13 Notes: 14 15 1. To disable a directory of tests, rename it to contain the string "disabled". 16 17 2. To disable a single test, change its file extension to something other than "xml". 18 13 19 --Sameer -
branches/magpie-hacks/MagpieTests/runTests.php
r1454 r1455 83 83 function testCallBack(ret) { 84 84 returnTests++; 85 if (ret === undefined) { 86 alert("Undefined return value"); 87 return; 88 } 85 89 data = ret.split('|'); 86 90 number = data[0]; … … 110 114 111 115 $testCategories = array_merge($wellFormedTestCategories, $illFormedTestCategories); 116 117 // Remove disabled directories. (The ones that have a disabled in their name.) 118 function filter_disabled($str) { 119 return ! strpos ($str, "disabled"); 120 } 121 122 $testCategories = array_filter($testCategories, "filter_disabled"); 112 123 113 124 $numberOfTests = 0;
