vertical_tabs_example.test

Test file for vertical_tabs_example module.

File

vertical_tabs_example/vertical_tabs_example.test

View source
<?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);
        }
    }

}

Classes

Title Deprecated Summary
VerticalTabsExampleTestCase Default test case for the vertical_tabs_example module.