From 3adfe8742f115994f1f6c7ca76694ef8ddb06e83 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Thu, 7 Dec 2017 15:46:49 -0500 Subject: [PATCH] Reorganize test cases --- tests/{ => cases}/Conf/TestConf.php | 0 .../Database/TestDatabaseArticleSQLite3.php | 0 .../Database/TestDatabaseCleanupSQLite3.php | 0 .../Database/TestDatabaseFeedSQLite3.php | 0 .../Database/TestDatabaseFolderSQLite3.php | 0 .../Database/TestDatabaseLabelSQLite3.php | 0 .../Database/TestDatabaseMetaSQLite3.php | 0 .../TestDatabaseMiscellanySQLite3.php | 0 .../Database/TestDatabaseSessionSQLite3.php | 0 .../TestDatabaseSubscriptionSQLite3.php | 0 .../Database/TestDatabaseUserSQLite3.php | 0 .../SQLite3/TestDbDriverCreationSQLite3.php | 0 .../Db/SQLite3/TestDbDriverSQLite3.php | 0 .../Db/SQLite3/TestDbResultSQLite3.php | 0 .../Db/SQLite3/TestDbStatementSQLite3.php | 0 .../Db/SQLite3/TestDbUpdateSQLite3.php | 0 tests/{ => cases}/Db/TestResultAggregate.php | 0 tests/{ => cases}/Db/TestResultEmpty.php | 0 tests/{ => cases}/Db/TestTransaction.php | 0 tests/{ => cases}/Exception/TestException.php | 0 tests/{ => cases}/Feed/TestFeed.php | 0 tests/{ => cases}/Feed/TestFeedFetching.php | 0 tests/{ => cases}/Lang/TestLang.php | 0 tests/{ => cases}/Lang/TestLangErrors.php | 0 tests/{ => cases}/Lang/testLangComplex.php | 0 tests/{ => cases}/Misc/TestContext.php | 0 tests/{ => cases}/Misc/TestValueInfo.php | 0 .../REST/NextCloudNews/TestNCNV1_2.php | 0 .../NextCloudNews/TestNCNVersionDiscovery.php | 0 .../REST/TinyTinyRSS/TestTinyTinyAPI.php | 0 .../REST/TinyTinyRSS/TestTinyTinyIcon.php | 0 tests/{ => cases}/Service/TestService.php | 0 tests/{ => cases}/User/TestAuthorization.php | 0 .../User/TestUserInternalDriver.php | 0 .../{ => cases}/User/TestUserMockExternal.php | 0 .../{ => cases}/User/TestUserMockInternal.php | 0 tests/phpunit.xml | 72 +++++++++---------- 37 files changed, 36 insertions(+), 36 deletions(-) rename tests/{ => cases}/Conf/TestConf.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/Database/TestDatabaseUserSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/TestDbDriverCreationSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/TestDbDriverSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/TestDbResultSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/TestDbStatementSQLite3.php (100%) rename tests/{ => cases}/Db/SQLite3/TestDbUpdateSQLite3.php (100%) rename tests/{ => cases}/Db/TestResultAggregate.php (100%) rename tests/{ => cases}/Db/TestResultEmpty.php (100%) rename tests/{ => cases}/Db/TestTransaction.php (100%) rename tests/{ => cases}/Exception/TestException.php (100%) rename tests/{ => cases}/Feed/TestFeed.php (100%) rename tests/{ => cases}/Feed/TestFeedFetching.php (100%) rename tests/{ => cases}/Lang/TestLang.php (100%) rename tests/{ => cases}/Lang/TestLangErrors.php (100%) rename tests/{ => cases}/Lang/testLangComplex.php (100%) rename tests/{ => cases}/Misc/TestContext.php (100%) rename tests/{ => cases}/Misc/TestValueInfo.php (100%) rename tests/{ => cases}/REST/NextCloudNews/TestNCNV1_2.php (100%) rename tests/{ => cases}/REST/NextCloudNews/TestNCNVersionDiscovery.php (100%) rename tests/{ => cases}/REST/TinyTinyRSS/TestTinyTinyAPI.php (100%) rename tests/{ => cases}/REST/TinyTinyRSS/TestTinyTinyIcon.php (100%) rename tests/{ => cases}/Service/TestService.php (100%) rename tests/{ => cases}/User/TestAuthorization.php (100%) rename tests/{ => cases}/User/TestUserInternalDriver.php (100%) rename tests/{ => cases}/User/TestUserMockExternal.php (100%) rename tests/{ => cases}/User/TestUserMockInternal.php (100%) diff --git a/tests/Conf/TestConf.php b/tests/cases/Conf/TestConf.php similarity index 100% rename from tests/Conf/TestConf.php rename to tests/cases/Conf/TestConf.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php diff --git a/tests/Db/SQLite3/Database/TestDatabaseUserSQLite3.php b/tests/cases/Db/SQLite3/Database/TestDatabaseUserSQLite3.php similarity index 100% rename from tests/Db/SQLite3/Database/TestDatabaseUserSQLite3.php rename to tests/cases/Db/SQLite3/Database/TestDatabaseUserSQLite3.php diff --git a/tests/Db/SQLite3/TestDbDriverCreationSQLite3.php b/tests/cases/Db/SQLite3/TestDbDriverCreationSQLite3.php similarity index 100% rename from tests/Db/SQLite3/TestDbDriverCreationSQLite3.php rename to tests/cases/Db/SQLite3/TestDbDriverCreationSQLite3.php diff --git a/tests/Db/SQLite3/TestDbDriverSQLite3.php b/tests/cases/Db/SQLite3/TestDbDriverSQLite3.php similarity index 100% rename from tests/Db/SQLite3/TestDbDriverSQLite3.php rename to tests/cases/Db/SQLite3/TestDbDriverSQLite3.php diff --git a/tests/Db/SQLite3/TestDbResultSQLite3.php b/tests/cases/Db/SQLite3/TestDbResultSQLite3.php similarity index 100% rename from tests/Db/SQLite3/TestDbResultSQLite3.php rename to tests/cases/Db/SQLite3/TestDbResultSQLite3.php diff --git a/tests/Db/SQLite3/TestDbStatementSQLite3.php b/tests/cases/Db/SQLite3/TestDbStatementSQLite3.php similarity index 100% rename from tests/Db/SQLite3/TestDbStatementSQLite3.php rename to tests/cases/Db/SQLite3/TestDbStatementSQLite3.php diff --git a/tests/Db/SQLite3/TestDbUpdateSQLite3.php b/tests/cases/Db/SQLite3/TestDbUpdateSQLite3.php similarity index 100% rename from tests/Db/SQLite3/TestDbUpdateSQLite3.php rename to tests/cases/Db/SQLite3/TestDbUpdateSQLite3.php diff --git a/tests/Db/TestResultAggregate.php b/tests/cases/Db/TestResultAggregate.php similarity index 100% rename from tests/Db/TestResultAggregate.php rename to tests/cases/Db/TestResultAggregate.php diff --git a/tests/Db/TestResultEmpty.php b/tests/cases/Db/TestResultEmpty.php similarity index 100% rename from tests/Db/TestResultEmpty.php rename to tests/cases/Db/TestResultEmpty.php diff --git a/tests/Db/TestTransaction.php b/tests/cases/Db/TestTransaction.php similarity index 100% rename from tests/Db/TestTransaction.php rename to tests/cases/Db/TestTransaction.php diff --git a/tests/Exception/TestException.php b/tests/cases/Exception/TestException.php similarity index 100% rename from tests/Exception/TestException.php rename to tests/cases/Exception/TestException.php diff --git a/tests/Feed/TestFeed.php b/tests/cases/Feed/TestFeed.php similarity index 100% rename from tests/Feed/TestFeed.php rename to tests/cases/Feed/TestFeed.php diff --git a/tests/Feed/TestFeedFetching.php b/tests/cases/Feed/TestFeedFetching.php similarity index 100% rename from tests/Feed/TestFeedFetching.php rename to tests/cases/Feed/TestFeedFetching.php diff --git a/tests/Lang/TestLang.php b/tests/cases/Lang/TestLang.php similarity index 100% rename from tests/Lang/TestLang.php rename to tests/cases/Lang/TestLang.php diff --git a/tests/Lang/TestLangErrors.php b/tests/cases/Lang/TestLangErrors.php similarity index 100% rename from tests/Lang/TestLangErrors.php rename to tests/cases/Lang/TestLangErrors.php diff --git a/tests/Lang/testLangComplex.php b/tests/cases/Lang/testLangComplex.php similarity index 100% rename from tests/Lang/testLangComplex.php rename to tests/cases/Lang/testLangComplex.php diff --git a/tests/Misc/TestContext.php b/tests/cases/Misc/TestContext.php similarity index 100% rename from tests/Misc/TestContext.php rename to tests/cases/Misc/TestContext.php diff --git a/tests/Misc/TestValueInfo.php b/tests/cases/Misc/TestValueInfo.php similarity index 100% rename from tests/Misc/TestValueInfo.php rename to tests/cases/Misc/TestValueInfo.php diff --git a/tests/REST/NextCloudNews/TestNCNV1_2.php b/tests/cases/REST/NextCloudNews/TestNCNV1_2.php similarity index 100% rename from tests/REST/NextCloudNews/TestNCNV1_2.php rename to tests/cases/REST/NextCloudNews/TestNCNV1_2.php diff --git a/tests/REST/NextCloudNews/TestNCNVersionDiscovery.php b/tests/cases/REST/NextCloudNews/TestNCNVersionDiscovery.php similarity index 100% rename from tests/REST/NextCloudNews/TestNCNVersionDiscovery.php rename to tests/cases/REST/NextCloudNews/TestNCNVersionDiscovery.php diff --git a/tests/REST/TinyTinyRSS/TestTinyTinyAPI.php b/tests/cases/REST/TinyTinyRSS/TestTinyTinyAPI.php similarity index 100% rename from tests/REST/TinyTinyRSS/TestTinyTinyAPI.php rename to tests/cases/REST/TinyTinyRSS/TestTinyTinyAPI.php diff --git a/tests/REST/TinyTinyRSS/TestTinyTinyIcon.php b/tests/cases/REST/TinyTinyRSS/TestTinyTinyIcon.php similarity index 100% rename from tests/REST/TinyTinyRSS/TestTinyTinyIcon.php rename to tests/cases/REST/TinyTinyRSS/TestTinyTinyIcon.php diff --git a/tests/Service/TestService.php b/tests/cases/Service/TestService.php similarity index 100% rename from tests/Service/TestService.php rename to tests/cases/Service/TestService.php diff --git a/tests/User/TestAuthorization.php b/tests/cases/User/TestAuthorization.php similarity index 100% rename from tests/User/TestAuthorization.php rename to tests/cases/User/TestAuthorization.php diff --git a/tests/User/TestUserInternalDriver.php b/tests/cases/User/TestUserInternalDriver.php similarity index 100% rename from tests/User/TestUserInternalDriver.php rename to tests/cases/User/TestUserInternalDriver.php diff --git a/tests/User/TestUserMockExternal.php b/tests/cases/User/TestUserMockExternal.php similarity index 100% rename from tests/User/TestUserMockExternal.php rename to tests/cases/User/TestUserMockExternal.php diff --git a/tests/User/TestUserMockInternal.php b/tests/cases/User/TestUserMockInternal.php similarity index 100% rename from tests/User/TestUserMockInternal.php rename to tests/cases/User/TestUserMockInternal.php diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 0e06627e..bcbdd479 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -29,64 +29,64 @@ - Exception/TestException.php + cases/Exception/TestException.php - Lang/TestLang.php - Lang/TestLangComplex.php - Lang/TestLangErrors.php + cases/Lang/TestLang.php + cases/Lang/TestLangComplex.php + cases/Lang/TestLangErrors.php - Conf/TestConf.php + cases/Conf/TestConf.php - Misc/TestValueInfo.php - Misc/TestContext.php + cases/Misc/TestValueInfo.php + cases/Misc/TestContext.php - User/TestUserMockInternal.php - User/TestUserMockExternal.php - User/TestUserInternalDriver.php - User/TestAuthorization.php + cases/User/TestUserMockInternal.php + cases/User/TestUserMockExternal.php + cases/User/TestUserInternalDriver.php + cases/User/TestAuthorization.php - Feed/TestFeedFetching.php - Feed/TestFeed.php + cases/Feed/TestFeedFetching.php + cases/Feed/TestFeed.php - Db/TestTransaction.php - Db/TestResultAggregate.php - Db/TestResultEmpty.php - Db/SQLite3/TestDbResultSQLite3.php - Db/SQLite3/TestDbStatementSQLite3.php - Db/SQLite3/TestDbDriverCreationSQLite3.php - Db/SQLite3/TestDbDriverSQLite3.php - Db/SQLite3/TestDbUpdateSQLite3.php + cases/Db/TestTransaction.php + cases/Db/TestResultAggregate.php + cases/Db/TestResultEmpty.php + cases/Db/SQLite3/TestDbResultSQLite3.php + cases/Db/SQLite3/TestDbStatementSQLite3.php + cases/Db/SQLite3/TestDbDriverCreationSQLite3.php + cases/Db/SQLite3/TestDbDriverSQLite3.php + cases/Db/SQLite3/TestDbUpdateSQLite3.php - Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php - Db/SQLite3/Database/TestDatabaseMetaSQLite3.php - Db/SQLite3/Database/TestDatabaseUserSQLite3.php - Db/SQLite3/Database/TestDatabaseSessionSQLite3.php - Db/SQLite3/Database/TestDatabaseFolderSQLite3.php - Db/SQLite3/Database/TestDatabaseFeedSQLite3.php - Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php - Db/SQLite3/Database/TestDatabaseArticleSQLite3.php - Db/SQLite3/Database/TestDatabaseLabelSQLite3.php - Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php + cases/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseUserSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php + cases/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php - REST/NextCloudNews/TestNCNVersionDiscovery.php - REST/NextCloudNews/TestNCNV1_2.php + cases/REST/NextCloudNews/TestNCNVersionDiscovery.php + cases/REST/NextCloudNews/TestNCNV1_2.php - REST/TinyTinyRSS/TestTinyTinyAPI.php - REST/TinyTinyRSS/TestTinyTinyIcon.php + cases/REST/TinyTinyRSS/TestTinyTinyAPI.php + cases/REST/TinyTinyRSS/TestTinyTinyIcon.php - Service/TestService.php + cases/Service/TestService.php \ No newline at end of file