Click or drag to resize

AbstractAssertion Class

Base class of all the assertions.
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Automation.Assertions
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
[XmlIncludeAttribute(typeof(ContainsAssertion))]
[KnownTypeAttribute(typeof(ContainsAssertion))]
[XmlIncludeAttribute(typeof(NotContainsAssertion))]
[KnownTypeAttribute(typeof(NotContainsAssertion))]
[XmlIncludeAttribute(typeof(XPathValidationAssertion))]
[KnownTypeAttribute(typeof(XPathValidationAssertion))]
[XmlIncludeAttribute(typeof(AbstractValueCompareAssertion))]
[KnownTypeAttribute(typeof(AbstractValueCompareAssertion))]
[XmlIncludeAttribute(typeof(SoapFaultAssertion))]
[KnownTypeAttribute(typeof(SoapFaultAssertion))]
public abstract class AbstractAssertion : INotifyPropertyChanged

The AbstractAssertion type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractAssertion
Initializes a new instance of the AbstractAssertion class.
Top
Properties
  NameDescription
Public propertyId
Gets or sets the identifier of the assertion
Public propertyInformation
Gets or sets the information, error message related to the assertion.
Public propertyInformationString
Gets the information in it's String representation.
Public propertyIsDisabled
Gets or sets whether the current test item is disabled.
Public propertyName
Gets or sets the name of the assertion
Public propertyStatus
Gets or sets the Status of the current Assertion.
Top
Methods
  NameDescription
Public methodAssert
Asserts the specified test step. The assertion result is stored in the Status property.
Public methodClone
Clones this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGenerateName
Generates the name of the Assertion.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInternalAssert
Asserts the specified test step.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Notifies the property changed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when some property values has changed.
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also