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.
[200407121800] Test Case: testWriteValues Test Suite: org.openide.explorer.propertysheet. NewPropertyPanelTest Module Name: openide junit.framework.AssertionFailedError: Requesting focus on a property panel for a string property should set focus to a JTextField not org.netbeans.beaninfo.editors.StringCustomEditor[,0,0,500x326,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1cec874,flags=9,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=500,height=300]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.openide.explorer.propertysheet.NewPropertyPanelTest.testWriteValues(NewPropertyPanelTest.java:485) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Created attachment 16224 [details] exception stacktrace
Created attachment 16225 [details] exception stacktrace
Can't reproduce, and probably obviated in my other test fixes today
v
The test fails agaion on win2k.
Created attachment 16881 [details] test log
Made the tests still more robust against focus/window activation timing problems. All pass for me now, should all pass for you.
the tests passed