diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 82b3fd46e..e2e84398f 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -88,8 +88,8 @@ class TaxonomyTermFunctionsTestCase extends DrupalWebTestCase { */ function getInfo() { return array( - 'name' => t('Term functions'), - 'description' => t('Testing save/update/delete terms.'), + 'name' => t('Term no hierarchy'), + 'description' => t('Testing save/update/delete terms without a hierarchy.'), 'group' => t('Taxonomy') ); } @@ -161,6 +161,20 @@ class TaxonomyTermFunctionsTestCase extends DrupalWebTestCase { $edit['name'] = 0; taxonomy_save_vocabulary($edit); } +} + +class TaxonomyTermSingleTestCase extends DrupalWebTestCase { + + /** + * Implementation of getInfo(). + */ + function getInfo() { + return array( + 'name' => t('Term single hierarchy'), + 'description' => t('Testing save/update/delete terms in a single hierarchy.'), + 'group' => t('Taxonomy') + ); + } /** * Test single hierarchy terms. @@ -204,6 +218,20 @@ class TaxonomyTermFunctionsTestCase extends DrupalWebTestCase { $edit['name'] = 0; taxonomy_save_vocabulary($edit); } +} + +class TaxonomyTermMultipleTestCase extends DrupalWebTestCase { + + /** + * Implementation of getInfo(). + */ + function getInfo() { + return array( + 'name' => t('Term multiple hierarchy'), + 'description' => t('Testing save/update/delete terms in a multiple hierarchy.'), + 'group' => t('Taxonomy') + ); + } /** * Test multiple hierarchy terms. |