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 - Clean up property sheet unit tests
Summary: Clean up property sheet unit tests
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks: 38036 38115 38116 38205 38418 38419
  Show dependency tree
 
Reported: 2004-01-08 14:33 UTC by _ tboudreau
Modified: 2008-12-22 23:43 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.