Files
roundcubemail/tests/Framework/Spellchecker.php
Michael Voříšek 6a53a1d853 Fix CS (whitespace, visibility) (#9297)
* Fix "method_argument_space"

* Fix "control_structure_continuation_position"

* Fix "new_with_parentheses"

* Fix "blank_line_before_statement"

* Fix "visibility_required"

* Fix some "array_indentation"

* Fix some "array_indentation" - unify all "rcube::raise_error" calls

* rm useless eslint ignores and add rules counts

* sort eslint ignores

* fix eslint ignores grammar

* Revert "Fix "blank_line_before_statement""

* fix CS 3.46.0
2024-01-04 14:26:35 +01:00

38 lines
712 B
PHP

<?php
/**
* Test class to test rcube_spellchecker class
*/
class Framework_Spellchecker extends PHPUnit\Framework\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();
}
}