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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • build - test - ci
    • None
    • Windows
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: