alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

This is a test script for actions in the workbench.

File Actions ..
	Invoke File New .. projects, items, other.
	Invoke Toolbar button for File New .. projects, items, other.
	Verify close and save action enablement with 
		- no editors open
		- one editor
		- one dirty editor
		- after revert
		- two editors
		- two dirty editors
		- after close all
	Verify actions when switching between perspectives ( one with dirty 
		editor, other without ).
	Verify after all perspectives closed.
	Open many editors, close all, test MRU list.
	Open an editor and try to print the contents.
	
Edit Actions ..
	Verify global actions track global part.
	Verify editor contributions appear in action bars when is opened.
	Verify editors of same type reuse contributions.
	Verify editors of different type cause contribution change.
	Verify editor contributions are removed when editor is closed.
	Verify edit actions are consistent when switching between perspectives.

Perspective Actions (on the Window menu) ..
	Open = always enabled
	Verify other actions only enabled when a perspective is open.
	Verify "open new window", "open perspective"
	Verify "Save As" by modifying current persp, save as, close, reopen.
	Verify "Reset" by modifying current persp, then reset.
	Test Workbench/Perspectives preference page.

The next two have been removed from the Window menu (bug 63827), but can
still be tested by assigning a key binding.
	Hide Editors, Show Editors
	Hide Editors, Open new editor, verify implicit show editors.

Action Sets (on Window -> Customize Perspective -> Shortcuts) ..
	Confirm order is consistent.  Add all actions, record order, 
		then remove and re-add.  Select action sets to verify order.
	Test Customization of File New, Perspective Open, and Show View.
	Confirm editor actions have consistent place ..
		- start with no editors
		- show x action sets
		- open editor, verify editor actions after sets
		- hide x action sets
		- show x action sets
	Verify action set order persisted between sessions.
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.