<?php
+
+/**
+ * @group Media
+ */
class BitmapMetadataHandlerTest extends MediaWikiTestCase {
protected function setUp() {
<?php
+/**
+ * @group Media
+ */
class BitmapScalingTest extends MediaWikiTestCase {
protected function setUp() {
<?php
/**
+ * @group Media
* @covers DjVuHandler
*/
class DjVuTest extends MediaWikiMediaTestCase {
public function testInvalidFile() {
$this->assertEquals(
'a:1:{s:5:"error";s:25:"Error extracting metadata";}',
- $this->handler->getMetadata( null, $this->filePath . '/README' ),
- 'Getting Metadata for an inexistent file should returns false'
+ $this->handler->getMetadata( null, $this->filePath . '/some-nonexistent-file' ),
+ 'Getting metadata for an inexistent file should return false'
);
}
<?php
+/**
+ * @group Media
+ */
class ExifBitmapTest extends MediaWikiTestCase {
/**
/**
* Tests related to auto rotation.
*
+ * @group Media
* @group medium
*
* @todo covers tags
<?php
/**
+ * @group Media
* @covers Exif
*/
class ExifTest extends MediaWikiTestCase {
<?php
+/**
+ * @group Media
+ */
class FakeDimensionFile extends File {
public $mustRender = false;
<?php
+/**
+ * @group Media
+ */
class FormatMetadataTest extends MediaWikiMediaTestCase {
protected function setUp() {
<?php
+
+/**
+ * @group Media
+ */
class GIFMetadataExtractorTest extends MediaWikiTestCase {
protected function setUp() {
<?php
+
+/**
+ * @group Media
+ */
class GIFHandlerTest extends MediaWikiMediaTestCase {
/** @var GIFHandler */
<?php
+/**
+ * @group Media
+ */
class IPTCTest extends MediaWikiTestCase {
/**
* but it costs money). The implementation of it currently in MediaWiki is based
* solely on reading the standard, without any real world test files.
*
+ * @group Media
* @covers JpegMetadataExtractor
*/
class JpegMetadataExtractorTest extends MediaWikiTestCase {
<?php
+
/**
+ * @group Media
* @covers JpegHandler
*/
class JpegTest extends MediaWikiMediaTestCase {
<?php
+/**
+ * @group Media
+ */
class MediaHandlerTest extends MediaWikiTestCase {
/**
<?php
/**
+ * @group Media
* @covers PNGMetadataExtractor
*/
class PNGMetadataExtractorTest extends MediaWikiTestCase {
<?php
+
+/**
+ * @group Media
+ */
class PNGHandlerTest extends MediaWikiMediaTestCase {
/** @var PNGHandler */
<?php
/**
+ * @group Media
* @covers SVGMetadataExtractor
*/
class SVGMetadataExtractorTest extends MediaWikiTestCase {
<?php
+/**
+ * @group Media
+ */
class SvgTest extends MediaWikiMediaTestCase {
protected function setUp() {
<?php
+
+/**
+ * @group Media
+ */
class TiffTest extends MediaWikiTestCase {
/** @var TiffHandler */
<?php
+
+/**
+ * @group Media
+ */
class XCFHandlerTest extends MediaWikiMediaTestCase {
/** @var XCFHandler */
<?php
/**
- * @todo covers tags
+ * @group Media
+ * @covers XMPReader
*/
class XMPTest extends MediaWikiTestCase {
<?php
+
+/**
+ * @group Media
+ */
class XMPValidateTest extends MediaWikiTestCase {
/**