stable

Clone or download

Read-only

Move some Git tests to PHPUnit v2

This is part of request #14150: Get rid of SimpleTest Change-Id: Ie4919a33a8ce2969791a66a2de734739dce3c03a

Modified Files

Name
M plugins/git/include/GitBackend.class.php +3 −3 Go to diff View file
M plugins/git/include/GitRepositoryManager.class.php +3 −1 Go to diff View file
R plugins/git/tests/GitActionsDeleteTest.php Go to diff View file
R plugins/git/tests/GitActionsFetchConfigTest.php Go to diff View file
R plugins/git/tests/GitActionsForkTest.php Go to diff View file
A plugins/git/phpunit/GitActionsProjectPrivacyTest.php +128 −0 Go to diff View file
R plugins/git/tests/GitActionsTest.php Go to diff View file
R plugins/git/tests/GitBackendGitoliteDisconnectGerritTest.php Go to diff View file
A plugins/git/phpunit/GitBackendGitoliteUserAccessRightsTest.php +107 −0 Go to diff View file
R plugins/git/tests/GitBackendTest.php Go to diff View file
A plugins/git/phpunit/GitGerritRouteTest.php +324 −0 Go to diff View file
R plugins/git/tests/GitPermissionsManagerTest.php Go to diff View file
R plugins/git/tests/gitPluginTest.php Go to diff View file
A plugins/git/phpunit/GitPluginPostSystemEvents.php +75 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryCanDeletedTest.php +66 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryFactoryGetAllGerritRepositoriesFromProjectTest.php +110 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryFactoryGetGerritRepositoriesWithPermissionsForUGroupTest.php +184 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryFactoryTest.php +96 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryGetAccessUrlTest.php +57 −0 Go to diff View file
R plugins/git/tests/GitRepositoryImplTest.php Go to diff View file
A plugins/git/phpunit/GitRepositoryManagerCreateTest.php +123 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryManagerDeleteAllRepositoriesTest.php +97 −0 Go to diff View file
A plugins/git/phpunit/GitRepositoryManagerForkTest.php +425 −0 Go to diff View file
R plugins/git/tests/GitRepositoryManagerRepositoryNameTest.php Go to diff View file
R plugins/git/tests/GitRepositoryTest.php Go to diff View file
A plugins/git/phpunit/GitTest.php +123 −0 Go to diff View file
R plugins/git/tests/GitViewsRepositoriesTraversalStrategy_SelectboxTest.php Go to diff View file
R plugins/git/tests/GitViewsTest.php Go to diff View file
A plugins/git/phpunit/GitXMLExporterTest.php +281 −0 Go to diff View file
A plugins/git/phpunit/Git_Backend_GitoliteAccessURLTest.php +99 −0 Go to diff View file
M plugins/git/phpunit/Git_Backend_GitoliteTest.php +246 −49 Go to diff View file
R plugins/git/tests/Git_ExecTest.php Go to diff View file
R plugins/git/tests/Git_PostReceiveMailManagerTest.php Go to diff View file
A plugins/git/phpunit/PathJoinUtilTest.php +80 −0 Go to diff View file
R plugins/git/tests/XmlUgroupRetrieverTest.php Go to diff View file
A plugins/git/phpunit/_fixtures/gitolite-admin-ref.tar Binary file Go to diff View file
A plugins/git/phpunit/_fixtures/perms/coincoin.git.git/.gitdummy +0 −0 Go to diff View file
A plugins/git/phpunit/_fixtures/perms/default.conf +2 −0 Go to diff View file
A plugins/git/phpunit/_fixtures/perms/newone.conf +13 −0 Go to diff View file
A plugins/git/phpunit/_fixtures/perms/restricted.conf +2 −0 Go to diff View file
D plugins/git/tests/GitActionsProjectPrivacyTest.php +0 −97 Go to diff View file
D plugins/git/tests/GitBackendGitoliteUserAccessRightsTest.php +0 −103 Go to diff View file
D plugins/git/tests/GitGerritRouteTest.php +0 −306 Go to diff View file
D plugins/git/tests/GitRepositoryFactoryTest.php +0 −344 Go to diff View file
D plugins/git/tests/GitRepositoryManagerCreateTest.php +0 −111 Go to diff View file
D plugins/git/tests/GitRepositoryManagerForkTest.php +0 −348 Go to diff View file
D plugins/git/tests/GitRepositoryManagerTest.php +0 −89 Go to diff View file
D plugins/git/tests/GitTest.php +0 −104 Go to diff View file
D plugins/git/tests/GitXMLExporterTest.php +0 −289 Go to diff View file
D plugins/git/tests/Git_Backend_GitoliteTest.php +0 −280 Go to diff View file
D plugins/git/tests/PathJoinUtilTest.php +0 −79 Go to diff View file
M plugins/git/tests/bootstrap.php +0 −4 Go to diff View file
D plugins/git/tests/builders/aGerritServer.php +0 −53 Go to diff View file
D plugins/git/tests/builders/aGitRepository.php +0 −100 Go to diff View file