TextTestResultMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a message that is used by tests to report additional information that the user wants to see in the result.
public ref class TextTestResultMessage : Microsoft::VisualStudio::TestTools::Common::TestResultMessage, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class TextTestResultMessage : Microsoft.VisualStudio.TestTools.Common.TestResultMessage, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type TextTestResultMessage = class
inherit TestResultMessage
interface ISerializable
Public Class TextTestResultMessage
Inherits TestResultMessage
Implements ISerializable
- Inheritance
- Attributes
- Implements
Constructors
TextTestResultMessage(Guid, ITestElement, String) |
Initializes a new instance of the TextTestResultMessage class by using the ID of the test run, the test element, and the message. |
TextTestResultMessage(SerializationInfo, StreamingContext) |
Initializes a new instance of the TextTestResultMessage class from serialized XML data by using the provided serialization information and the streaming context. |
Fields
m_duration |
Returns the value of the Duration property. (Inherited from TestResultMessage) |
m_endTime |
Returns the value of the EndTime property. (Inherited from TestResultMessage) |
m_exception |
Returns the value of the SystemException property. (Inherited from TestResultMessage) |
m_id |
Returns the value of the Microsoft.VisualStudio.TestTools.Common.TestResultMessage.ID property. (Inherited from TestResultMessage) |
m_messageKind |
Returns the value of the MessageKind property. (Inherited from TestResultMessage) |
m_spoolMessage |
Returns the value of the SpoolMessage property. (Inherited from TestResultMessage) |
m_startTime |
Returns the value of the StartTime property. (Inherited from TestResultMessage) |
m_testName |
Returns the value of the TestName property. (Inherited from TestResultMessage) |
m_testType |
Returns the value of the TestType property. (Inherited from TestResultMessage) |
Properties
ComputerName |
Gets the name of the computer that executed the associated test run or test. (Inherited from TestResultMessage) |
DisplayText |
Gets the text to display in the user interface of Visual Studio Application Lifecycle Management (ALM). (Inherited from TestResultMessage) |
Duration |
Gets or sets the time that was spent to execute the associated test or test run. (Inherited from TestResultMessage) |
EndTime |
Gets or sets the time that the execution ended. (Inherited from TestResultMessage) |
Id |
Gets or sets the ID for this test result message. (Inherited from TestResultMessage) |
IsRunLevel |
Gets a value that indicates whether this result is for a test run and not for a test. (Inherited from TestResultMessage) |
LongText |
Gets the value of the DisplayText property. (Inherited from TestResultMessage) |
MessageKind |
Gets or sets the kind of test result message for this associated test result message. (Inherited from TestResultMessage) |
SpoolMessage |
Gets or sets a value that determines whether this message will be spooled into the persisted test results. (Inherited from TestResultMessage) |
StartTime |
Gets or sets the time that the associated test run or test started. (Inherited from TestResultMessage) |
Storage |
Gets or sets the relative path of a folder where all files that are associated with the test are stored on the server. (Inherited from TestResultMessage) |
SystemException |
Gets or sets the most recent exception that was encountered during the associated test run or test. (Inherited from TestResultMessage) |
TestName |
Gets or sets the name of the associated test. (Inherited from TestResultMessage) |
TestType |
Gets or sets the type for the associated test. (Inherited from TestResultMessage) |
Text |
Gets the text that is associated with the test. |
VisibleProperties |
Gets a collection of the properties in this test result message that will be visible in the user interface of Visual Studio Application Lifecycle Management (ALM). (Inherited from TestResultMessage) |
Methods
Clone() |
Returns a deep copy of this test result message. (Inherited from TestResultMessage) |
Equals(Object) |
Determines whether the provided object is equal to the current object. (Inherited from TestResultMessage) |
GetHashCode() | (Inherited from TestResultMessage) |
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data that is required to serialize the target object. |
IsValid() |
Determines whether this test result message is valid. (Inherited from TestResultMessage) |
Load(XmlElement, XmlTestStoreParameters) |
Loads an instance of this class from the provided XML element by using the provided XML store parameters. (Inherited from TestResultMessage) |
Save(XmlElement, XmlTestStoreParameters) |
Saves this object in the provided XML element. (Inherited from TestResultMessage) |
ToString() |
Returns a string representation of the test result message. |