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 46097 - failure in testWriteValues test
Summary: failure in testWriteValues test
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: PC SunOS
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-07-13 14:41 UTC by pzajac
Modified: 2008-12-22 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (1.79 KB, text/plain)
2004-07-13 14:45 UTC, pzajac
Details
exception stacktrace (1.79 KB, text/plain)
2004-07-13 14:47 UTC, pzajac
Details
test log (1.57 KB, text/plain)
2004-08-17 13:41 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-07-13 14:41:14 UTC
[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)
Comment 1 pzajac 2004-07-13 14:45:12 UTC
Created attachment 16224 [details]
exception stacktrace
Comment 2 pzajac 2004-07-13 14:47:14 UTC
Created attachment 16225 [details]
exception stacktrace
Comment 3 _ tboudreau 2004-07-22 01:58:04 UTC
Can't reproduce, and probably obviated in my other test fixes today
Comment 4 pzajac 2004-08-10 10:19:20 UTC
v
Comment 5 pzajac 2004-08-17 13:40:03 UTC
The test fails agaion on win2k. 
Comment 6 pzajac 2004-08-17 13:41:35 UTC
Created attachment 16881 [details]
test log
Comment 7 _ tboudreau 2004-08-17 17:37:13 UTC
Made the tests still more robust against focus/window activation 
timing problems.  All pass for me now, should all pass for you.
Comment 8 pzajac 2004-08-27 12:46:30 UTC
the tests passed