function UpgradePathTestCase::__construct

7.x upgrade.test UpgradePathTestCase::__construct($test_id = NULL)

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

drupal/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');
}