Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77959360
PhabricatorInfrastructureTestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 17, 11:57
Size
751 B
Mime Type
text/x-php
Expires
Mon, Aug 19, 11:57 (2 d)
Engine
blob
Format
Raw Data
Handle
19952659
Attached To
rPH Phabricator
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.'
);
}
}
Event Timeline
Log In to Comment