https://bugzilla.wikimedia.org/show_bug.cgi?id=45112

       Web browser: ---
            Bug ID: 45112
           Summary: Files requiring Selenium php files at inexistent paths
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

1) Running `git grep /SeleniumTestCase.php` returns the following entries:

(from tests/RunSeleniumTests.php)
require_once( 'PHPUnit/Extensions/SeleniumTestCase.php' );

(from tests/TestsAutoLoader.php)
      'SeleniumTestCase' => "$testDir/selenium/SeleniumTestCase.php",

(from tests/selenium/SeleniumLoader.php)
              require_once( 'PHPUnit/Extensions/SeleniumTestCase.php' );

(from tests/selenium/installer/MediaWikiInstallationCommonFunction.php)
require_once 'PHPUnit/Extensions/SeleniumTestCase.php';

All of these attempt to access the SeleniumTestCase.php file at
tests/selenium/installer/PHPUnit/Extensions/, but there's only one such file,
at tests/selenium/SeleniumTestCase.php


2) `git grep Testing/` returns:

(from tests/selenium/Selenium.php)
require( 'Testing/Selenium.php' );

(from tests/selenium/SeleniumLoader.php)
              require_once( 'Testing/Selenium.php' );

but there is only tests/selenium/Selenium.php;
tests/selenium/Testing/Selenium.php doesn't exist.


3) `git grep /Framework.php`:

(from tests/selenium/SeleniumLoader.php)
              require_once( 'PHPUnit/Framework.php' );

(from tests/selenium/installer/MediaWikiInstallerTestSuite.php)
require_once 'PHPUnit/Framework.php';

but there's no Framework.php anywhere in the mediawiki file tree.


ps - incidentally, I noticed that tests/RunSeleniumTests.php: contains a "©"
instead of "©" in the initial comment. That should probably be corrected in the
course of fixing this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to