=')) { error_reporting(E_ALL ^ E_DEPRECATED ^ E_USER_DEPRECATED); } else { error_reporting(E_ALL); } if (version_compare(PHP_VERSION, '5.1', '>=')) { $tz = timezone_identifiers_list(); date_default_timezone_set($tz[array_rand($tz)]); } header('Content-type: text/html; charset=UTF-8'); ?> SimplePie: Unit Tests

SimplePie Compatibility Test

Skip to the results | Re-run without remote tests'; else echo 'Re-run with remote tests'; ?>

load_folder($test); $master->add($test_group); } $test_group = new SimplePie_Unit_Test2_Group('Who knows a from a hole in the ground?'); $test_group->load_folder('who_knows_a_title_from_a_hole_in_the_ground'); $master->add($test_group); $test_group = new SimplePie_Unit_Test2_Group('iTunesRSS'); $test_group->load_folder('itunes_rss'); $master->add($test_group); if (isset($_GET['remote'])) { $test_group = new SimplePie_Unit_Test2_Group('Atom autodiscovery test suite'); $test_group->add(new diveintomark_Atom_Autodiscovery); $master->add($test_group); } $master->run(); $passed_percentage = floor($master->passes() / $master->total() * 100); $failed_percentage = ceil($master->fails() / $master->total() * 100); ?> <h2 id="summary" class=<?php echo ($passed_percentage == 100) ? 'pass' : 'fail'; ?>><?php echo $passed_percentage; ?>% passed!</h2> <?php echo '<p>We ran ' . $master->total() . ' tests in ' . round($master->time(), 3) . ' seconds (' . round($master->time() / $master->total(), 3) . ' seconds per test) of which ' . $master->passes() . ' (' . $passed_percentage . '%) passed, and ' . $master->fails() . ' (' . $failed_percentage . '%) failed.</p>'; ?> <p><small>Powered by <a href="<?php echo SIMPLEPIE_URL; ?>"><?php echo SIMPLEPIE_NAME . ' ' . SIMPLEPIE_VERSION . ', Build ' . SIMPLEPIE_BUILD; ?></a>. SimplePie is © 2004–<?php echo date('Y'); ?>, Ryan Parman and Geoffrey Sneddon, and licensed under the <a href="http://www.opensource.org/licenses/bsd-license.php">BSD License</a>.</small></p> </div> </body> </html>