You are here

function ForumAccessBaseTestCase::createAndCheckForum in Forum Access 7

4 calls to ForumAccessBaseTestCase::createAndCheckForum()
ForumAccess13ReadOnlyConfigurationTestCase::testAccess3 in tests/forum_access.test
ForumAccess14AllOffConfigurationTestCase::testAccess4 in tests/forum_access.test
ForumAccess15AllOnConfigurationTestCase::testAccess5 in tests/forum_access.test
ForumAccess16NoViewConfigurationTestCase::testAccess6 in tests/forum_access.test

File

tests/forum_access_test_base.php, line 669
Base class with auxiliary functions for forum access module tests.

Class

ForumAccessBaseTestCase
Base test class for the Forum Access module.

Code

function createAndCheckForum($id, $tag, $description, array $accesses) {
  $this
    ->setUp2();
  taxonomy_term_delete(1);
  $this
    ->pass("#########################<br />#{$id} - {$tag} Configuration test @" . (time() - $this->time), '<a id="jump1" href="#jump2">/\\<br />######<br />\\/</a>');
  $forum = $this
    ->createFAForum($id, $tag, $description, $accesses);
  $this
    ->checkForum($forum);
  $this
    ->pass("#########################<br />#{$id} - END {$tag} Configuration test @" . (time() - $this->time), '<a id="jump2" href="#jump3">/\\<br />######<br />\\/</a>');
}