harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1892) [test][swing] j.s.filechooser.FileSystemViewTest prompts to insert disk into drive A:
Date Mon, 30 Oct 2006 08:34:18 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1892?page=comments#action_12445517 ] 
Stepan Mishura commented on HARMONY-1892:

Hi Alexey,

With the second patch the test fails on Linux with:

name is empty

junit.framework.AssertionFailedError: name is empty at javax.swing.filechooser.FileSystemViewTest.assertNotEmpty(FileSystemViewTest.java:150)
at javax.swing.filechooser.FileSystemViewTest.testGetSystemDisplayName(FileSystemViewTest.java:87)
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
at javax.swing.SwingTestCase$1.run(SwingTestCase.java:45) at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:88)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:77) at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:131)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:144) at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:75)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)

Could you comment/verify this?


> [test][swing] j.s.filechooser.FileSystemViewTest prompts to insert disk into drive A:
> -------------------------------------------------------------------------------------
>                 Key: HARMONY-1892
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1892
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Windows
>            Reporter: Alexey A. Ivanov
>         Assigned To: Stepan Mishura
>         Attachments: H1892-FileSystemViewTest.2.patch, H1892-FileSystemViewTest.patch
> 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));

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message