次の方法で共有


BaseTuip Class

Provides a base class for a test user interface (UI) package that is used to interface between Visual Studio and a custom test type.

This API is not CLS-compliant. The CLS-compliant alternative is [None].

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Vsip.BaseTuip

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

Syntax

'宣言
<CLSCompliantAttribute(False)> _
Public MustInherit Class BaseTuip _
    Implements ITuip
[CLSCompliantAttribute(false)]
public abstract class BaseTuip : ITuip
[CLSCompliantAttribute(false)]
public ref class BaseTuip abstract : ITuip
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type BaseTuip =  
    class
        interface ITuip
    end
public abstract class BaseTuip implements ITuip

The BaseTuip type exposes the following members.

Constructors

  Name Description
Protected method BaseTuip Initializes a new instance of the BaseTuip class by using the provided service provider that is specific to the desired test type.

Top

Properties

  Name Description
Public property RunConfigurationEditor When overridden in a derived class, returns a custom editor for a custom test type.
Protected property ServiceProvider Returns the service provider.

Top

Methods

  Name Description
Public method CloseResultViewer When overridden in a derived class, closes the viewer for the provided custom result.
Protected method DeleteAllTestsFromList When overridden in a derived class, removes all tests from the provided list that match the provided filter Type.
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.)
Protected method GetFirstUIBlob Returns the first UIBlob in the provided test element.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InvokeEditor Launches the registered editor for the provided UIBlob.
Public method InvokeResultViewer When overridden in a derived class, starts the viewer that is registered for the provided test result message.
Public method IsTestPropertiesReadOnly Returns a value that indicates whether the properties in the provided test element are read-only.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateTestCustomProperty Updates the value of a custom property by using the provided test element.
Public method UpdateTestProperty Sets the value of the specified property in the provided test element.

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.Vsip Namespace

ITuip