Add dummy tests for rcube_spellcheck_* classes
parent
d3abad2876
commit
c8699f09ea
@ -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");
|
||||
}
|
||||
}
|
@ -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");
|
||||
}
|
||||
}
|
@ -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");
|
||||
}
|
||||
}
|
@ -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");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue