Changeset 52010 for trunk/tests/phpunit/tests/image/meta.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/meta.php
r50771 r52010 29 29 } 30 30 31 function test_exif_d70() {31 public function test_exif_d70() { 32 32 // Exif from a Nikon D70. 33 33 $out = wp_read_image_metadata( DIR_TESTDATA . '/images/2004-07-22-DSC_0008.jpg' ); … … 45 45 } 46 46 47 function test_exif_d70_mf() {47 public function test_exif_d70_mf() { 48 48 // Exif from a Nikon D70 - manual focus lens, so some data is unavailable. 49 49 $out = wp_read_image_metadata( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG' ); … … 62 62 } 63 63 64 function test_exif_d70_iptc() {64 public function test_exif_d70_iptc() { 65 65 // Exif from a Nikon D70 with IPTC data added later. 66 66 $out = wp_read_image_metadata( DIR_TESTDATA . '/images/2004-07-22-DSC_0007.jpg' ); … … 78 78 } 79 79 80 function test_exif_fuji() {80 public function test_exif_fuji() { 81 81 // Exif from a Fuji FinePix S5600 (thanks Mark). 82 82 $out = wp_read_image_metadata( DIR_TESTDATA . '/images/a2-small.jpg' ); … … 98 98 * @ticket 6571 99 99 */ 100 function test_exif_error() {100 public function test_exif_error() { 101 101 // https://core.trac.wordpress.org/ticket/6571 102 102 // This triggers a warning mesage when reading the Exif block. … … 115 115 } 116 116 117 function test_exif_no_data() {117 public function test_exif_no_data() { 118 118 // No Exif data in this image (from burningwell.org). 119 119 $out = wp_read_image_metadata( DIR_TESTDATA . '/images/canola.jpg' ); … … 134 134 * @ticket 9417 135 135 */ 136 function test_utf8_iptc_tags() {136 public function test_utf8_iptc_tags() { 137 137 // Trilingual UTF-8 text in the ITPC caption-abstract field. 138 138 $out = wp_read_image_metadata( DIR_TESTDATA . '/images/test-image-iptc.jpg' );
Note: See TracChangeset
for help on using the changeset viewer.