diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-02-04 18:42:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-02-04 18:42:22 +0000 |
commit | f1399ea63883f67f46544ae15699b6c84ac7e971 (patch) | |
tree | 152d13838e9ff045637d689a49adcd98e65feda4 | |
parent | 7aba30430c2d627935b4ce7bf8894e51d4a45ecc (diff) | |
download | brdo-f1399ea63883f67f46544ae15699b6c84ac7e971.tar.gz brdo-f1399ea63883f67f46544ae15699b6c84ac7e971.tar.bz2 |
- Patch #1019710 by stephenh: Changed Standardize @file comments in .test files.
41 files changed, 132 insertions, 19 deletions
diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test index a4764f868..cfd3b6cd8 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 67e503aa3..2f0a2daf8 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 521f5f064..600cbd274 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 6ac63f060..c48a2cbfd 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 a76d89c96..ed4b2de33 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 80a157b87..bd669c598 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 89a393230..11b88281a 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 19cf0f448..4a024609d 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 4a6f96a52..fb18836b4 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 571648702..48300cc0b 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 a15b6e6aa..5e2b6acf9 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 31d2617ff..13d91909d 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 ee71414cf..bf1d1b159 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 231e57941..336323774 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 e67fc2bb7..1bf666c87 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 bf74b8b71..9794ea7c1 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 e878477c1..e8b8058c4 100644 --- a/modules/filter/filter.test +++ b/modules/filter/filter.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for filter.module. + */ + +/** * Tests for text format and filter CRUD operations. */ class FilterCRUDTestCase extends DrupalWebTestCase { diff --git a/modules/forum/forum.test b/modules/forum/forum.test index d1fe188dd..615e24a17 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 8033c4c0e..b434b6478 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 7529add75..94e51ab6c 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 d103adedc..006c36b9f 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 a90fbfb28..5d8d53efd 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 3e0db8615..d9d0c87a9 100644 --- a/modules/node/node.test +++ b/modules/node/node.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for node.module. + */ + +/** * Test the node_load_multiple() function. */ class NodeLoadMultipleUnitTest extends DrupalWebTestCase { diff --git a/modules/openid/openid.test b/modules/openid/openid.test index 9fe888b45..f042d8899 100644 --- a/modules/openid/openid.test +++ b/modules/openid/openid.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for openid.module. + */ + +/** * Base class for OpenID tests. */ abstract class OpenIDWebTestCase extends DrupalWebTestCase { diff --git a/modules/path/path.test b/modules/path/path.test index ad536ace5..538ce5dd2 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 10079d67a..e4da6a3e6 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for php.module. + */ + +/** * Base PHP test case class. */ class PHPTestCase extends DrupalWebTestCase { diff --git a/modules/poll/poll.test b/modules/poll/poll.test index ba1a53553..c22cc3570 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 3eb471fd8..1cf6067ec 100644 --- a/modules/profile/profile.test +++ b/modules/profile/profile.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for profile.module. + */ + +/** * A class for common methods for testing profile fields. */ class ProfileTestCase extends DrupalWebTestCase { diff --git a/modules/rdf/rdf.test b/modules/rdf/rdf.test index 0d20345ad..cd9c2d13b 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 589aa5540..1586bd68f 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 3c5a4f34e..6e61120e1 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 469d2c168..0851dccca 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 98f35b45c..47ae88011 100644 --- a/modules/statistics/statistics.test +++ b/modules/statistics/statistics.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for statistics.module. + */ + +/** * Sets up a base class for the Statistics module. */ class StatisticsTestCase extends DrupalWebTestCase { diff --git a/modules/syslog/syslog.test b/modules/syslog/syslog.test index 4f0950dd9..76096b7be 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 549df44b0..44d5692b3 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for system.module. + */ + +/** * Helper class for module test cases. */ class ModuleTestCase extends DrupalWebTestCase { diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 0664c523a..cec8c77bc 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 f3f742e8c..902eef205 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 701e3dcfd..4a640bc4b 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 a9fbffec3..c1caac0b6 100644 --- a/modules/trigger/trigger.test +++ b/modules/trigger/trigger.test @@ -2,6 +2,11 @@ // $Id$ /** + * @file + * Tests for trigger.module. + */ + +/** * Provides common helper methods. */ class TriggerWebTestCase extends DrupalWebTestCase { diff --git a/modules/update/update.test b/modules/update/update.test index a1252dcde..1f88c5f80 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 31e19e267..4d5b0a863 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( |