Files
roundcubemail/tests/Framework/Spellchecker.php
2021-08-30 19:41:55 +02:00

40 lines
712 B
PHP

<?php
/**
* Test class to test rcube_spellchecker class
*
* @package Tests
*/
class Framework_Spellchecker extends PHPUnit\Framework\TestCase
{
/**
* Test is_exception() method
*/
function test_is_exception()
{
$object = new rcube_spellchecker();
$this->assertFalse($object->is_exception('test'));
$this->assertTrue($object->is_exception('9'));
// TODO: Test other cases and dictionary
}
/**
* Test add_word() method
*/
function test_add_word()
{
$this->markTestIncomplete();
}
/**
* Test remove_word() method
*/
function test_remove_word()
{
$this->markTestIncomplete();
}
}