Harmony
  1. Harmony
  2. HARMONY-1892

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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));

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

        Issue Links

          Activity

          Alexey A. Ivanov created issue -
          Alexey A. Ivanov made changes -
          Field Original Value New Value
          Attachment H1892-FileSystemViewTest.patch [ 12343173 ]
          Mark Hindess made changes -
          Assignee Mark Hindess [ hindessm ]
          Mark Hindess made changes -
          Assignee Mark Hindess [ hindessm ]
          Stepan Mishura made changes -
          Assignee Stepan Mishura [ smm ]
          Stepan Mishura made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Stepan Mishura made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Alexey A. Ivanov made changes -
          Attachment H1892-FileSystemViewTest.2.patch [ 12343616 ]
          Alexey A. Ivanov made changes -
          Link This issue is blocked by HARMONY-1893 [ HARMONY-1893 ]
          Mark Hindess made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development