Make WordPress Core

Changeset 52 in tests


Ignore:
Timestamp:
10/08/2007 10:10:26 AM (19 years ago)
Author:
tellyworth
Message:

missed ISO in Nikon exif tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_image.php

    r51 r52  
    1717                $this->assertEquals('', $out['copyright']);
    1818                $this->assertEquals(27, $out['focal_length']);
     19                $this->assertEquals(400, $out['iso']);
    1920                $this->assertEquals(1/40, $out['shutter_speed']);
    2021                $this->assertEquals('', $out['title']);
     
    3536                $this->assertEquals('', $out['copyright']);
    3637                $this->assertEquals(0, $out['focal_length']);
     38                $this->assertEquals(0, $out['iso']); // interesting - a Nikon bug?
    3739                $this->assertEquals(1/500, $out['shutter_speed']);
    3840                $this->assertEquals('', $out['title']);
     
    5355                $this->assertEquals('IPTC Copyright', $out['copyright']);
    5456                $this->assertEquals(18, $out['focal_length']);
     57                $this->assertEquals(200, $out['iso']);
    5558                $this->assertEquals(1/25, $out['shutter_speed']);
    5659                $this->assertEquals('IPTC Title', $out['title']);
Note: See TracChangeset for help on using the changeset viewer.