Files
roundcubemail/tests/Framework/Spellchecker.php
Michael Voříšek 54f4aa33f9 Fix CS - imports (#9316)
* fix Tests\Browser\TestCase imports

* fix remaining imports

* fix PHPUnit\Framework\TestCase imports

* import GuzzleHttp\Client

* fix remaining

* "php_unit_method_casing" is not todo

* fix "single_line_comment_spacing"

* fix 2nd commit done using older fixer
2024-01-21 19:13:31 +01:00

40 lines
727 B
PHP

<?php
use PHPUnit\Framework\TestCase;
/**
* Test class to test rcube_spellchecker class
*/
class Framework_Spellchecker extends TestCase
{
/**
* Test is_exception() method
*/
public 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
*/
public function test_add_word()
{
$this->markTestIncomplete();
}
/**
* Test remove_word() method
*/
public function test_remove_word()
{
$this->markTestIncomplete();
}
}