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 89319 - automated tests are affected by overridden method: getComponents() in ProfileEditorPanel.java.
Summary: automated tests are affected by overridden method: getComponents() in Profile...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks: 89517
  Show dependency tree
 
Reported: 2006-11-14 19:26 UTC by _ hlu
Modified: 2007-01-20 01:16 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 _ hlu 2006-11-14 19:26:01 UTC
In ProfileEditorPanel.java there is overridden method getComponents:

    public JComponent[] getComponents() {
        return new JComponent[] {};
    }

Naturally it returns no sub components because Jemmy uses this method to
traverse the hierarchy.
Comment 1 Alexander Kouznetsov 2006-11-15 09:32:13 UTC
Since getComponents() returns empty array it is impossible for Jemmy to access the subcomponents of the ProfileEditorPanel. This blocks QE activities.
Comment 2 Peter Liu 2006-12-07 02:12:30 UTC
Instead of overriding getComponents(), the editor panels now implement
EditorDialogDescriptor.Panel interface which has a single method called
getEditableComponents().