Blob Blame History Raw
diff -ruN XML_RSS-1.0.2/tests.orig/AllTests.php XML_RSS-1.0.2/tests/AllTests.php
--- XML_RSS-1.0.2/tests.orig/AllTests.php	1970-01-01 10:14:21.000000000 +0100
+++ XML_RSS-1.0.2/tests/AllTests.php	1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-<?php
-if (!defined('PHPUnit_MAIN_METHOD')) {
-	define('PHPUnit_MAIN_METHOD', 'AllTests::main');
-}
-
-require_once 'PHPUnit/Framework.php';
-require_once 'PHPUnit/TextUI/TestRunner.php';
-
-require_once 'XML_RSS_Infrastructure_Test.php';
-require_once 'XML_RSS_Parsing_Test.php';
-
-class AllTests
-{
-	public static function main()
-	{
-		PHPUnit_TextUI_TestRunner::run(self::suite());
-	}
-
-	public static function suite()
-	{
-		$suite = new PHPUnit_Framework_TestSuite('XML_RSS Tests');
-		$suite->addTestSuite('XML_RSS_Parsing_Test');
-		$suite->addTestSuite('XML_RSS_Infrastructure_Test');
-
-		return $suite;
-	}
-}
-
-if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
-	AllTests::main();
-}
-// vim:set noet ts=4 sw=4:
diff -ruN XML_RSS-1.0.2/tests.orig/XML_RSS_Infrastructure_Test.php XML_RSS-1.0.2/tests/XML_RSS_Infrastructure_Test.php
--- XML_RSS-1.0.2/tests.orig/XML_RSS_Infrastructure_Test.php	1970-01-01 10:14:21.000000000 +0100
+++ XML_RSS-1.0.2/tests/XML_RSS_Infrastructure_Test.php	2012-01-16 10:53:36.000000000 +0100
@@ -18,7 +18,7 @@
     define('PHPUnit_MAIN_METHOD', 'XML_RSS_Infrastructure_Test::main');
 }
 
-require_once "PHPUnit/Framework.php";
+require_once "PHPUnit/Framework/TestCase.php";
 require_once "XML/RSS.php";
 
 /**
@@ -68,4 +68,4 @@
 if (PHPUnit_MAIN_METHOD == 'XML_RSS_Infrastructure_Test::main') {
     XML_RSS_Infrastructure_Test::main();
 }
-?>
\ Pas de fin de ligne à la fin du fichier
+?>
diff -ruN XML_RSS-1.0.2/tests.orig/XML_RSS_Parsing_Test.php XML_RSS-1.0.2/tests/XML_RSS_Parsing_Test.php
--- XML_RSS-1.0.2/tests.orig/XML_RSS_Parsing_Test.php	1970-01-01 10:14:21.000000000 +0100
+++ XML_RSS-1.0.2/tests/XML_RSS_Parsing_Test.php	2012-01-16 10:53:40.000000000 +0100
@@ -18,7 +18,7 @@
     define('PHPUnit_MAIN_METHOD', 'XML_RSS_Parsing_Test::main');
 }
 
-require_once "PHPUnit/Framework.php";
+require_once "PHPUnit/Framework/TestCase.php";
 require_once "XML/RSS.php";
 
 /**
--- XML_RSS-1.0.2/php-pear-XML-RSS.xml.orig	2012-01-16 10:55:24.000000000 +0100
+++ XML_RSS-1.0.2/php-pear-XML-RSS.xml	2012-01-16 10:55:37.000000000 +0100
@@ -34,9 +34,8 @@
  <contents>
   <dir baseinstalldir="/" name="/">
    <file baseinstalldir="/" md5sum="c6d95b1b607097fee78a03b8bbdd383a" name="tests/test.rss" role="test" />
-   <file baseinstalldir="/" md5sum="39ad264a147763ca8917babc57348033" name="tests/AllTests.php" role="test" />
-   <file baseinstalldir="/" md5sum="6b7a5e2c272278bd2836cd3c933e7b4e" name="tests/XML_RSS_Infrastructure_Test.php" role="test" />
-   <file baseinstalldir="/" md5sum="84363e85193f9d20d91a4349cd36718d" name="tests/XML_RSS_Parsing_Test.php" role="test" />
+   <file baseinstalldir="/" name="tests/XML_RSS_Infrastructure_Test.php" role="test" />
+   <file baseinstalldir="/" name="tests/XML_RSS_Parsing_Test.php" role="test" />
    <file baseinstalldir="/" md5sum="7b46ddcb196560e74f747c578cb47f5c" name="XML/RSS.php" role="php" />
   </dir>
  </contents>