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 48768 - failure in testClickInvokesCustomEditor
Summary: failure in testClickInvokesCustomEditor
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: TEST
: 50899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-09 13:19 UTC by pzajac
Modified: 2008-12-22 19:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-09-09 13:19:16 UTC
Test Case:  	 testClickInvokesCustomEditor
Test Suite: 
org.openide.explorer.propertysheet. NonEditabilityTest
Module Name: 	openide


testClickInvokesCustomEditor:

      junit.framework.AssertionFailedError: Focus
owner should be custom editor, not
org.openide.explorer.propertysheet.SheetTable[,0,0,188x40,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@b42cbf,flags=251658600,maximumSize=,minimumSize=,preferredSize=,autoCreateColumnsFromModel=false,autoResizeMode=AUTO_RESIZE_NEXT_COLUMN,cellSelectionEnabled=false,editingColumn=-1,editingRow=-1,gridColor=java.awt.Color[r=255,g=255,b=255],preferredViewportSize=java.awt.Dimension[width=450,height=400],rowHeight=20,rowMargin=1,rowSelectionAllowed=true,selectionBackground=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],selectionForeground=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],showHorizontalLines=true,showVerticalLines=true]
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at
org.openide.explorer.propertysheet.NonEditabilityTest.testClickInvokesCustomEditor(NonEditabilityTest.java:116)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
junit.framework.TestCase.runTest(TestCase.java:154)
	at
junit.framework.TestCase.runBare(TestCase.java:127)
Comment 1 _ tboudreau 2004-09-10 13:18:57 UTC
Given that these fail always and only on Solaris, what window manager is used on the test 
machine?
Comment 2 pzajac 2004-09-10 13:37:07 UTC
CDE window manager and jdk 1.5.
Comment 3 pzajac 2004-10-27 13:19:30 UTC
*** Issue 50899 has been marked as a duplicate of this issue. ***
Comment 4 Martin Krauskopf 2005-01-18 10:49:30 UTC
As you wrote in issue 50899 it has been failing on Linux too. I tried
it with 1.5.0_01, Linux, Fluxbox WM and it passed successfully. Reopen
if it will fail again. Tnx
Comment 5 pzajac 2005-02-08 10:09:52 UTC
v