summaryrefslogtreecommitdiff
path: root/tests/Framework/SpellcheckAtd.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-02-09 17:15:55 +0100
committerAleksander Machniak <alec@alec.pl>2014-02-09 18:21:32 +0100
commitc8699f09eae6265e566a18c4597334d363aa4492 (patch)
treeb3254d86199e3e30f9359e1e84ceaaf21e84186a /tests/Framework/SpellcheckAtd.php
parentd3abad28764286cb8a58e5c74173d3fd671c5ac0 (diff)
Add dummy tests for rcube_spellcheck_* classes
Diffstat (limited to 'tests/Framework/SpellcheckAtd.php')
-rw-r--r--tests/Framework/SpellcheckAtd.php21
1 files changed, 21 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");
+ }
+}