stable
Clone or download
Read-only
In order to decrease responsibilities of Project class, the retrieval of a Service classname is delegated to a dedicated object. Furthermore a bunch of unit tests are added in order to provide a safety net for future refactoring. Part of story #33979: have dedicated Backlog service Change-Id: Ib982c40ebbc954e100b504b5abfaed5849a9b699
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/Project.class.php | +0 | −47 | Go to diff View file |
A | src/common/Project/Service/ServiceClassnameRetriever.php | +80 | −0 | Go to diff View file |
M | src/common/Project/ServiceManager.class.php | +12 | −14 | Go to diff View file |
A | tests/unit/common/Project/Service/ServiceClassnameRetrieverTest.php | +134 | −0 | Go to diff View file |