public function ForumAccessTestCase::setUp in Forum Access 6
Implements setUp().
Overrides DrupalWebTestCase::setUp
7 calls to ForumAccessTestCase::setUp()
- ForumAccessTestCase1::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase2::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase3::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase4::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase5::setUp in ./
forum_access.test - Implements setUp().
7 methods override ForumAccessTestCase::setUp()
- ForumAccessTestCase1::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase2::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase3::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase4::setUp in ./
forum_access.test - Implements setUp().
- ForumAccessTestCase5::setUp in ./
forum_access.test - Implements setUp().
File
- ./
forum_access.test, line 15 - Test file for forum_access.module.
Class
- ForumAccessTestCase
- This is the base class for forum access testing.
Code
public function setUp() {
$this->timeLimit = 600;
//$this->testForumAccessUseDNA = module_exists('devel_node_access');
if ($this->testForumAccessUseDNA) {
parent::setUp('forum_access', 'forum', 'comment', 'acl', 'devel_node_access');
}
else {
parent::setUp('forum_access', 'forum', 'comment', 'acl');
}
}