MediaWiki
REL1_19
|
Public Member Functions | |
dataUtf8Comment () | |
setUp () | |
testBinaryCommentStripped () | |
Comment values that are non-textual (random binary junk) should not be shown. | |
testExifByteOrder () | |
testIPTCHashComparisionBadHash () | |
testIPTCHashComparisionGoodHash () | |
testIPTCHashComparisionNoHash () | |
testIso88591Comment () | |
The file is iso-8859-1, but it should get auto converted. | |
testMultipleComment () | |
testPSIRExtraction () | |
testUtf8Comment ($file) | |
We also use this test to test padding bytes don't screw stuff up. | |
testXMPExtraction () | |
testXMPExtractionAltAppId () |
Hard to find programs that create example files, and creating my own in vim propbably wouldn't serve as a very good "test". (Adobe photoshop probably creates such files but it costs money). The implementation of it currently in MediaWiki is based solely on reading the standard, without any real world test files.
Definition at line 9 of file JpegMetadataExtractorTest.php.
Definition at line 27 of file JpegMetadataExtractorTest.php.
Definition at line 11 of file JpegMetadataExtractorTest.php.
Comment values that are non-textual (random binary junk) should not be shown.
The example test file has a comment with a 0x5 byte in it which is a control character and considered binary junk for our purposes.
Definition at line 43 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().
Definition at line 89 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().
Definition at line 77 of file JpegMetadataExtractorTest.php.
References $res, JpegMetadataExtractor\doPSIR(), and JpegMetadataExtractor\segmentSplitter().
Definition at line 83 of file JpegMetadataExtractorTest.php.
References $res, JpegMetadataExtractor\doPSIR(), and JpegMetadataExtractor\segmentSplitter().
Definition at line 71 of file JpegMetadataExtractorTest.php.
References $res, JpegMetadataExtractor\doPSIR(), and JpegMetadataExtractor\segmentSplitter().
The file is iso-8859-1, but it should get auto converted.
Definition at line 35 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().
Definition at line 50 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().
Definition at line 59 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().
We also use this test to test padding bytes don't screw stuff up.
$file | filename |
dataUtf8Comment
Definition at line 23 of file JpegMetadataExtractorTest.php.
References $file, $res, and JpegMetadataExtractor\segmentSplitter().
Definition at line 54 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().
Definition at line 64 of file JpegMetadataExtractorTest.php.
References $res, and JpegMetadataExtractor\segmentSplitter().