Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2890734
PhabricatorInfrastructureTestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
751 B
Referenced Files
None
Subscribers
None
PhabricatorInfrastructureTestCase.php
View Options
<?php
final
class
PhabricatorInfrastructureTestCase
extends
PhabricatorTestCase
{
/**
* This is more of an acceptance test case instead of a unittest. It verifies
* that all symbols can be loaded correctly. It can catch problems like
* missing methods in descendants of abstract base classes.
*/
public
function
testEverythingImplemented
(
)
{
id
(
new
PhutilSymbolLoader
(
)
)
->
selectAndLoadSymbols
(
)
;
}
public
function
testApplicationsInstalled
(
)
{
$all
=
PhabricatorApplication
::
getAllApplications
(
)
;
$installed
=
PhabricatorApplication
::
getAllInstalledApplications
(
)
;
$this
->
assertEqual
(
count
(
$all
)
,
count
(
$installed
)
,
'In test cases, all applications should default to installed.'
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 14:01 (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1125317
Default Alt Text
PhabricatorInfrastructureTestCase.php (751 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment