stable
Clone or download
The JiraXMLExporterTest allows to verify that the import sequence is working well but until now it was not that much useful in pure test as tests themselves where rather simple (only asserting the number of artifacts). In the following stories we are going to work on deeper changes in the way import is done so we could leverage a better integration test. This commit introduces two things - A test based on Jira Cloud (in completment of the Jira Server fixtures we already have). As it's exported from Enalean test instance, I choose to leave it almost un modified as there are no confidential material here. - A baseline of generated tracker for each fixture so we can detect when we are changing what we export. Part of: request #24222 Jira import fields that are only updated Change-Id: I8ea35fdfbd515b843096aa3b3d81ad64f042d4b5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php | +2 | −4 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentDownloader.php | +3 | −3 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentNameGenerator.php | +31 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/RandomAttachmentNameGenerator.php | +35 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/JiraClientReplay.php | +5 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentDownloaderTest.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php | +90 | −24 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/tracker.xml | +585 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/tracker.xml | +692 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/01813bd665c06dce0e4c70d4825ba99f0895d92b | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/0217f7d1cbabe4c50f02f4e05f02f6b0f71670f1 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/0fe13c3af81025ac8e3a1748f15cb68cbf373233 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/110e7a6ac1be8176d9d663f42e16ccf41f491bb4 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/178b90498fe21679d8b3eaf18610289d76c74dae | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/1e4835ae3b5b77f6152475f94c13b87576f8e3ff | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/2d199a27665adc2cc4f3609667f680e6eca42a48 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/32c694494fc97ea13c656fe4ab648201a4312e43 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/32f8b371a39b2a34cce02c94d4d6b209d416d535 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/33436b117afaa535a16edcf2f84b9369fba0274d | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/3366146eab44aaacf8c2f771a8f21d2998beb186 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/37adb3374034ab436db781be2e2d3496893c3eb2 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/37cf1ef52887626673b4d4296d9f85382b2c1ca7 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/43911e484085223115307b109a07895069063c40 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/4446ba5db1ad01cd4fb048090efe4135fd243425 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/444a04a16962acdc817e76ef16b6c8444eec6892 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/4b13cc2f776e34ecdb2b52ba8d0b02fb0952f065 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/5163bfacf5f860bec95fd3cf7ef21341dc0ad9db | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/52098bdeb07e6bb9c1f69880c14658fa57e56fa5 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/58ac2ae2dd459dd2b9a87aea0ee5e9bcc21379ce | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/5bfb82523ef9e3dd3c291dee80c13d77e507bf3c | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/65ddc166da679ea303a2273d08fe024d4ffd02aa | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/6797113bf08463eff22b3cb2bc9970fc068112f8 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/697383cf95d255919cbe74ce899fab2afd477a99 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/6e9e02cd2f06f845795124b9bbd362d3dadad3e9 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/75c7043ebf9ab57dafa2f704f4dc59a6a0ecfb71 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/7fe84df001ef64d30f3a1ea2aa8ce296659e6153 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/85709c9d8b05b668818c54d6761fc6c722f83ec2 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/92a252c3cb273b20f8c8bb2bd4e18dd2d58ebfbc | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/930e8937bc4092d46649ae6548cdbc31b0086e7f | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/962b02a3378b6018f176948a03adf92e3c4c6dfb | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/9630a86f9e737c0e1543f9ad324b5d7774e67892 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/99917c95741fd2d0c50e7e71b659a8982f570601 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/a7986a6fe19cc768f548fc9ea18fec03928c36b4 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/aa9da27af96e9716255796a4fb22ab7ddd1316d6 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/b57fe4d36e0a787915cfaea0be9d78f2473acb05 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/bc749e3d95a803b4a2194bac96205d38716041aa | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/bf031d8bf1434fb99ed702370d0f6e50c6a51594 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/bf846391c7f921d2bee388c1d4a69696ca7072fd | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/c2009f91fc6dbcf126db27f9151d980505a96eca | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/c2fe2c3ccca64924e04b5a9980b87b2b7621ecd9 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/c7650583a85218a6e20badf560aa10772988de10 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/c7dde026c023797cd360f3301d3b6f071e328e5f | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/ca5e1eea02b3802c328be39b3b48f1ea68ab97b6 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/cbef6c6249db19dbcf7d1c1ec511f3292bd518c0 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/cc10a4ec320e0549221698b23170c6f39f8fd148 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/cf14a43c71cf89140dd60891fdbe3bb5474e5538 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/d0000456e67a3e9240de0d3841df153afe0a0978 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/d36388b353ea789a51c06f82f33382c2867f0dff | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/d47604f97614e7324791730f49cdd561d082e57d | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/d91c7cbe787375c6276dc62d27c3cd8a6f134c40 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/daee3fb0348495b90f4ce6e4775239d2ad6907d2 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/dd830386d5e793da6fe396f805a762a0c27066ae | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/e30aed247969725d1d747b9f88d0861b70624010 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/e4c88750078c5aa0dfce3eb8309e3acce46cb71e | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/e6f21bcc6dbbde3d9f3478941cacb4fcb139be97 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/e85cf388bb1c05a0f911abb76a96071f0e3b9b2d | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/eb73920a4af810c173dd2d4c54546c46bbe68527 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/ec9e713cbf6195286c1bf2570f16ade9426a2f91 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/f77ffdddf39522249a97000fccba30e2820323aa | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/manifest.log | +60 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/tracker.xml | +1073 | −0 | Go to diff View file |
M | src/common/User/XML/UserXMLExporter.class.php | +3 | −0 | Go to diff View file |