From d3abad28764286cb8a58e5c74173d3fd671c5ac0 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 9 Feb 2014 17:37:16 +0100 Subject: Add more tests for framework classes --- tests/Framework/CacheShared.php | 20 ++++++++++++++++++++ tests/Framework/Contacts.php | 20 ++++++++++++++++++++ tests/Framework/DB.php | 20 ++++++++++++++++++++ tests/Framework/ImapCache.php | 20 ++++++++++++++++++++ tests/Framework/LdapGeneric.php | 20 ++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 tests/Framework/CacheShared.php create mode 100644 tests/Framework/Contacts.php create mode 100644 tests/Framework/DB.php create mode 100644 tests/Framework/ImapCache.php create mode 100644 tests/Framework/LdapGeneric.php (limited to 'tests/Framework') diff --git a/tests/Framework/CacheShared.php b/tests/Framework/CacheShared.php new file mode 100644 index 000000000..9ddcafc7f --- /dev/null +++ b/tests/Framework/CacheShared.php @@ -0,0 +1,20 @@ +assertInstanceOf('rcube_cache_shared', $object, "Class constructor"); + } +} diff --git a/tests/Framework/Contacts.php b/tests/Framework/Contacts.php new file mode 100644 index 000000000..0167ea366 --- /dev/null +++ b/tests/Framework/Contacts.php @@ -0,0 +1,20 @@ +assertInstanceOf('rcube_contacts', $object, "Class constructor"); + } +} diff --git a/tests/Framework/DB.php b/tests/Framework/DB.php new file mode 100644 index 000000000..b7a063841 --- /dev/null +++ b/tests/Framework/DB.php @@ -0,0 +1,20 @@ +assertInstanceOf('rcube_db', $object, "Class constructor"); + } +} diff --git a/tests/Framework/ImapCache.php b/tests/Framework/ImapCache.php new file mode 100644 index 000000000..83612c549 --- /dev/null +++ b/tests/Framework/ImapCache.php @@ -0,0 +1,20 @@ +assertInstanceOf('rcube_imap_cache', $object, "Class constructor"); + } +} diff --git a/tests/Framework/LdapGeneric.php b/tests/Framework/LdapGeneric.php new file mode 100644 index 000000000..8cb1a2ce5 --- /dev/null +++ b/tests/Framework/LdapGeneric.php @@ -0,0 +1,20 @@ +assertInstanceOf('rcube_ldap_generic', $object, "Class constructor"); + } +} -- cgit v1.2.3