Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20019

Pictures tiles TestService must use the right tmp dir

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Tests

      Description

      org.nuxeo.ecm.platform.pictures.tiles.service.test.TestService creates a folder at root of the module: nuxeo-features/nuxeo-platform-imaging-tiling/nuxeo-platform-imaging-tiling/${nuxeo.tmp.dir}/

      That may be due to NXP-18667 but the patched testLazy() method does not generate that folder when it's run solely...

      In the mean time it needs a global review:

      • hardcoded paths
      • use of deprecated methods
      • use of System.out
      • migrate from NXRuntimeTestCase to @RunWith(FeaturesRunner.class)

      Also, the org.nuxeo.ecm.platform.pictures.tiles.service.test.TestAdapters is ignored for very long time:

      • change
        // NXP-13240: temporarily disabled
        @Ignore

        to @Ignore("NXP-13240")

      • wake up NXP-13240

      Prioritized as major because that creates an unknown file to Git and may create issues:

      $ git status
      HEAD detached at release-8.3-I20160706_2325
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      	nuxeo-features/nuxeo-platform-imaging-tiling/nuxeo-platform-imaging-tiling/${nuxeo.tmp.dir}/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jcarsique Julien Carsique
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: