function AnnounceFeedTestRelevantVersion::setUp

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

modules/announcements_feed/tests/announce_feed_test.test, line 180

Class

AnnounceFeedTestRelevantVersion
Unit test for version compatibility functions.

Code

public function setUp() {
  parent::setUp();
  module_load_include('inc', 'announcements_feed', 'announcements_feed');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.