protected function AcquiaLiftTest::setUp in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 tests/AcquiaLiftAPI.test \AcquiaLiftTest::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
- tests/
AcquiaLiftAPI.test, line 18 - Unit tests for Acquia Lift module.
Class
- AcquiaLiftTest
- @file Unit tests for Acquia Lift module.
Code
protected function setUp() {
require_once dirname(__FILE__) . '/../includes/acquia_lift.classes.inc';
require_once dirname(__FILE__) . '/../includes/AcquiaLiftLearnReportDataSourceInterface.inc';
require_once dirname(__FILE__) . '/../includes/AcquiaLiftAPI.inc';
require_once dirname(__FILE__) . '/../includes/AcquiaLiftLearnReport.inc';
require_once dirname(__FILE__) . '/acquia_lift.test_classes.inc';
parent::setUp();
}