mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-12 19:25:34 +08:00
update to 2.5.0-b2 (build 409)
This commit is contained in:
@@ -11,6 +11,7 @@ use ReflectionException;
|
||||
use ZM\Annotation\AnnotationParser;
|
||||
use ZM\Annotation\Swoole\OnStart;
|
||||
use ZM\Console\Console;
|
||||
use ZM\Event\EventTracer;
|
||||
|
||||
class AnnotationParserRegisterTest extends TestCase
|
||||
{
|
||||
@@ -21,7 +22,7 @@ class AnnotationParserRegisterTest extends TestCase
|
||||
define("WORKING_DIR", realpath(__DIR__ . "/../../../"));
|
||||
if (!defined("LOAD_MODE"))
|
||||
define("LOAD_MODE", 0);
|
||||
Console::init(2);
|
||||
Console::init(4);
|
||||
$this->parser = new AnnotationParser();
|
||||
$this->parser->addRegisterPath(WORKING_DIR . "/src/Module/", "Module");
|
||||
try {
|
||||
@@ -70,4 +71,8 @@ class AnnotationParserRegisterTest extends TestCase
|
||||
$mapping = $this->parser->getReqMapping();
|
||||
$this->assertEquals("index", $mapping["method"]);
|
||||
}
|
||||
|
||||
public function testTracer() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user