cm.test.cmunit.testInstructions

class CopyInstruction

Performs the default copy action (same as pressing ctrl+c).

class CutInstruction

Performs the default cut action (same as pressing ctrl+x).

class PasteInstruction

Performs the default paste action (same as pressing ctrl+v).

class PasteSelectionInstruction

Performs the default paste selection action, aka "animate" (same as pressing 'a').

class ToggleFreezeInstruction

Performs the default toggle freeze/unfreeze action (same as pressing ctrl+e). This replaces the previous FreezeSnappersInstruction and UnfreezeSnappersInstruction.

class GetFieldValueInstruction

Looks up the value of a field on an object and writes the result to the blackboard.

class GetSelectionInstruction

Writes the snappers in the active selection to the blackboard. You can choose whether to get all snappers in selection or only the 'main' snapper.

class PutQuickPropInstruction

Sends a quickPropertyChanged(..) event to a snapper. Note that this instruction uses the "old" quick property system. When ever possible, it's recommended to use PutPropInstruction instead.

class SwitchToViewInstruction

A new test instruction that allows switching view to a single 2D view, a single 3D view, a split 2D and 3D view, or the paper view. Additionally it allows specifying which view should be set as the active view in the case that a split view is chosen.

This class replaces the old SwitchToView2DInstruction and SwitchToView3DInstruction, which were more limited.

class ValidateEqualInstruction

Compares two blackboard values and checks that they are equal. Returns an error if they are not.

class ValidateNotEqualInstruction

Compares two blackboard values and checks that they are not equal. Returns an error if they are.