public function PHPUnit_Framework_TestCase::__construct

Constructs a test case with the given name.

Parameters

string $name:

array $data:

string $dataName:

1 call to PHPUnit_Framework_TestCase::__construct()
PHPUnit_Framework_Warning::__construct in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Warning.php
3 methods override PHPUnit_Framework_TestCase::__construct()
Extensions_RepeatedTestTest::__construct in drupal/core/vendor/phpunit/phpunit/Tests/Extensions/RepeatedTestTest.php
Constructs a test case with the given name.
Framework_TestImplementorTest::__construct in drupal/core/vendor/phpunit/phpunit/Tests/Framework/TestImplementorTest.php
Constructs a test case with the given name.
PHPUnit_Framework_Warning::__construct in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Warning.php

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 297

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function __construct($name = NULL, array $data = array(), $dataName = '') {
  if ($name !== NULL) {
    $this
      ->setName($name);
  }
  $this->data = $data;
  $this->dataName = $dataName;
}