You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/tests/Framework/Charset.php

29 lines
487 B
PHTML

<?php
/**
* Test class to test rcube_charset class
*
* @package Tests
*/
class Framework_Charset extends PHPUnit_Framework_TestCase
{
/**
* Data for test_clean()
*/
function data_clean()
{
return array(
array('', '', 'Empty string'),
);
}
/**
* @dataProvider data_clean
*/
function test_clean($input, $output, $title)
{
$this->assertEquals(rcube_charset::clean($input), $output, $title);
}
}