function MenuTestCase::doCustomMenuTests in Drupal 7
Test custom menu functionality using navigation menu.
1 call to MenuTestCase::doCustomMenuTests()
- MenuTestCase::testMenu in modules/
menu/ menu.test - Login users, add menus and menu links, and test menu functionality through the admin and user interfaces.
File
- modules/
menu/ menu.test, line 101 - Tests for menu.module.
Class
- MenuTestCase
- @file Tests for menu.module.
Code
function doCustomMenuTests() {
$this->menu = $this
->addCustomMenu();
$this
->doMenuTests($this->menu['menu_name']);
$this
->addInvalidMenuLink($this->menu['menu_name']);
$this
->addCustomMenuCRUD();
}