annotate vendor/nikic/php-parser/test/PhpParser/AutoloaderTest.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
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 }