r113207 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113206‎ | r113207 | r113208 >
Date:01:09, 7 March 2012
Author:reedy
Status:ok
Tags:
Comment:
Fix mixed/messed up whitespace
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/media/ExifTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/media/ExifTest.php
@@ -7,17 +7,17 @@
88 if ( !wfDl( 'exif' ) ) {
99 $this->markTestSkipped( "This test needs the exif extension." );
1010 }
11 - global $wgShowEXIF;
12 - $this->showExif = $wgShowEXIF;
13 - $wgShowEXIF = true;
 11+ global $wgShowEXIF;
 12+ $this->showExif = $wgShowEXIF;
 13+ $wgShowEXIF = true;
1414 }
15 - public function tearDown() {
16 - global $wgShowEXIF;
17 - $wgShowEXIF = $this->showExif;
18 - }
1915
 16+ public function tearDown() {
 17+ global $wgShowEXIF;
 18+ $wgShowEXIF = $this->showExif;
 19+ }
 20+
2021 public function testGPSExtraction() {
21 -
2222 $filename = $this->mediaPath . 'exif-gps.jpg';
2323 $seg = JpegMetadataExtractor::segmentSplitter( $filename );
2424 $exif = new Exif( $filename, $seg['byteOrder'] );
@@ -31,8 +31,8 @@
3232 );
3333 $this->assertEquals( $expected, $data, '', 0.0000000001 );
3434 }
 35+
3536 public function testUnicodeUserComment() {
36 -
3737 $filename = $this->mediaPath . 'exif-user-comment.jpg';
3838 $seg = JpegMetadataExtractor::segmentSplitter( $filename );
3939 $exif = new Exif( $filename, $seg['byteOrder'] );

Status & tagging log