Skip to content
Browse files

Sync Autoloader.php.in with Autoloader.php after previous commit.

  • Loading branch information...
1 parent 4dd332b commit 784fa73f6965d59a438ad0899224da3efd6b4c52 @sebastianbergmann committed Jun 13, 2012
Showing with 8 additions and 2 deletions.
  1. +3 −1 PHPUnit/Autoload.php
  2. +5 −1 PHPUnit/Autoload.php.in
View
4 PHPUnit/Autoload.php
@@ -216,7 +216,9 @@ function phpunit_autoload($class = NULL)
if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumCommon/Autoload.php')) {
require_once 'PHPUnit/Extensions/SeleniumCommon/Autoload.php';
-} else if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumTestCase/Autoload.php')) {
+}
+
+else if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumTestCase/Autoload.php')) {
require_once 'PHPUnit/Extensions/SeleniumTestCase/Autoload.php';
}
View
6 PHPUnit/Autoload.php.in
@@ -95,7 +95,11 @@ if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/Databas
require_once 'PHPUnit/Extensions/Database/Autoload.php';
}
-if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumTestCase/Autoload.php')) {
+if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumCommon/Autoload.php')) {
+ require_once 'PHPUnit/Extensions/SeleniumCommon/Autoload.php';
+}
+
+else if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumTestCase/Autoload.php')) {
require_once 'PHPUnit/Extensions/SeleniumTestCase/Autoload.php';
}

0 comments on commit 784fa73

Please sign in to comment.
Something went wrong with that request. Please try again.