From 9bda29ee1bf100c0d44e6b6ab3b51326a26e708a Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 29 Feb 2012 00:08:18 -0800 Subject: [PATCH] Issue #1446366 by xjm: Multiple web test classes mislabeled as unit tests. --- core/modules/image/image.test | 4 ++-- core/modules/node/node.test | 6 +++--- core/modules/openid/openid.test | 2 +- core/modules/simpletest/tests/error.test | 2 +- core/modules/simpletest/tests/theme.test | 6 +++--- core/modules/taxonomy/taxonomy.test | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/core/modules/image/image.test b/core/modules/image/image.test index 4d4532cfa8b..f81505fc703 100644 --- a/core/modules/image/image.test +++ b/core/modules/image/image.test @@ -105,7 +105,7 @@ class ImageFieldTestCase extends DrupalWebTestCase { /** * Tests the functions for generating paths and URLs for image styles. */ -class ImageStylesPathAndUrlUnitTest extends DrupalWebTestCase { +class ImageStylesPathAndUrlTestCase extends DrupalWebTestCase { protected $style_name; protected $image_info; protected $image_filepath; @@ -934,7 +934,7 @@ class ImageFieldValidateTestCase extends ImageFieldTestCase { /** * Tests that images have correct dimensions when styled. */ -class ImageDimensionsUnitTest extends DrupalWebTestCase { +class ImageDimensionsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( diff --git a/core/modules/node/node.test b/core/modules/node/node.test index 02001c713f2..a86d69eba15 100644 --- a/core/modules/node/node.test +++ b/core/modules/node/node.test @@ -8,7 +8,7 @@ /** * Tests the node_load_multiple() function. */ -class NodeLoadMultipleUnitTest extends DrupalWebTestCase { +class NodeLoadMultipleTestCase extends DrupalWebTestCase { public static function getInfo() { return array( @@ -821,7 +821,7 @@ class NodeRSSContentTestCase extends DrupalWebTestCase { * @todo Cover hook_node_access in a separate test class. * hook_node_access_records is covered in another test class. */ -class NodeAccessUnitTest extends DrupalWebTestCase { +class NodeAccessTestCase extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'Node access', @@ -888,7 +888,7 @@ class NodeAccessUnitTest extends DrupalWebTestCase { /** * Test case to verify hook_node_access_records functionality. */ -class NodeAccessRecordsUnitTest extends DrupalWebTestCase { +class NodeAccessRecordsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'Node access records', diff --git a/core/modules/openid/openid.test b/core/modules/openid/openid.test index 7f87b4b5451..e413d826f84 100644 --- a/core/modules/openid/openid.test +++ b/core/modules/openid/openid.test @@ -632,7 +632,7 @@ class OpenIDRegistrationTestCase extends OpenIDWebTestCase { /** * Test internal helper functions. */ -class OpenIDUnitTest extends DrupalWebTestCase { +class OpenIDTestCase extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'OpenID helper functions', diff --git a/core/modules/simpletest/tests/error.test b/core/modules/simpletest/tests/error.test index 8c5a8487255..cffb732b495 100644 --- a/core/modules/simpletest/tests/error.test +++ b/core/modules/simpletest/tests/error.test @@ -3,7 +3,7 @@ /** * Tests Drupal error and exception handlers. */ -class DrupalErrorHandlerUnitTest extends DrupalWebTestCase { +class DrupalErrorHandlerTestCase extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'Drupal error handlers', diff --git a/core/modules/simpletest/tests/theme.test b/core/modules/simpletest/tests/theme.test index a3b5c3d84d7..a5b2685bc2d 100644 --- a/core/modules/simpletest/tests/theme.test +++ b/core/modules/simpletest/tests/theme.test @@ -8,7 +8,7 @@ /** * Unit tests for the Theme API. */ -class ThemeUnitTest extends DrupalWebTestCase { +class ThemeTestCase extends DrupalWebTestCase { protected $profile = 'testing'; public static function getInfo() { @@ -157,7 +157,7 @@ class ThemeUnitTest extends DrupalWebTestCase { /** * Unit tests for theme_table(). */ -class ThemeTableUnitTest extends DrupalWebTestCase { +class ThemeTableTestCase extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'Theme Table', @@ -477,7 +477,7 @@ class ThemeFunctionsTestCase extends DrupalWebTestCase { /** * Functional test for initialization of the theme system in hook_init(). */ -class ThemeHookInitUnitTest extends DrupalWebTestCase { +class ThemeHookInitTestCase extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'Theme initialization in hook_init()', diff --git a/core/modules/taxonomy/taxonomy.test b/core/modules/taxonomy/taxonomy.test index b262b86ed18..dc8c47444f8 100644 --- a/core/modules/taxonomy/taxonomy.test +++ b/core/modules/taxonomy/taxonomy.test @@ -180,7 +180,7 @@ class TaxonomyVocabularyFunctionalTest extends TaxonomyWebTestCase { /** * Tests for taxonomy vocabulary functions. */ -class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase { +class TaxonomyVocabularyTestCase extends TaxonomyWebTestCase { public static function getInfo() { return array( @@ -394,7 +394,7 @@ class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase { /** * Unit tests for taxonomy term functions. */ -class TaxonomyTermUnitTest extends TaxonomyWebTestCase { +class TaxonomyTermFunctionTestCase extends TaxonomyWebTestCase { public static function getInfo() { return array( @@ -1249,7 +1249,7 @@ class TaxonomyTermIndexTestCase extends TaxonomyWebTestCase { /** * Test the taxonomy_term_load_multiple() function. */ -class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase { +class TaxonomyLoadMultipleTestCase extends TaxonomyWebTestCase { public static function getInfo() { return array(