MediaWiki
REL1_32
UserMailerTest.php
Go to the documentation of this file.
1
<?php
2
3
class
UserMailerTest
extends
MediaWikiLangTestCase
{
4
8
public
function
testQuotedPrintable
() {
9
$this->assertEquals(
10
"=?UTF-8?Q?=C4=88u=20legebla=3F?="
,
11
UserMailer::quotedPrintable
(
"\xc4\x88u legebla?"
,
"UTF-8"
) );
12
}
13
14
}
MediaWikiLangTestCase
Base class that store and restore the Language objects.
Definition
MediaWikiLangTestCase.php:8
UserMailerTest
Definition
UserMailerTest.php:3
UserMailerTest\testQuotedPrintable
testQuotedPrintable()
UserMailer::quotedPrintable.
Definition
UserMailerTest.php:8
UserMailer\quotedPrintable
static quotedPrintable( $string, $charset='')
Converts a string into quoted-printable format.
Definition
UserMailer.php:506
tests
phpunit
includes
mail
UserMailerTest.php
Generated on Mon Nov 25 2024 15:58:46 for MediaWiki by
1.10.0