You are here

function UpgradePathTestCase::__construct in Drupal 7

Constructs an UpgradePathTestCase object.

Parameters

$test_id: (optional) The ID of the test. Tests with the same id are reported together.

Overrides DrupalWebTestCase::__construct

File

modules/simpletest/tests/upgrade/upgrade.test, line 47

Class

UpgradePathTestCase
Perform end-to-end tests of the upgrade path.

Code

function __construct($test_id = NULL) {
  parent::__construct($test_id);
  $this->zlibInstalled = function_exists('gzopen');
}