house fly

JSwat Project

Testing Actions


File menu

Open File...

File open dialog appears.

About...

About dialog appears.

Exit

When selected, the window should close and the program may exit.

View menu

Refresh

Causes panels to update their contents.

Debug menu

List running VMs

Prints a list of available JVM connectors to the message log.

Attach to remote...

Shows dialog for inputting hostname and port number of debuggee VM to attach to.

Start VM...

Shows a dialog asking for class name and arguments, with optional debuggee VM options. In addition, the "Java Home" and "JVM Executable" fields are available.

End session

Deactivates the current session.

Terminate VM

Deactivates the current session, terminating debuggee VM.

Suspend

Suspends the debuggee VM.

Resume

Resumes the suspended debuggee VM.

Breakpoints

Shows dialog containing all defined breakpoints, along with buttons for managing those breakpoints. See breakpoints checklist for more information. At a minimum, there are the following test cases.

Set breakpoint...

Shows dialog asking for class name and line number at which to set breakpoint.

Step menu

Step Line

Single-steps a source line; steps into method calls.

Step Instruction

Single-steps an instruction; steps into method calls.

Next Line

Single-steps a source line; steps over method calls.

Next Instruction

Single-steps an instruction; steps over method calls.

Finish Method

Finishes the current method and returns to the line following the one that called this method.

Search menu

Find...

Displays dialog asking for term to look for in currently selected source file. Option to perform case insensitive comparison.

Find Next

Attempts to repeat the last search performed by the "Find..." action. If no previous search was made, displays the dialog described above.

Options menu

Set Classpath...

Displays dialog allowing the user to modify the classpath. The dialog contains a list in which each entry is a part of the classpath. The list entries and be moved forward and backward in the overall classpath.

Set Sourcepath...

Displays dialog allowing the user to modify the sourcepath. The dialog contains a list in which each entry is a part of the sourcepath. The list entries and be moved forward and backward in the overall sourcepath.

Capture Messages...

Displays dialog asking user where to capture messages to. Options include sending messages to "stdout" and/or to a named file.

Define Macro...

Shows dialog asking user to input macro name and commands to associate with the given macro name.

Preferences...

Shows a dialog with numerous options that can be enabled and values that can be set for the program. Use the following preferences checklist to test this dialog. At a minimum, there are the following test cases.

Look & Feel

Displays submenu of available JFC "look & feel" options.

Windows menu

Minimize All

Causes all of the opened source view windows to become iconified (i.e. minimized). When no source windows are opened, does nothing.

Maximize All

Causes all of the opened source view windows to become deiconified (i.e. maximized). When no source windows are opened, does nothing.

Window list

This is not a menu item per se but rather a special feature of the Windows menu. As source views are opened their name is added to the Windows menu. When source views are closed, their entry in the menu is subsequently removed.



Back