2006/10/17, Ivanov, Alexey A <[EMAIL PROTECTED]>:
Hello everyone,
When running tests on Windows,
FileSystemViewTest.testGetSystemDisplayName() pops up a dialog prompting
to insert disk into drive A:. This dialog prevents normal running of
other tests.
LOL
IMO, the problem assertion could be deleted without loss of coverage.
Any other comments/opinions?
See the JIRA issue: https://issues.apache.org/jira/browse/HARMONY-1892
Regards,
Alexey.
P.S. The problem code is at lines 85-86 in FileSystemViewTest.java:
file = File.listRoots()[0];
assertNotSame(file.getName(), view.getSystemDisplayName(file));
The assertion doesn't look foolproof anyway. Accordingly to spec
getSystemDisplayName() should return *some* name, max what we may
assert that it is not null and not empty.
--
Alexey A. Ivanov
Intel Middleware Product Division
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]