예제 #1
0
 public function addTests()
 {
     $testFiles = array('maintenance/tests/selenium/suites/MyContributionsTestCase.php', 'maintenance/tests/selenium/suites/MyWatchListTestCase.php', 'maintenance/tests/selenium/suites/UserPreferencesTestCase.php', 'maintenance/tests/selenium/suites/MovePageTestCase.php', 'maintenance/tests/selenium/suites/PageSearchTestCase.php', 'maintenance/tests/selenium/suites/EmailPasswordTestCase.php', 'maintenance/tests/selenium/suites/CreateAccountTestCase.php');
     parent::addTestFiles($testFiles);
 }
 public function addTests()
 {
     $testFiles = array('extensions/WikiEditor/tests/selenium/WikiDialogs_Links.php');
     parent::addTestFiles($testFiles);
 }
예제 #3
0
 public function addTests()
 {
     $testFiles = array('selenium/suites/SimpleSeleniumTestCase.php');
     parent::addTestFiles($testFiles);
 }
	public function addTests() {
		$testFiles = array(
			'extensions/TimedMediaHandler/tests/EmbedPlayerLoadsTestCase.php'
		);
		parent::addTestFiles( $testFiles );
	}
	public function addTests() {
		if ( $this->egSeleniumTiffTestCheckPrerequistes ) {
			parent::addTest( new SeleniumCheckPrerequisites() );
		}

		if ( $this->egSeleniumTiffTestUploads ) {
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'caspian.tif',
				'The uploaded file contains errors.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'cramps.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'cramps-tile.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'dscf0013.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'fax2d.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'g3test.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'Jello.tif' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'jim___ah.tif',
				'The reported file size does not match' .
				' the actual file size.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'jim___cg.tif' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'jim___dg.tif', 'The reported file size does' .
				' not match the actual file size.' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'jim___gg.tif', 'The reported file size does' .
				' not match the actual file size.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'ladoga.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'off_l16.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'off_luv24.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'off_luv24.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'oxford.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'pc260001.tif' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'quad-jpeg.tif', 'The uploaded file could not' .
				' be processed. ImageMagick is not available.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'quad-lzw.tif' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'quad-tile.tif' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'smallliz.tif', 'The uploaded file could not' .
				' be processed. ImageMagick is not available.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'strike.tif' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'text.tif', 'The uploaded file contains errors.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'ycbcr-cat.tif' ) );
			parent::addTest( new SeleniumUploadBrokenTiffTest(
				'zackthecat.tif', 'The uploaded file could not' .
				' be processed. ImageMagick is not available.' ) );
			parent::addTest( new SeleniumUploadWorkingTiffTest(
				'multipage.tiff' ) );
		}
		//parent::addTest( new SeleniumUploadWorkingTiffTest( 'multipage.tiff' ) );

		parent::addTest( new SeleniumEmbedTiffInclusionTest() );
		parent::addTest( new SeleniumEmbedTiffThumbRatioTest() );
		parent::addTest( new SeleniumEmbedTiffBoxFitTest() );

		parent::addTest( new SeleniumEmbedTiffPage2InclusionTest() );
		parent::addTest( new SeleniumEmbedTiffPage2ThumbRatioTest() );
		parent::addTest( new SeleniumEmbedTiffPage2BoxFitTest() );

		parent::addTest( new SeleniumEmbedTiffNegativePageParameterTest() );
		parent::addTest( new SeleniumEmbedTiffPageParameterTooHighTest() );

		parent::addTest( new SeleniumDisplayInCategoryTest() );
		parent::addTest( new SeleniumDisplayInGalleryTest() );

		if ( $this->egSeleniumTiffTestUploads ) {
			parent::addTest( new SeleniumDeleteTiffTest(
				'cramps.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'cramps-tile.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'dscf0013.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'fax2d.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'g3test.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'Jello.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'jim___ah.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'jim___cg.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'jim___dg.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'jim___gg.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'ladoga.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'off_l16.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'off_luv24.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'off_luv24.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'oxford.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'pc260001.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'quad-jpeg.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'quad-lzw.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'quad-tile.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'smallliz.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'strike.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'text.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'ycbcr-cat.tif' ) );
			//parent::addTest( new SeleniumDeleteTiffTest(
				//'zackthecat.tif' ) );
			parent::addTest( new SeleniumDeleteTiffTest(
				'multipage.tiff' ) );
		}
	}
 public function addTests()
 {
     $testFiles = array('tests/selenium/suites/AddNewPageTestCase.php', 'tests/selenium/suites/AddContentToNewPageTestCase.php', 'tests/selenium/suites/PreviewPageTestCase.php', 'tests/selenium/suites/SavePageTestCase.php');
     parent::addTestFiles($testFiles);
 }
예제 #7
0
 public function addTests()
 {
     $testFiles = array('extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/AvoidPropertyCreationTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/CreatePropertyPageTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/DefineAllowedValuesTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/DefineTypeOfPropertyTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/MakePropertySubpropertyOfAnotherOneTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/PropertiesListedOnSpecialPageTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/PropertyTypePageIsDefaultTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SearchByPropertyWithNumericValueTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SearchByPropertyWithStringValueTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/ShowFactboxTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/UnusedPropertiesOnSpecialPageTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/WantedPropertiesOnSpecialPageTestCase.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/BuildChainOfPropertiesInAQuery.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/EmbedValueWithShowParserFunction.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/RefreshLinkForEveryPage.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SelectPagesByPropertyAnnotationByWildcard.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SelectPagesByPropertyValue.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/RefreshInlineQuery.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/BuildInTypeNumber.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/ChangeSeparatorForTypeNumber.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/CopyQuerySyntaxFromSpecialAsk.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/FactboxLinksToSearchByProperty.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/FactboxLinksToSpecialBrowse.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/FactboxShowsProperties.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SpecialAskProvidesGUIForQueries.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/ViewValuesOfPropertyOnSpecialPage.php', 'extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/AnnotatePageWithProperty.php');
     parent::addTestFiles($testFiles);
 }
 public function addTests()
 {
     $testFiles = array('tests/selenium/suites/MediawikiCoreSmokeTestCase.php');
     parent::addTestFiles($testFiles);
 }
예제 #9
0
 public function addTests()
 {
     $testFiles = array('tests/selenium/suites/DeletePageAdminTestCase.php');
     parent::addTestFiles($testFiles);
 }
예제 #10
0
 public function addTests()
 {
     $testFiles = array('selenium/EmbedPlayerLoadsTestCase.php');
     parent::addTestFiles($testFiles);
 }