function DrupalTestCase::__construct

Constructor for DrupalTestCase.

Parameters

$test_id: Tests with the same id are reported together.

2 calls to DrupalTestCase::__construct()
DrupalUnitTestCase::__construct in modules/simpletest/drupal_web_test_case.php
Constructor for DrupalUnitTestCase.
DrupalWebTestCase::__construct in modules/simpletest/drupal_web_test_case.php
Constructor for DrupalWebTestCase.
2 methods override DrupalTestCase::__construct()
DrupalUnitTestCase::__construct in modules/simpletest/drupal_web_test_case.php
Constructor for DrupalUnitTestCase.
DrupalWebTestCase::__construct in modules/simpletest/drupal_web_test_case.php
Constructor for DrupalWebTestCase.

File

modules/simpletest/drupal_web_test_case.php, line 144

Class

DrupalTestCase
Base class for Drupal tests.

Code

public function __construct($test_id = NULL) {
    $this->testId = $test_id;
}

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