maeAddFaultsToFaultGroup
maeAddFaultsToFaultGroup(
[ ?session t_sessionName ]
[ ?faultsName l_faultsName ]
[ ?faultGroupsName l_faultGroupsName ]
)
=> t / nil
Description
Adds the given faults to one or more fault groups.
Arguments
|
?session t_sessionName
|
|
|
Name of a session.
Default: Current session
|
|
?faultsName l_faultsName
|
|
|
A list containing the names of the fault rules to be added to the groups.
|
|
?faultGroupsName l_faultGroupsName
|
|
|
A list containing the names of the fault groups to which the given faults are to be added.
If no group is found with the given name, a new group is created.
|
Value Returned
|
t
|
Faults are successfully added to the groups.
|
|
nil
|
If the given fault rule is not found in the setup.
|
Example
The following example shows how to add the fault rules RB1 and rule2 to the fault group named Group1:
maeAddFaultsToFaultGroup(?faultsName '("RB1" "rule2") ?faultGroupsName '("Group1"))
=>
Related Topics
Injecting Faults in a Design
Creating Fault Groups
maeCreateOrRenameFaultGroup
Return to top