Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1892

[test][swing] j.s.filechooser.FileSystemViewTest prompts to insert disk into drive A:

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build - test - ci
    • Labels:
      None
    • Environment:
      Windows
    • Estimated Complexity:
      Novice

      Description

      When running tests, javax.swing.filechooser.FileSystemViewTest.testGetSystemDisplayName() prompts to insert disk into drive A:. This popup dialog stops this test and it fails.
      When running this test from Eclipse, there's no dialog popped up.

      I suggest removing the last two lines from testGetSystemDisplayName() to avoid this popup dialog. The problem lines are (85-86):
      file = File.listRoots()[0];
      assertNotSame(file.getName(), view.getSystemDisplayName(file));

        Attachments

        1. H1892-FileSystemViewTest.2.patch
          0.8 kB
          Alexey A. Ivanov
        2. H1892-FileSystemViewTest.patch
          0.7 kB
          Alexey A. Ivanov

          Issue Links

            Activity

              People

              • Assignee:
                smm Stepan Mishura
                Reporter:
                aaivanov Alexey A. Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: