Page MenuHomePhorge

PhabricatorInfrastructureTestCase.php
No OneTemporary

PhabricatorInfrastructureTestCase.php

<?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

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)

Event Timeline