Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace PhpParser; | |
4 | |
5 /* The autoloader is already active at this point, so we only check effects here. */ | |
6 | |
7 class AutoloaderTest extends \PHPUnit_Framework_TestCase { | |
8 public function testClassExists() { | |
9 $this->assertTrue(class_exists('PhpParser\NodeVisitorAbstract')); | |
10 $this->assertFalse(class_exists('PHPParser_NodeVisitor_NameResolver')); | |
11 | |
12 $this->assertFalse(class_exists('PhpParser\FooBar')); | |
13 $this->assertFalse(class_exists('PHPParser_FooBar')); | |
14 } | |
15 } |