Gets the data set description of a TestCase.
@since Method available since Release 3.3.0
boolean $includeData:
string
protected function getDataSetAsString($includeData = TRUE) {
$buffer = '';
if (!empty($this->data)) {
if (is_int($this->dataName)) {
$buffer .= sprintf(' with data set #%d', $this->dataName);
}
else {
$buffer .= sprintf(' with data set "%s"', $this->dataName);
}
if ($includeData) {
$buffer .= sprintf(' (%s)', $this
->dataToString($this->data));
}
}
return $buffer;
}