You are here

function StatsproTestCase::setup in Statistics Pro 6

Same name and namespace in other branches
  1. 6.2 tests/statspro.test \StatsproTestCase::setup()

Implementation of setUp().

Overrides StatisticsProBaseTestCase::setup

File

tests/statspro.test, line 611
Functionality tests for Statistics Pro.

Class

StatsproTestCase
Class resposible for testing the statspro class.

Code

function setup() {

  // Enable any modules required for the test
  parent::setup('views', 'statistics', 'statspro');
  require_once drupal_get_path('module', 'statspro') . '/statspro.inc';
  $this->statspro = new statspro();
}