mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 19:58:22 +08:00
c2ca6c1d86
支持 jsonrpc 方法使用自定义类型参数。 方法调用产生的异常不会进入 ExceptionHandler,而是生成到响应中 error 数据中。 RpcService 注解指定服务名称,如果使用类名,则类的命名空间也包含成路径中。
44 lines
2.3 KiB
XML
44 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit backupGlobals="false"
|
|
backupStaticAttributes="false"
|
|
bootstrap="./bootstrap.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false">
|
|
<testsuites>
|
|
<testsuite name="Tests">
|
|
<directory suffix="Test.php">./src/amqp/tests</directory>
|
|
<directory suffix="Test.php">./src/async-queue/tests</directory>
|
|
<directory suffix="Test.php">./src/cache/tests</directory>
|
|
<directory suffix="Test.php">./src/constants/tests</directory>
|
|
<directory suffix="Test.php">./src/consul/tests</directory>
|
|
<directory suffix="Test.php">./src/database/tests</directory>
|
|
<directory suffix="Test.php">./src/db-connection/tests</directory>
|
|
<directory suffix="Test.php">./src/di/tests</directory>
|
|
<directory suffix="Test.php">./src/dispatcher/tests</directory>
|
|
<directory suffix="Test.php">./src/elasticsearch/tests</directory>
|
|
<directory suffix="Test.php">./src/event/tests</directory>
|
|
<directory suffix="Test.php">./src/guzzle/tests</directory>
|
|
<directory suffix="Test.php">./src/http-server/tests</directory>
|
|
<directory suffix="Test.php">./src/json-rpc/tests</directory>
|
|
<directory suffix="Test.php">./src/logger/tests</directory>
|
|
<directory suffix="Test.php">./src/model-cache/tests</directory>
|
|
<directory suffix="Test.php">./src/paginator/tests</directory>
|
|
<directory suffix="Test.php">./src/redis/tests</directory>
|
|
<directory suffix="Test.php">./src/rpc/tests</directory>
|
|
<directory suffix="Test.php">./src/service-governance/tests</directory>
|
|
<directory suffix="Test.php">./src/task/tests</directory>
|
|
<directory suffix="Test.php">./src/utils/tests</directory>
|
|
<directory suffix="Test.php">./src/websocket-client/tests</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">./src/database</directory>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|