123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- /**
- * @file
- * Test file for vertical_tabs_example module.
- */
- /**
- * Default test case for the vertical_tabs_example module.
- *
- * @ingroup vertical_tabs_example
- */
- class VerticalTabsExampleTestCase extends DrupalWebTestCase {
- /**
- * {@inheritdoc}
- */
- public static function getInfo() {
- return array(
- 'name' => 'Vertical Tabs Example',
- 'description' => 'Functional tests for the Vertical Tabs Example module.' ,
- 'group' => 'Examples',
- );
- }
- /**
- * {@inheritdoc}
- */
- public function setUp() {
- parent::setUp('vertical_tabs_example');
- }
- /**
- * Tests the menu paths defined in vertical_tabs_example module.
- */
- public function testVerticalTabsExampleMenus() {
- $paths = array(
- 'examples/vertical_tabs',
- );
- foreach ($paths as $path) {
- $this->drupalGet($path);
- $this->assertResponse(200, '200 response for path: ' . $path);
- }
- }
- }
|