mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Show unit test namespaces
Summary: Show the full unit test name, including the namespace. Depends on D11208. Test Plan: Inspected the "Table of Contents" of a diff created //with// D11208 and //without// D11208 applied. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11209
This commit is contained in:
parent
a7a3c90f14
commit
fe618772fd
1 changed files with 6 additions and 0 deletions
|
@ -113,6 +113,12 @@ final class DifferentialUnitField
|
||||||
}
|
}
|
||||||
|
|
||||||
$value = idx($test, 'name');
|
$value = idx($test, 'name');
|
||||||
|
|
||||||
|
$namespace = idx($test, 'namespace');
|
||||||
|
if ($namespace) {
|
||||||
|
$value = $namespace.'::'.$value;
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($test['link'])) {
|
if (!empty($test['link'])) {
|
||||||
$value = phutil_tag(
|
$value = phutil_tag(
|
||||||
'a',
|
'a',
|
||||||
|
|
Loading…
Reference in a new issue