Write unit test for com.atlassian.studio.importer.impl.file.JiraImportFileServiceImpl

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Medium
    • Summit Iteration 5, June 2011
    • Affects Version/s: None
    • Component/s: None
    • None

      JiraImportFileServiceImpl provides functionality to modify the JIRA import file. The JIRA URL replacement logic was originally extracted from com.atlassian.studio.importer.impl.LegacyStudioImportManager (former name com.atlassian.studio.importer.StudioImportManager), the user renaming logic was added in AOD-2656. In order to isolate it, only com.atlassian.jira.config.properties.ApplicationProperties and com.atlassian.studio.common.StudioInfo have to be mocked. The unit contains also the ZIP extraction functionality contained in com.atlassian.studio.importer.impl.util.ZipFileInputStream, thus the test should incorporate the tests originally contained in the removed com.atlassian.studio.importer.TestImportZipExtractorImpl (r106231).

            Assignee:
            James Roper [Atlassian]
            Reporter:
            fabs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: