Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8343101

Rework BasicTest.testTemp test cases

XMLWordPrintable

    • b22
    • generic
    • generic

        BasicTest.testTemp(true) test case will run jpackage command with --temp parameter referring to a non-existing directory.

        BasicTest.testTemp(fale) test case will run jpackage command with --temp parameter referring to an existing empty directory.

        Both test cases will rerun the same jpackage command line making the --temp paraterm refer to a non-empty temp directory. This run is expected to fail.

        It will be four jpackage runs in total. Two "expected-to-fail" runs are identical.

        Rework this test case to run jpackage three times:
        1. --temp referring to a non-existing directory.
        2. --temp referring to an existing empty directory.
        3. --temp referring to an existing non-empty directory (expected to fail).

              asemenyuk Alexey Semenyuk
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: