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 38545

Summary: Clean up property sheet unit tests
Product: platform Reporter: _ tboudreau <tboudreau>
Component: ExplorerAssignee: _ tboudreau <tboudreau>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 38036, 38115, 38116, 38205, 38418, 38419    

Description _ tboudreau 2004-01-08 14:33:39 UTC
Since the property sheet unit tests were written
as development of the rewrite progressed, they
have a couple problems:
 - Lots of duplicated code for setting properties
and sending events
 - Lots of scheduling stuff into the EQ

Jesse has enhanced the base test class to be able
to simply run it in the EQ, so these can be
simplified a lot, and the basic stuff put into
some common base class.

Also, some tests have platform-specific failures -
 in particular, tests of whether a dialog was
opened or not depend on that dialog getting focus,
which it may not on some window managers
(SawFish).  The current plan is to add an
initialization test using a simple frame and
dialog to determine what the focus behavior of the
system in question is.  If that test fails, none
of the focus-dependent tests will be run.  This
should clean up the intermittent failures.
Comment 1 _ tboudreau 2004-09-01 23:17:01 UTC
About as good as it's going to get.