From 700b854434398b91b5add8a8ffac0c3c0df52ce9 Mon Sep 17 00:00:00 2001 From: sunxyw Date: Mon, 28 Mar 2022 16:41:13 +0800 Subject: [PATCH] rename test folder --- bin/phpunit-swoole | 2 +- {test => tests}/ZM/Utils/DataProviderTest.php | 0 {test => tests}/ZM/Utils/Manager/ModuleManagerTest.php | 0 {test => tests}/ZM/Utils/MessageUtilTest.php | 0 {test => tests}/ZM/Utils/TerminalTest.php | 0 {test => tests}/ZM/Utils/ZMUtilTest.php | 0 {test => tests}/ZMTest/Mock/mock.php | 0 .../ZMTest/PassedTest/AnnotationParserRegisterTest.php | 0 {test => tests}/ZMTest/Testing/EventDispatcherTest.php | 0 {test => tests}/ZMTest/Testing/ModuleTest.php | 0 {test => tests}/bootstrap.php | 0 {test => tests}/route_test.php | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename {test => tests}/ZM/Utils/DataProviderTest.php (100%) rename {test => tests}/ZM/Utils/Manager/ModuleManagerTest.php (100%) rename {test => tests}/ZM/Utils/MessageUtilTest.php (100%) rename {test => tests}/ZM/Utils/TerminalTest.php (100%) rename {test => tests}/ZM/Utils/ZMUtilTest.php (100%) rename {test => tests}/ZMTest/Mock/mock.php (100%) rename {test => tests}/ZMTest/PassedTest/AnnotationParserRegisterTest.php (100%) rename {test => tests}/ZMTest/Testing/EventDispatcherTest.php (100%) rename {test => tests}/ZMTest/Testing/ModuleTest.php (100%) rename {test => tests}/bootstrap.php (100%) rename {test => tests}/route_test.php (100%) diff --git a/bin/phpunit-swoole b/bin/phpunit-swoole index 0e2d1003..b480220e 100644 --- a/bin/phpunit-swoole +++ b/bin/phpunit-swoole @@ -59,7 +59,7 @@ require PHPUNIT_COMPOSER_INSTALL; $starttime = microtime(true); go(function () { try { - require_once __DIR__.'/../test/bootstrap.php'; + require_once __DIR__ . '/../tests/bootstrap.php'; PHPUnit\TextUI\Command::main(false); } catch (Exception $e) { echo $e->getMessage() . PHP_EOL; diff --git a/test/ZM/Utils/DataProviderTest.php b/tests/ZM/Utils/DataProviderTest.php similarity index 100% rename from test/ZM/Utils/DataProviderTest.php rename to tests/ZM/Utils/DataProviderTest.php diff --git a/test/ZM/Utils/Manager/ModuleManagerTest.php b/tests/ZM/Utils/Manager/ModuleManagerTest.php similarity index 100% rename from test/ZM/Utils/Manager/ModuleManagerTest.php rename to tests/ZM/Utils/Manager/ModuleManagerTest.php diff --git a/test/ZM/Utils/MessageUtilTest.php b/tests/ZM/Utils/MessageUtilTest.php similarity index 100% rename from test/ZM/Utils/MessageUtilTest.php rename to tests/ZM/Utils/MessageUtilTest.php diff --git a/test/ZM/Utils/TerminalTest.php b/tests/ZM/Utils/TerminalTest.php similarity index 100% rename from test/ZM/Utils/TerminalTest.php rename to tests/ZM/Utils/TerminalTest.php diff --git a/test/ZM/Utils/ZMUtilTest.php b/tests/ZM/Utils/ZMUtilTest.php similarity index 100% rename from test/ZM/Utils/ZMUtilTest.php rename to tests/ZM/Utils/ZMUtilTest.php diff --git a/test/ZMTest/Mock/mock.php b/tests/ZMTest/Mock/mock.php similarity index 100% rename from test/ZMTest/Mock/mock.php rename to tests/ZMTest/Mock/mock.php diff --git a/test/ZMTest/PassedTest/AnnotationParserRegisterTest.php b/tests/ZMTest/PassedTest/AnnotationParserRegisterTest.php similarity index 100% rename from test/ZMTest/PassedTest/AnnotationParserRegisterTest.php rename to tests/ZMTest/PassedTest/AnnotationParserRegisterTest.php diff --git a/test/ZMTest/Testing/EventDispatcherTest.php b/tests/ZMTest/Testing/EventDispatcherTest.php similarity index 100% rename from test/ZMTest/Testing/EventDispatcherTest.php rename to tests/ZMTest/Testing/EventDispatcherTest.php diff --git a/test/ZMTest/Testing/ModuleTest.php b/tests/ZMTest/Testing/ModuleTest.php similarity index 100% rename from test/ZMTest/Testing/ModuleTest.php rename to tests/ZMTest/Testing/ModuleTest.php diff --git a/test/bootstrap.php b/tests/bootstrap.php similarity index 100% rename from test/bootstrap.php rename to tests/bootstrap.php diff --git a/test/route_test.php b/tests/route_test.php similarity index 100% rename from test/route_test.php rename to tests/route_test.php