Condition.AssertIsTrue Method

Marks the target state of the enclosing rule as an error state if a condition is not true.


Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

'Usage

Parameters

condition

true to signify the target state is not an error state; otherwise, false.

Use this method to identify errors in the model. Spec Explorer cannot construct test cases from a behavior that contains error states.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

 



Community Additions

ADD
Show: