This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 47044 - failure in testBooleanEditor test
Summary: failure in testBooleanEditor test
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-08-10 10:29 UTC by pzajac
Modified: 2008-12-22 21:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test log (1.62 KB, text/plain)
2004-08-10 10:30 UTC, pzajac
Details
test log (1.62 KB, text/plain)
2004-08-17 13:45 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-08-10 10:29:15 UTC
[200408091800]

      junit.framework.AssertionFailedError: After
closing dialog, focus should not be null.
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at
org.openide.explorer.propertysheet.PropertyPanelInDialogTest.checkOneRenderer(PropertyPanelInDialogTest.java:294)
	at
org.openide.explorer.propertysheet.PropertyPanelInDialogTest.testBooleanEditor(PropertyPanelInDialogTest.java:202)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)


System Info

Host	:	qa-frodo
Operating System Name	:	SunOS
Operating System Version	:	5.9
System Architecture	:	sparc
Java Version	:	1.4.2_05
Java Vendor	:	Sun Microsystems Inc.
User Language	:	en
Comment 1 pzajac 2004-08-10 10:30:43 UTC
Created attachment 16716 [details]
test log
Comment 2 _ tboudreau 2004-08-16 13:11:09 UTC
Fixed - slowed the test down and ensure it really focuses the components before testing - 
when running the test on Linux, it would sometimes fail if the window that should initially 
get focus was shown, but focus was still on the terminal that launched the process (which 
got focus back when the last one was closed).  So, making sure it really gets focus, is sent 
to front, etc.
Comment 3 pzajac 2004-08-17 13:45:04 UTC
The test fails on solaris.
Host	:	qa-frodo
Operating System Name	:	SunOS
Operating System Version	:	5.9
System Architecture	:	sparc
Java Version	:	1.4.2_05
Java Vendor	:	Sun Microsystems Inc.
User Language	:	en
Comment 4 pzajac 2004-08-17 13:45:31 UTC
Created attachment 16883 [details]
test log
Comment 5 _ tboudreau 2004-08-17 17:37:28 UTC
Made the tests still more robust against focus/window activation 
timing problems.  All pass for me now, should all pass for you.
Comment 6 pzajac 2004-08-27 12:48:40 UTC
v