public function DrupalTestCase::__construct

Constructor for DrupalTestCase.

Parameters

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

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

Archivo

drupal-7.x/modules/simpletest/drupal_web_test_case.php, line 98

Class

DrupalTestCase
Base class for Drupal tests.

Código

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