From f1399ea63883f67f46544ae15699b6c84ac7e971 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Fri, 4 Feb 2011 18:42:22 +0000 Subject: [PATCH] - Patch #1019710 by stephenh: Changed Standardize @file comments in .test files. --- modules/aggregator/aggregator.test | 2 +- modules/block/block.test | 2 +- modules/blog/blog.test | 5 +++++ modules/book/book.test | 5 +++++ modules/comment/comment.test | 5 +++++ modules/contact/contact.test | 4 +++- modules/dashboard/dashboard.test | 2 +- modules/dblog/dblog.test | 5 +++++ .../field/modules/field_sql_storage/field_sql_storage.test | 2 +- modules/field/modules/list/tests/list.test | 2 +- modules/field/modules/number/number.test | 2 +- modules/field/modules/options/options.test | 5 +++++ modules/field/modules/text/text.test | 5 +++++ modules/field/tests/field.test | 2 +- modules/field_ui/field_ui.test | 2 +- modules/file/tests/file.test | 2 +- modules/filter/filter.test | 5 +++++ modules/forum/forum.test | 5 +++++ modules/help/help.test | 5 +++++ modules/image/image.test | 3 +-- modules/locale/locale.test | 2 +- modules/menu/menu.test | 2 +- modules/node/node.test | 5 +++++ modules/openid/openid.test | 5 +++++ modules/path/path.test | 2 +- modules/php/php.test | 5 +++++ modules/poll/poll.test | 2 +- modules/profile/profile.test | 5 +++++ modules/rdf/rdf.test | 2 +- modules/search/search.test | 5 +++++ modules/shortcut/shortcut.test | 2 +- modules/simpletest/simpletest.test | 5 +++++ modules/statistics/statistics.test | 5 +++++ modules/syslog/syslog.test | 5 +++++ modules/system/system.test | 5 +++++ modules/taxonomy/taxonomy.test | 2 +- modules/tracker/tracker.test | 5 +++++ modules/translation/translation.test | 5 +++++ modules/trigger/trigger.test | 5 +++++ modules/update/update.test | 2 ++ modules/user/user.test | 5 +++++ 41 files changed, 132 insertions(+), 19 deletions(-) diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test index a4764f868495..cfd3b6cd8cf5 100644 --- a/modules/aggregator/aggregator.test +++ b/modules/aggregator/aggregator.test @@ -3,7 +3,7 @@ /** * @file - * Creates tests for aggregator module. + * Tests for aggregator.module. */ class AggregatorTestCase extends DrupalWebTestCase { diff --git a/modules/block/block.test b/modules/block/block.test index 67e503aa3ac6..2f0a2daf872b 100644 --- a/modules/block/block.test +++ b/modules/block/block.test @@ -3,7 +3,7 @@ /** * @file - * Tests for the block module + * Tests for block.module. */ class BlockTestCase extends DrupalWebTestCase { diff --git a/modules/blog/blog.test b/modules/blog/blog.test index 521f5f064769..600cbd274a2d 100644 --- a/modules/blog/blog.test +++ b/modules/blog/blog.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for blog.module. + */ + class BlogTestCase extends DrupalWebTestCase { protected $big_user; protected $own_user; diff --git a/modules/book/book.test b/modules/book/book.test index 6ac63f060048..c48a2cbfd332 100644 --- a/modules/book/book.test +++ b/modules/book/book.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for book.module. + */ + class BookTestCase extends DrupalWebTestCase { protected $book; // $book_author is a user with permission to create and edit books. diff --git a/modules/comment/comment.test b/modules/comment/comment.test index a76d89c96068..ed4b2de33c18 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for comment.module. + */ + class CommentHelperCase extends DrupalWebTestCase { protected $admin_user; protected $web_user; diff --git a/modules/contact/contact.test b/modules/contact/contact.test index 80a157b87d35..bd669c5981da 100644 --- a/modules/contact/contact.test +++ b/modules/contact/contact.test @@ -2,8 +2,10 @@ // $Id$ /** - * Test the sitewide contact form. + * @file + * Tests for contact.module. */ + class ContactSitewideTestCase extends DrupalWebTestCase { public static function getInfo() { return array( diff --git a/modules/dashboard/dashboard.test b/modules/dashboard/dashboard.test index 89a393230358..11b88281a1bf 100644 --- a/modules/dashboard/dashboard.test +++ b/modules/dashboard/dashboard.test @@ -3,7 +3,7 @@ /** * @file - * Tests for the dashboard module. + * Tests for dashboard.module. */ class DashboardBlocksTestCase extends DrupalWebTestCase { diff --git a/modules/dblog/dblog.test b/modules/dblog/dblog.test index 19cf0f448735..4a024609d869 100644 --- a/modules/dblog/dblog.test +++ b/modules/dblog/dblog.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for dblog.module. + */ + class DBLogTestCase extends DrupalWebTestCase { protected $big_user; protected $any_user; diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.test b/modules/field/modules/field_sql_storage/field_sql_storage.test index 4a6f96a52134..fb18836b4b5d 100644 --- a/modules/field/modules/field_sql_storage/field_sql_storage.test +++ b/modules/field/modules/field_sql_storage/field_sql_storage.test @@ -3,7 +3,7 @@ /** * @file - * Unit tests for field_sql_ storage.module + * Tests for field_sql_storage.module. * * Field_sql_storage.module implements the default back-end storage plugin * for the Field Strage API. diff --git a/modules/field/modules/list/tests/list.test b/modules/field/modules/list/tests/list.test index 571648702a26..48300cc0b31e 100644 --- a/modules/field/modules/list/tests/list.test +++ b/modules/field/modules/list/tests/list.test @@ -3,7 +3,7 @@ /** * @file - * Tests for the 'List' field types. + * Tests for list.module. */ /** diff --git a/modules/field/modules/number/number.test b/modules/field/modules/number/number.test index a15b6e6aaf22..5e2b6acf9776 100644 --- a/modules/field/modules/number/number.test +++ b/modules/field/modules/number/number.test @@ -3,7 +3,7 @@ /** * @file - * Tests for number field types. + * Tests for number.module. */ /** diff --git a/modules/field/modules/options/options.test b/modules/field/modules/options/options.test index 31d2617ff317..13d91909dae3 100644 --- a/modules/field/modules/options/options.test +++ b/modules/field/modules/options/options.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for options.module. + */ + class OptionsWidgetsTestCase extends FieldTestCase { public static function getInfo() { return array( diff --git a/modules/field/modules/text/text.test b/modules/field/modules/text/text.test index ee71414cf60e..bf1d1b159100 100644 --- a/modules/field/modules/text/text.test +++ b/modules/field/modules/text/text.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for text.module. + */ + class TextFieldTestCase extends DrupalWebTestCase { protected $instance; protected $admin_user; diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test index 231e57941172..3363237744ed 100644 --- a/modules/field/tests/field.test +++ b/modules/field/tests/field.test @@ -3,7 +3,7 @@ /** * @file - * Unit test file for fields in core. + * Tests for field.module. */ /** diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test index e67fc2bb75db..1bf666c874c5 100644 --- a/modules/field_ui/field_ui.test +++ b/modules/field_ui/field_ui.test @@ -3,7 +3,7 @@ /** * @file - * Unit test file for fields in core UI. + * Tests for field_ui.module. */ /** diff --git a/modules/file/tests/file.test b/modules/file/tests/file.test index bf74b8b719c7..9794ea7c192d 100644 --- a/modules/file/tests/file.test +++ b/modules/file/tests/file.test @@ -3,7 +3,7 @@ /** * @file - * Tests file uploading through the File module. + * Tests for file.module. */ /** diff --git a/modules/filter/filter.test b/modules/filter/filter.test index e878477c153e..e8b8058c475f 100644 --- a/modules/filter/filter.test +++ b/modules/filter/filter.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for filter.module. + */ + /** * Tests for text format and filter CRUD operations. */ diff --git a/modules/forum/forum.test b/modules/forum/forum.test index d1fe188dd4d0..615e24a177e4 100644 --- a/modules/forum/forum.test +++ b/modules/forum/forum.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for forum.module. + */ + class ForumTestCase extends DrupalWebTestCase { protected $admin_user; protected $edit_own_topics_user; diff --git a/modules/help/help.test b/modules/help/help.test index 8033c4c0e605..b434b647873e 100644 --- a/modules/help/help.test +++ b/modules/help/help.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for help.module. + */ + class HelpTestCase extends DrupalWebTestCase { protected $big_user; protected $any_user; diff --git a/modules/image/image.test b/modules/image/image.test index 7529add75250..94e51ab6c10b 100644 --- a/modules/image/image.test +++ b/modules/image/image.test @@ -3,10 +3,9 @@ /** * @file - * Image module tests. + * Tests for image.module. */ - /** * TODO: Test the following functions. * diff --git a/modules/locale/locale.test b/modules/locale/locale.test index d103adedc37a..006c36b9fad1 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -3,7 +3,7 @@ /** * @file - * Tests for Locale module. + * Tests for locale.module. * * The test file includes: * - a functional test for the language configuration forms; diff --git a/modules/menu/menu.test b/modules/menu/menu.test index a90fbfb288e3..5d8d53efd10f 100644 --- a/modules/menu/menu.test +++ b/modules/menu/menu.test @@ -3,7 +3,7 @@ /** * @file - * Tests file for the menu module. + * Tests for menu.module. */ class MenuTestCase extends DrupalWebTestCase { diff --git a/modules/node/node.test b/modules/node/node.test index 3e0db8615d56..d9d0c87a9ab4 100644 --- a/modules/node/node.test +++ b/modules/node/node.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for node.module. + */ + /** * Test the node_load_multiple() function. */ diff --git a/modules/openid/openid.test b/modules/openid/openid.test index 9fe888b458df..f042d889979f 100644 --- a/modules/openid/openid.test +++ b/modules/openid/openid.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for openid.module. + */ + /** * Base class for OpenID tests. */ diff --git a/modules/path/path.test b/modules/path/path.test index ad536ace581c..538ce5dd286c 100644 --- a/modules/path/path.test +++ b/modules/path/path.test @@ -3,7 +3,7 @@ /** * @file - * Tests for the path module + * Tests for path.module. */ class PathTestCase extends DrupalWebTestCase { diff --git a/modules/php/php.test b/modules/php/php.test index 10079d67a0d9..e4da6a3e65ff 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for php.module. + */ + /** * Base PHP test case class. */ diff --git a/modules/poll/poll.test b/modules/poll/poll.test index ba1a53553e9f..c22cc3570dd4 100644 --- a/modules/poll/poll.test +++ b/modules/poll/poll.test @@ -3,7 +3,7 @@ /** * @file - * Tests for the poll module. + * Tests for poll.module. */ class PollTestCase extends DrupalWebTestCase { diff --git a/modules/profile/profile.test b/modules/profile/profile.test index 3eb471fd8651..1cf6067ecc0e 100644 --- a/modules/profile/profile.test +++ b/modules/profile/profile.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for profile.module. + */ + /** * A class for common methods for testing profile fields. */ diff --git a/modules/rdf/rdf.test b/modules/rdf/rdf.test index 0d20345ad9bd..cd9c2d13ba9c 100644 --- a/modules/rdf/rdf.test +++ b/modules/rdf/rdf.test @@ -3,7 +3,7 @@ /** * @file - * Tests for RDF functionality. + * Tests for rdf.module. */ class RdfMappingHookTestCase extends DrupalWebTestCase { diff --git a/modules/search/search.test b/modules/search/search.test index 589aa5540ac6..1586bd68fd2e 100644 --- a/modules/search/search.test +++ b/modules/search/search.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for search.module. + */ + // The search index can contain different types of content. Typically the type is 'node'. // Here we test with _test_ and _test2_ as the type. define('SEARCH_TYPE', '_test_'); diff --git a/modules/shortcut/shortcut.test b/modules/shortcut/shortcut.test index 3c5a4f34edbd..6e61120e1f62 100644 --- a/modules/shortcut/shortcut.test +++ b/modules/shortcut/shortcut.test @@ -3,7 +3,7 @@ /** * @file - * Tests for the shortcut module. + * Tests for shortcut.module. */ /** diff --git a/modules/simpletest/simpletest.test b/modules/simpletest/simpletest.test index 469d2c168470..0851dccca260 100644 --- a/modules/simpletest/simpletest.test +++ b/modules/simpletest/simpletest.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for simpletest.module. + */ + class SimpleTestFunctionalTest extends DrupalWebTestCase { /** * The results array that has been parsed by getTestResults(). diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test index 98f35b45cd5f..47ae88011e6b 100644 --- a/modules/statistics/statistics.test +++ b/modules/statistics/statistics.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for statistics.module. + */ + /** * Sets up a base class for the Statistics module. */ diff --git a/modules/syslog/syslog.test b/modules/syslog/syslog.test index 4f0950dd9745..76096b7be41e 100644 --- a/modules/syslog/syslog.test +++ b/modules/syslog/syslog.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for syslog.module. + */ + class SyslogTestCase extends DrupalWebTestCase { public static function getInfo() { return array( diff --git a/modules/system/system.test b/modules/system/system.test index 549df44b09a8..44d5692b34ee 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for system.module. + */ + /** * Helper class for module test cases. */ diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 0664c523aa85..cec8c77bc78c 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -3,7 +3,7 @@ /** * @file - * Tests for Taxonomy module. + * Tests for taxonomy.module. */ /** diff --git a/modules/tracker/tracker.test b/modules/tracker/tracker.test index f3f742e8c227..902eef205741 100644 --- a/modules/tracker/tracker.test +++ b/modules/tracker/tracker.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for tracker.module. + */ + class TrackerTest extends DrupalWebTestCase { protected $user; protected $other_user; diff --git a/modules/translation/translation.test b/modules/translation/translation.test index 701e3dcfdff9..4a640bc4bc90 100644 --- a/modules/translation/translation.test +++ b/modules/translation/translation.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for translation.module + */ + class TranslationTestCase extends DrupalWebTestCase { protected $book; diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test index a9fbffec36ce..c1caac0b6d9b 100644 --- a/modules/trigger/trigger.test +++ b/modules/trigger/trigger.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for trigger.module. + */ + /** * Provides common helper methods. */ diff --git a/modules/update/update.test b/modules/update/update.test index a1252dcde8e9..1f88c5f80c44 100644 --- a/modules/update/update.test +++ b/modules/update/update.test @@ -3,6 +3,8 @@ /** * @file + * Tests for update.module. + * * This file contains tests for the update module. The overarching methodology * of these tests is we need to compare a given state of installed modules and * themes (e.g. version, project grouping, timestamps, etc) vs. a current diff --git a/modules/user/user.test b/modules/user/user.test index 31e19e267f4d..4d5b0a8637f1 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for user.module. + */ + class UserRegistrationTestCase extends DrupalWebTestCase { public static function getInfo() { return array( -- GitLab