cli-generate-stuffs

Clone or download

Read-only

Merge commit 'refs/changes/22/21622/38' of ssh://gerrit.tuleap.net:29418/cli-generate-stuffs into HEAD

* ssh://gerrit.tuleap.net:29418/cli-generate-stuffs: art #19228 Refacto XmlArtifactGenerator and ArtifactGeneratorCommand Change-Id: I3d49afa1fb649f725040e37f9ef693a1172f6744

Modified Files

Name
M src/App/Commands/ArtifactGeneratorCommand.php +3 −1 Go to diff View file
A src/App/Xml/DataGenerator.php +56 −0 Go to diff View file
A src/App/Xml/XmlArtifactBuilder.php +58 −0 Go to diff View file
A src/App/Xml/XmlArtifactFieldFactory.php +97 −0 Go to diff View file
M src/App/Xml/XmlArtifactGenerator.php +14 −178 Go to diff View file
A src/App/Xml/XmlArtifactNodes/Exportable.php +30 −0 Go to diff View file
A src/App/Xml/XmlArtifactNodes/XmlArtifact.php +58 −0 Go to diff View file
A src/App/Xml/XmlArtifactNodes/XmlArtifactChangeset.php +89 −0 Go to diff View file
A src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactComputedFieldChange.php +66 −0 Go to diff View file
A src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactDateFieldChange.php +60 −0 Go to diff View file
A src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactGenericFieldChange.php +58 −0 Go to diff View file
A src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactListFieldChange.php +112 −0 Go to diff View file
M tests/unit/Xml/XmlArtifactGeneratorTest.php +109 −65 Go to diff View file