You are here

public function PHPUnit_Framework_TestCase::setName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::setName()

Sets the name of a TestCase.

Parameters

string:

1 call to PHPUnit_Framework_TestCase::setName()
PHPUnit_Framework_TestCase::__construct in vendor/phpunit/phpunit/src/Framework/TestCase.php
Constructs a test case with the given name.

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1012

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function setName($name) {
  $this->name = $name;
}