cli-generate-stuffs
Clone or download
Read-only
story #19389 Generate random number of changesets in each artifact
Inside an artifact node, generate a random number of changeset between 1 and 5. Changesets ids are unique on tracker scale (meaning inside artifacts node). In the first changeset: all required fields + random fields are exported. In the next changesets, random fields are exported. Change-Id: Idc817dfe0ed8d286672a942f9d6ff1dcf08a17a8
Modified Files
Name | ||||
---|---|---|---|---|
M | src/App/Commands/ArtifactGeneratorCommand.php | +0 | −2 | Go to diff View file |
A | src/App/Tracker/Fields/Field.php | +96 | −0 | Go to diff View file |
A | src/App/Tracker/Fields/FieldsCollection.php | +168 | −0 | Go to diff View file |
A | src/App/Tracker/TrackerSemanticTitle.php | +37 | −0 | Go to diff View file |
A | src/App/Xml/FileFieldChangeCollection.php | +41 | −0 | Go to diff View file |
M | src/App/Xml/XmlArtifactBuilder.php | +4 | −23 | Go to diff View file |
M | src/App/Xml/XmlArtifactFieldFactory.php | +9 | −28 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifact.php | +30 | −16 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifactChangeset.php | +71 | −14 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactComputedFieldChange.php | +4 | −3 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactDateFieldChange.php | +4 | −3 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactFileFieldChange.php | +4 | −3 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactGenericFieldChange.php | +4 | −3 | Go to diff View file |
M | src/App/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactListFieldChange.php | +8 | −7 | Go to diff View file |
M | tests/unit/Xml/XmlArtifactGeneratorTest.php | +64 | −21 | Go to diff View file |
M | tests/unit/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactComputedFieldChangeTest.php | +13 | −2 | Go to diff View file |
M | tests/unit/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactDateFieldChangeTest.php | +7 | −2 | Go to diff View file |
M | tests/unit/Xml/XmlArtifactNodes/XmlArtifactFieldChanges/XmlArtifactListFieldChangeTest.php | +39 | −17 | Go to diff View file |