UnitTest Element (Lux Extension)

Windows Installer XML

UnitTest Element (Lux Extension)

Description
Describes a unit test to be executed against a particular custom action, resulting in a particular property value. Single-value properties, multi-value properties, and name/value-pair properties can all be tested declaratively.
Windows Installer references
None
Parents
Fragment, Mutation, UnitTest
Inner Text
None
Children
Choice of elements (min: 0, max: unbounded)
Attributes
Name Type Description Required
CustomAction String Identifier of the custom action to be tested.  
Id String Identifier of the unit test. If you omit this attribute, a stable identifier is generated for you.  
Index String A formatted string that evaluates to either an integer index into a multi-value property or a string name of a name/value-pair multi-value property.  
NameValueSeparator String One character that is used to separate values in a name/value-pair multi-value property.  
Operator Enumeration The operator to apply to the property and value. Default is "equal." This attribute's value must be one of the following:
equal
(Default) Compares Property to Value and succeeds if they are equal.
notEqual
Compares Property to Value and succeeds if they are NOT equal.
caseInsensitiveEqual
Compares Property to Value and succeeds if they are equal (ignoring case).
caseInsensitiveNotEqual
Compares Property to Value and succeeds if they are NOT equal (ignoring case).
 
Property String Name of the property set by the custom action.  
Value String The value to compare to the property.  
ValueSeparator String One character that is used to separate values in a multi-value property.  
See Also
Lux Schema