annotate vendor/nikic/php-parser/test/PhpParser/AutoloaderTest.php @ 2:92f882872392

Trusted hosts, + remove migration modules
author Chris Cannam
date Tue, 05 Dec 2017 09:26:43 +0000
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 namespace PhpParser;
Chris@0 4
Chris@0 5 /* The autoloader is already active at this point, so we only check effects here. */
Chris@0 6
Chris@0 7 class AutoloaderTest extends \PHPUnit_Framework_TestCase {
Chris@0 8 public function testClassExists() {
Chris@0 9 $this->assertTrue(class_exists('PhpParser\NodeVisitorAbstract'));
Chris@0 10 $this->assertFalse(class_exists('PHPParser_NodeVisitor_NameResolver'));
Chris@0 11
Chris@0 12 $this->assertFalse(class_exists('PhpParser\FooBar'));
Chris@0 13 $this->assertFalse(class_exists('PHPParser_FooBar'));
Chris@0 14 }
Chris@0 15 }