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 problem like missing
* methods in descendants of abstract base classes.
*/
public function testEverythingImplemented() {
// Note that we don't have a try catch block around the following because,
// when it fails, it will cause a HPHP or PHP fatal which won't be caught
// by try catch.
$every_class = id(new PhutilSymbolLoader())->selectAndLoadSymbols();
}
}

File Metadata

Mime Type
text/x-php
Expires
Jan 19 2025, 18:11 (6 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127303
Default Alt Text
PhabricatorInfrastructureTestCase.php (619 B)

Event Timeline