diff options
Diffstat (limited to 'test.php')
-rw-r--r-- | test.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test.php b/test.php new file mode 100644 index 0000000..2af8ba4 --- /dev/null +++ b/test.php @@ -0,0 +1,27 @@ +<?php + +require '/usr/share/php/Hoa/Consistency/autoload.php'; + +$nss = [ + 'Hoa\\Consistency\\', + 'Hoa\\Event\\', + 'Hoa\\Exception\\', +]; +foreach ($nss as $ns) { + echo "$ns: "; + print_r($fedoraHoaLoader->getBaseDirectories($ns)); +} +$classes = [ + '\\Hoa\\Consistency\\Xcallable', + '\\Hoa\\Event\\Listener', + '\\Hoa\\Exception\\Group', +]; +foreach ($classes as $class) { + if (class_exists($class)) { + echo "."; + } else { + echo "\nMissing $class\n"; + } +} +echo "\nDone\n"; + |