tests/Framework/CacheShared.php | ●●●●● patch | view | raw | blame | history | |
tests/Framework/Contacts.php | ●●●●● patch | view | raw | blame | history | |
tests/Framework/DB.php | ●●●●● patch | view | raw | blame | history | |
tests/Framework/ImapCache.php | ●●●●● patch | view | raw | blame | history | |
tests/Framework/LdapGeneric.php | ●●●●● patch | view | raw | blame | history | |
tests/phpunit.xml | ●●●●● patch | view | raw | blame | history |
tests/Framework/CacheShared.php
New file @@ -0,0 +1,20 @@ <?php /** * Test class to test rcube_cache_shared class * * @package Tests */ class Framework_CacheShared extends PHPUnit_Framework_TestCase { /** * Class constructor */ function test_class() { $object = new rcube_cache_shared('db'); $this->assertInstanceOf('rcube_cache_shared', $object, "Class constructor"); } } tests/Framework/Contacts.php
New file @@ -0,0 +1,20 @@ <?php /** * Test class to test rcube_contacts class * * @package Tests */ class Framework_Contacts extends PHPUnit_Framework_TestCase { /** * Class constructor */ function test_class() { $object = new rcube_contacts(null, null); $this->assertInstanceOf('rcube_contacts', $object, "Class constructor"); } } tests/Framework/DB.php
New file @@ -0,0 +1,20 @@ <?php /** * Test class to test rcube_db class * * @package Tests */ class Framework_DB extends PHPUnit_Framework_TestCase { /** * Class constructor */ function test_class() { $object = new rcube_db('test'); $this->assertInstanceOf('rcube_db', $object, "Class constructor"); } } tests/Framework/ImapCache.php
New file @@ -0,0 +1,20 @@ <?php /** * Test class to test rcube_imap_cache class * * @package Tests */ class Framework_ImapCache extends PHPUnit_Framework_TestCase { /** * Class constructor */ function test_class() { $object = new rcube_imap_cache(null, null, null, null); $this->assertInstanceOf('rcube_imap_cache', $object, "Class constructor"); } } tests/Framework/LdapGeneric.php
New file @@ -0,0 +1,20 @@ <?php /** * Test class to test rcube_ldap_generic class * * @package Tests */ class Framework_LdapGeneric extends PHPUnit_Framework_TestCase { /** * Class constructor */ function test_class() { $object = new rcube_ldap_generic(array()); $this->assertInstanceOf('rcube_ldap_generic', $object, "Class constructor"); } } tests/phpunit.xml
@@ -7,15 +7,20 @@ <file>Framework/Bootstrap.php</file> <file>Framework/Browser.php</file> <file>Framework/Cache.php</file> <file>Framework/CacheShared.php</file> <file>Framework/Charset.php</file> <file>Framework/Contacts.php</file> <file>Framework/ContentFilter.php</file> <file>Framework/Csv2vcard.php</file> <file>Framework/DB.php</file> <file>Framework/Enriched.php</file> <file>Framework/Html.php</file> <file>Framework/Html2text.php</file> <file>Framework/Imap.php</file> <file>Framework/ImapCache.php</file> <file>Framework/ImapGeneric.php</file> <file>Framework/Image.php</file> <file>Framework/LdapGeneric.php</file> <file>Framework/MessageHeader.php</file> <file>Framework/MessagePart.php</file> <file>Framework/Mime.php</file>