diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-02-09 17:15:55 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-02-09 17:15:55 +0100 |
commit | 4bcb8ac002c95e6290b9307ab41bb8539cde8fe5 (patch) | |
tree | 4dbb65110a69cae2f8cf65493ef850424f571eed /tests/Framework | |
parent | f130f9116e1e9ee9735d8026aa5242fc9daceecb (diff) |
Add dummy tests for rcube_spellcheck_* classes
Diffstat (limited to 'tests/Framework')
-rw-r--r-- | tests/Framework/SpellcheckAtd.php | 21 | ||||
-rw-r--r-- | tests/Framework/SpellcheckEnchant.php | 21 | ||||
-rw-r--r-- | tests/Framework/SpellcheckGoogie.php | 21 | ||||
-rw-r--r-- | tests/Framework/SpellcheckPspell.php | 21 |
4 files changed, 84 insertions, 0 deletions
diff --git a/tests/Framework/SpellcheckAtd.php b/tests/Framework/SpellcheckAtd.php new file mode 100644 index 000000000..cc828240f --- /dev/null +++ b/tests/Framework/SpellcheckAtd.php @@ -0,0 +1,21 @@ +<?php + +/** + * Test class to test rcube_spellcheck_atd class + * + * @package Tests + */ +class Framework_SpellcheckAtd extends PHPUnit_Framework_TestCase +{ + + /** + * Class constructor + */ + function test_class() + { + $object = new rcube_spellcheck_atd(null, 'en'); + + $this->assertInstanceOf('rcube_spellcheck_atd', $object, "Class constructor"); + $this->assertInstanceOf('rcube_spellcheck_engine', $object, "Class constructor"); + } +} diff --git a/tests/Framework/SpellcheckEnchant.php b/tests/Framework/SpellcheckEnchant.php new file mode 100644 index 000000000..85393e76c --- /dev/null +++ b/tests/Framework/SpellcheckEnchant.php @@ -0,0 +1,21 @@ +<?php + +/** + * Test class to test rcube_spellcheck_enchant class + * + * @package Tests + */ +class Framework_SpellcheckEnchant extends PHPUnit_Framework_TestCase +{ + + /** + * Class constructor + */ + function test_class() + { + $object = new rcube_spellcheck_enchant(null, 'en'); + + $this->assertInstanceOf('rcube_spellcheck_enchant', $object, "Class constructor"); + $this->assertInstanceOf('rcube_spellcheck_engine', $object, "Class constructor"); + } +} diff --git a/tests/Framework/SpellcheckGoogie.php b/tests/Framework/SpellcheckGoogie.php new file mode 100644 index 000000000..dc7d70dcc --- /dev/null +++ b/tests/Framework/SpellcheckGoogie.php @@ -0,0 +1,21 @@ +<?php + +/** + * Test class to test rcube_spellcheck_googie class + * + * @package Tests + */ +class Framework_SpellcheckGoogie extends PHPUnit_Framework_TestCase +{ + + /** + * Class constructor + */ + function test_class() + { + $object = new rcube_spellcheck_googie(null, 'en'); + + $this->assertInstanceOf('rcube_spellcheck_googie', $object, "Class constructor"); + $this->assertInstanceOf('rcube_spellcheck_engine', $object, "Class constructor"); + } +} diff --git a/tests/Framework/SpellcheckPspell.php b/tests/Framework/SpellcheckPspell.php new file mode 100644 index 000000000..bd622b206 --- /dev/null +++ b/tests/Framework/SpellcheckPspell.php @@ -0,0 +1,21 @@ +<?php + +/** + * Test class to test rcube_spellcheck_pspell class + * + * @package Tests + */ +class Framework_SpellcheckPspell extends PHPUnit_Framework_TestCase +{ + + /** + * Class constructor + */ + function test_class() + { + $object = new rcube_spellcheck_pspell(null, 'en'); + + $this->assertInstanceOf('rcube_spellcheck_pspell', $object, "Class constructor"); + $this->assertInstanceOf('rcube_spellcheck_engine', $object, "Class constructor"); + } +} |