MediaWiki  master
IPTCTest Class Reference

Media. More...

Inheritance diagram for IPTCTest:
Collaboration diagram for IPTCTest:

Public Member Functions

 testIPTCParseForcedUTFButInvalid ()
 Same as testIPTCParseNoCharset88591b, but forcing the charset to utf-8. More...
 
 testIPTCParseMulti ()
 Testing something that has 2 values for keyword IPTC::parse. More...
 
 testIPTCParseNoCharset88591 ()
 IPTC::parse. More...
 
 testIPTCParseNoCharset88591b ()
 IPTC::parse. More...
 
 testIPTCParseNoCharsetUTF8 ()
 IPTC::parse. More...
 
 testIPTCParseUTF8 ()
 IPTC::parse. More...
 
 testRecognizeUtf8 ()
 IPTC::getCharset. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MediaWikiUnitTestCase
 setUp ()
 
 tearDown ()
 

Detailed Description

Media.

Definition at line 6 of file IPTCTest.php.

Member Function Documentation

◆ testIPTCParseForcedUTFButInvalid()

IPTCTest::testIPTCParseForcedUTFButInvalid ( )

Same as testIPTCParseNoCharset88591b, but forcing the charset to utf-8.

What should happen is the first "\\xC3\\xC3" should be dropped as invalid, leaving \xC3\xB8, which is ΓΈ IPTC::parse

Definition at line 46 of file IPTCTest.php.

References $res, and IPTC\parse().

◆ testIPTCParseMulti()

IPTCTest::testIPTCParseMulti ( )

Testing something that has 2 values for keyword IPTC::parse.

Definition at line 66 of file IPTCTest.php.

References $res, and IPTC\parse().

◆ testIPTCParseNoCharset88591()

IPTCTest::testIPTCParseNoCharset88591 ( )

IPTC::parse.

Definition at line 20 of file IPTCTest.php.

References $res, and IPTC\parse().

◆ testIPTCParseNoCharset88591b()

IPTCTest::testIPTCParseNoCharset88591b ( )

IPTC::parse.

Definition at line 32 of file IPTCTest.php.

References $res, and IPTC\parse().

◆ testIPTCParseNoCharsetUTF8()

IPTCTest::testIPTCParseNoCharsetUTF8 ( )

IPTC::parse.

Definition at line 56 of file IPTCTest.php.

References $res, and IPTC\parse().

◆ testIPTCParseUTF8()

IPTCTest::testIPTCParseUTF8 ( )

IPTC::parse.

Definition at line 78 of file IPTCTest.php.

References $res, and IPTC\parse().

◆ testRecognizeUtf8()

IPTCTest::testRecognizeUtf8 ( )

IPTC::getCharset.

Definition at line 11 of file IPTCTest.php.

References $res, and IPTC\getCharset().


The documentation for this class was generated from the following file: