Page MenuHomec4science

PhabricatorPHIDTypeTestCase.php
No OneTemporary

File Metadata

Created
Mon, Jul 15, 07:42

PhabricatorPHIDTypeTestCase.php

<?php
final class PhabricatorPHIDTypeTestCase extends PhutilTestCase {
public function testGetAllTypes() {
PhabricatorPHIDType::getAllTypes();
$this->assertTrue(true);
}
public function testGetPHIDTypeApplicationClass() {
$types = PhabricatorPHIDType::getAllTypes();
foreach ($types as $type) {
$application_class = $type->getPHIDTypeApplicationClass();
if ($application_class !== null) {
$this->assertTrue(class_exists($application_class));
}
}
}
}

Event Timeline