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

Summary: Test of PasteAction
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: ActionsAssignee: Jaroslav Tulach <jtulach>
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 27868    

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.