NAME

CQCC::TriggerTest - Test utilities class


CLASS DESCRIPTION

This class is used to support testing operations such as trigger installation, uninstallation, and installation confirmation.

SUPPORT POLICY: See TriggerCQCC.pm for the Rational Support Policy.


METHODS

MenuBuild()
This method is currently used to dummy out the main menu. It may later be modified to provide an interactive menu for this class.

new CQCC::TriggerTest()
This method makes a new instance of the TriggerTest class. It can be invoked from the command line, for example:
   cqcc_launch CQCC/Config.pl -p TriggerInterface,CQCC::TriggerTest
      =op installTriggers

Op_delChangeSet()
This method removes one or more specific change sets from a given list of associations. It expects an argument list of the format vob_pathname,extended_pathname,``defects list''

If the arguments are not provided they will be prompted for. If vob_pathname is ``'' then only the pathname will be used - this is only supported by CQPerlAPI as CQWeb will not be able to do the deletion without the matching object ids.

Note: Assumes the caller is INSIDE the target vob within a valid view. More enhancements possible later.

Op_installTriggers(pcPath,unixPath,required,entity,options)
This method installs the full set of triggers needed to fire the integration from a ClearCase vob. It does the following

1) If CrmRequest hyperlink type does not exist then create it

2) (later) If trigger already exists, remove it and recreate it

3) Install the triggers for both postop and preop operations

Note: Assumes the caller is INSIDE the target vob within a valid view. More enhancements possible later.

Op_uninstallTriggers(vob)
This method uninstalls the full set of triggers used to fire the integration from a ClearCase vob.

Note: Assumes the caller is INSIDE the target vob within a valid view. More enhancements possible later.

Op_showTriggers()
This method shows information on the current vob's triggers

Note: Assumes the caller is INSIDE the target vob within a valid view. More enhancements possible later.

ccPostCommand($cmd)
This method prints the command for easier debugging and posts the given command to the clearcase channel.