https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113207
Revision: 113207 Author: reedy Date: 2012-03-07 01:09:35 +0000 (Wed, 07 Mar 2012) Log Message: ----------- Fix mixed/messed up whitespace Modified Paths: -------------- trunk/phase3/tests/phpunit/includes/media/ExifTest.php Modified: trunk/phase3/tests/phpunit/includes/media/ExifTest.php =================================================================== --- trunk/phase3/tests/phpunit/includes/media/ExifTest.php 2012-03-07 01:03:55 UTC (rev 113206) +++ trunk/phase3/tests/phpunit/includes/media/ExifTest.php 2012-03-07 01:09:35 UTC (rev 113207) @@ -7,17 +7,17 @@ if ( !wfDl( 'exif' ) ) { $this->markTestSkipped( "This test needs the exif extension." ); } - global $wgShowEXIF; - $this->showExif = $wgShowEXIF; - $wgShowEXIF = true; + global $wgShowEXIF; + $this->showExif = $wgShowEXIF; + $wgShowEXIF = true; } - public function tearDown() { - global $wgShowEXIF; - $wgShowEXIF = $this->showExif; - } + public function tearDown() { + global $wgShowEXIF; + $wgShowEXIF = $this->showExif; + } + public function testGPSExtraction() { - $filename = $this->mediaPath . 'exif-gps.jpg'; $seg = JpegMetadataExtractor::segmentSplitter( $filename ); $exif = new Exif( $filename, $seg['byteOrder'] ); @@ -31,8 +31,8 @@ ); $this->assertEquals( $expected, $data, '', 0.0000000001 ); } + public function testUnicodeUserComment() { - $filename = $this->mediaPath . 'exif-user-comment.jpg'; $seg = JpegMetadataExtractor::segmentSplitter( $filename ); $exif = new Exif( $filename, $seg['byteOrder'] ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs