stable

Clone or download

Read-only

Add missing unit tests

This is part of story #17180 take into account gitlab commits No functional changes expected here. Some unit tests were missing during the refactoring (commit 25b4d918cf0eb871604bfeeb35c03128531c8bf8). They are now added. Change-Id: Ia4825e30d7582c991924685cfc02cc7344119102

Modified Files

Name
M plugins/git/include/Git/HTTP/HTTPController.php +2 −2 Go to diff View file
M plugins/git/include/Git/ReferenceManager.class.php +2 −2 Go to diff View file
M plugins/git/include/Git/URL.class.php +1 −1 Go to diff View file
M plugins/git/include/GitRepositoryFactory.class.php +3 −8 Go to diff View file
M plugins/git/tests/unit/Git/ReferenceManagerTest.php +9 −0 Go to diff View file
M plugins/referencealias_core/include/ReferenceAliasCore/Dao.php +23 −13 Go to diff View file
M plugins/referencealias_core/include/ReferenceAliasCore/ReferencesBuilder.php +1 −1 Go to diff View file
M plugins/referencealias_core/include/ReferenceAliasCore/ReferencesImporter.php +3 −3 Go to diff View file
A plugins/referencealias_core/tests/unit/ReferenceAliasCore/ReferencesBuilderTest.php +147 −0 Go to diff View file
M plugins/referencealias_core/tests/unit/ReferencesImporterTest.php +3 −9 Go to diff View file
M plugins/referencealias_git/include/ReferenceAliasGit/Dao.php +19 −15 Go to diff View file
M plugins/referencealias_git/include/ReferenceAliasGit/ReferencesBuilder.php +1 −1 Go to diff View file
M plugins/referencealias_git/include/ReferenceAliasGit/ReferencesImporter.php +2 −2 Go to diff View file
A plugins/referencealias_git/tests/unit/ReferenceAliasGit/ReferencesBuilderTest.php +139 −0 Go to diff View file
M plugins/referencealias_git/tests/unit/ReferencesImporterTest.php +2 −2 Go to diff View file
M plugins/referencealias_mediawiki/include/CompatibilityDao.php +18 −14 Go to diff View file
M plugins/referencealias_mediawiki/include/ReferencesBuilder.php +1 −1 Go to diff View file
M plugins/referencealias_mediawiki/include/ReferencesImporter.php +2 −2 Go to diff View file
A plugins/referencealias_mediawiki/tests/unit/ReferenceAliasMediawiki/ReferencesBuilderTest.php +123 −0 Go to diff View file
M plugins/referencealias_mediawiki/tests/unit/ReferencesImporterTest.php +4 −3 Go to diff View file
M plugins/referencealias_svn/include/ReferenceAliasSVN/Dao.php +19 −16 Go to diff View file
M plugins/referencealias_svn/include/ReferenceAliasSVN/ReferencesBuilder.php +1 −1 Go to diff View file
M plugins/referencealias_svn/include/ReferenceAliasSVN/ReferencesImporter.php +3 −3 Go to diff View file
A plugins/referencealias_svn/tests/unit/ReferenceAliasSVN/ReferencesBuilderTest.php +160 −0 Go to diff View file
M plugins/referencealias_svn/tests/unit/ReferencesImporterTest.php +2 −2 Go to diff View file
M plugins/referencealias_tracker/include/ReferenceAliasTracker/Dao.php +18 −14 Go to diff View file
M plugins/referencealias_tracker/include/ReferenceAliasTracker/OriginalReferencesBuilder.php +1 −1 Go to diff View file
M plugins/referencealias_tracker/include/ReferenceAliasTracker/ReferencesImporter.php +3 −3 Go to diff View file
A plugins/referencealias_tracker/tests/unit/ReferenceAliasTracker/OriginalReferencesBuilderTest.php +147 −0 Go to diff View file
M plugins/referencealias_tracker/tests/unit/ReferencesImporterTest.php +3 −3 Go to diff View file