Partager via


Tip Class

Represents the default implementation of a test item provider that must be implemented for each type of test.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Common.Tip

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public MustInherit Class Tip _
    Implements ITip, IDisposable
public abstract class Tip : ITip, 
    IDisposable
public ref class Tip abstract : ITip, 
    IDisposable
[<AbstractClass>]
type Tip =  
    class 
        interface ITip 
        interface IDisposable 
    end
public abstract class Tip implements ITip, IDisposable

The Tip type exposes the following members.

Constructors

  Name Description
Protected method Tip Initializes an instance of the Tip class.

Top

Properties

  Name Description
Public property TestType Gets a TestType object that identifies the type of test.

Top

Methods

  Name Description
Public method BeforeRemoveTestRun Does nothing by default.
Public method Dispose Requires no description.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Load Loads elements from the specified location into memory.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MergeResults Merges an incoming test result text message into a test result in memory.
Public method Reset Removes all saved data from memory and stops any save operations until the next execution of the Load method.
Public method Save Does nothing by default.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Unload Unloads the current Tip instance from memory by using the provided location string, and records any warnings in the provided warning handler.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

ITip