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 28786 - Test of PasteAction
Summary: Test of PasteAction
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jaroslav Tulach
Depends on:
Blocks: 27868
  Show dependency tree
Reported: 2002-11-15 17:27 UTC by Jaroslav Tulach
Modified: 2008-12-22 20:55 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-11-15 17:27:08 UTC
PasteAction is a callback action but it uses
specific presenter to allow the "paste->submenu"
if there are more components. This needs to be tested.

It works as simple callback action with a key
DefaultEditorKit.pasteAction so this needs to be
tested. In addition to this the action checks for
action.getValue ("delegates") that can return
either array of PasteTypes or Actions. The test
needs to check the correct work of the presenter
as well as it updates and react to the changes of
the delegates and enabled state.
Comment 1 Jaroslav Tulach 2002-11-15 18:08:40 UTC
subtask of issue 27868
Comment 2 Jaroslav Tulach 2002-12-09 16:42:16 UTC
Tests written to check value of "delegates" and also to react to
changes in enabled state.