stable

Clone or download

Read-only

refacto: Simplify git unit test directory structure

Part of request #21775 Favor PHPUnit mock system over Mockery - part 2 Before working on these tests, all the content of sub Git dir is moved one level up. Why? because it contains some duplicate directories (like Gitolite) and it will ease the drop of mockery later *No functional changes expected* Change-Id: Ia24ee4263ea231521ed7e9ba6fd862fa7976d519

Modified Files

Name
R plugins/git/tests/unit/Git/AdminGerritControllerTest.php Go to diff View file
R plugins/git/tests/unit/Git/BinaryDetectorTest.php Go to diff View file
R plugins/git/tests/unit/Git/DiskUsage/CollectorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/GerritDriverFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/GerritUserAccountManagerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerBindedUGroupsTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerCreateGroupForUmbrellaTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerCreateGroupTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerListGroupsCacheTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerListGroupsTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerNoGerritTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerProjectAdminOwnerOfEverythingTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerProjectAdminTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/ProjectCreatorCallToGerritTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/ProjectCreatorStatusTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/ProjectCreatorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/Template/TemplateProcessorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/UmbrellaProjectManagerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/UserAccountManagerGetGerritUserTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/UserAccountManagerPushSSHKeysTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/UserFinderGetUgroupsTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/UserFinderTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/_fixtures/expected_access_rights.config Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/_fixtures/firefox.zip Binary file Go to diff View file
R plugins/git/tests/unit/Git/Driver/Gerrit/_fixtures/gitolite_firefox.git.tgz Binary file Go to diff View file
R plugins/git/tests/unit/Git/Driver/GerritHTTPClientFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Driver/GerritRESTTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerFineGrainedPermissionsTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerGerritTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerGitoliteConfTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/Gitolite3LogParserTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/ProjectSerializerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/RegenerateConfigurationCommandTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/AuthorizedKeysFileCreatorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/DumperFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/KeyTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/ManagementDetectorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/Provider/GerritServerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/Provider/UserTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/SSHKey/Provider/WholeInstanceKeysAggregatorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/default_gitolite.conf Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/etc_templates/gitolite/gitolite.conf.mustache Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/gitolite-2016-10.log Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/gitolite-2016-11.log Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/gitolite-2017-11-broken.log Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/gitolite-mail-config/mailhook-rev-mail-prefix-quote.txt Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/gitolite-mail-config/mailhook-rev-mail-prefix.txt Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/gitolite-mail-config/mailhook-rev.txt Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/override_gitolite.conf Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/perms/bigobject.conf Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/perms/migrated_to_gerrit.conf Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/perms/notgitolite3.conf Go to diff View file
R plugins/git/tests/unit/Git/Gitolite/_fixtures/perms/project1-full.conf Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/CheckRunningEventsTest.php Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/CleanUpGitoliteAdminRepoTest.php Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/EnableGitGcTest.php Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/ServiceRestarterTest.php Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/ServiceStopperTest.php Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/_fixtures/gitolite_admin.tgz Binary file Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/GitoliteHousekeepingGitGcTest.php Go to diff View file
R plugins/git/tests/unit/Git/GitoliteHousekeeping/GitoliteHousekeepingRunnerTest.php Go to diff View file
R plugins/git/tests/unit/Git/LatestHeartbeatsCollectorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Notifications/NotificationsForProjectMemberCleanerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/AccessControlVerifierTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/DefaultFineGrainedPermissionFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/FineGrainedPatternValidatorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/FineGrainedPermissionFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/FineGrainedPermissionSorterTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/HistoryValueFormatterTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/PatternValidatorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/PermissionChangesDetectorForProjectTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/PermissionChangesDetectorForRepositoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Permissions/RegexpPermissionFilterTest.php Go to diff View file
R plugins/git/tests/unit/Git/REST/v1/GitCommitRepresentationBuilderTest.php Go to diff View file
R plugins/git/tests/unit/Git/REST/v1/GitTreeRepresentationFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/REST/v1/ReferenceRepresentationBuilderTest.php Go to diff View file
R plugins/git/tests/unit/Git/Reference/CommitDetailsCrossReferenceInformationBuilderTest.php Go to diff View file
R plugins/git/tests/unit/Git/Reference/CommitDetailsRetrieverTest.php Go to diff View file
R plugins/git/tests/unit/Git/Reference/CrossReferenceGitEnhancerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Reference/CrossReferenceGitOrganizerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Reference/OrganizeableGitCrossReferencesAndTheContributorsCollectorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Reference/ReferenceAdministrationWarningsCollectorEventHandlerTest.php Go to diff View file
R plugins/git/tests/unit/Git/ReferenceManagerTest.php Go to diff View file
R plugins/git/tests/unit/Git/RemoteServer/Gerrit/ReplicationHTTPUserAuthenticatorTest.php Go to diff View file
R plugins/git/tests/unit/Git/RemoteServer/GerritCanMigrateCheckerTest.php Go to diff View file
R plugins/git/tests/unit/Git/RemoteServer/GerritServerFactoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/RemoteServer/GerritServerTest.php Go to diff View file
R plugins/git/tests/unit/Git/RemoteServer/MigrationHandlerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Repository/LargestObjectSizeGitRepositoryTest.php Go to diff View file
R plugins/git/tests/unit/Git/Repository/RepositoriesWithObjectsOverTheLimitCommandTest.php Go to diff View file
R plugins/git/tests/unit/Git/Repository/View/DefaultCloneURLSelectorTest.php Go to diff View file
R plugins/git/tests/unit/Git/Repository/View/FilesHeaderPresenterBuilderTest.php Go to diff View file
R plugins/git/tests/unit/Git/Repository/View/LanguageDetectorForPrismJSTest.php Go to diff View file
R plugins/git/tests/unit/Git/Repository/View/RepositoryHeaderTabsURLBuilderTest.php Go to diff View file
R plugins/git/tests/unit/Git/RepositoryList/DaoByRepositoryPathSorterTest.php Go to diff View file
R plugins/git/tests/unit/Git/SystemCheckTest.php Go to diff View file
R plugins/git/tests/unit/Git/SystemEventManagerTest.php Go to diff View file
R plugins/git/tests/unit/Git/URLTest.php Go to diff View file
R plugins/git/tests/unit/Git/UserAccountManagerTest.php Go to diff View file
R plugins/git/tests/unit/Git/Webhook/WebhookRequestSenderTest.php Go to diff View file
R plugins/git/tests/unit/Git/fixtures/jpeg Binary file Go to diff View file
R plugins/git/tests/unit/Git/fixtures/png Binary file Go to diff View file
R plugins/git/tests/unit/Git/fixtures/tar Binary file Go to diff View file
R plugins/git/tests/unit/Git/fixtures/zip Binary file Go to diff View file
M tests/psalm/psalm.xml +86 −86 Go to diff View file