ClassTestBase
Definition
Namespace:ArtOfTest.Common.Design.ProjectModel
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/3.0.0")]
public abstract class TestBase : IExtensibleDataObject, INotifyPropertyChanged, IDataTransport
Inheritance: objectTestBase
Derived Classes:
Implements:
Constructors
TestBase()
Declaration
protected TestBase()
Fields
_testLinks
Declaration
protected ObservableCollection<TestLinkBase> _testLinks
Field Value
Properties
CustomProperty1
Declaration
[DataMember(Name = "CustomProperty1", IsRequired = false, EmitDefaultValue = false)]
public string CustomProperty1 { get; set; }
Property Value
CustomProperty2
Declaration
[DataMember(Name = "CustomProperty2", IsRequired = false, EmitDefaultValue = false)]
public string CustomProperty2 { get; set; }
Property Value
CustomProperty3
Declaration
[DataMember(Name = "CustomProperty3", IsRequired = false, EmitDefaultValue = false)]
public string CustomProperty3 { get; set; }
Property Value
DataEnabled
Gets whether the data is enabled
DataInfo
Gets or sets the data source information if this test is data driven (IsDataDriven=true)
Declaration
[DataMember(Name = "DataInfo")]
[Browsable(false)]
public DataInfo DataInfo { get; set; }
Property Value
Description
Description of this test
Declaration
[DataMember(Name = "Description")]
public string Description { get; set; }
Property Value
FireTestChanged
Flag to indicate whether to fire the test changed event
Id
Declaration
[Browsable(false)]
[DataMember(Name = "Id", IsRequired = false)]
public Guid Id { get; set; }
Property Value
IsDataDriven
Gets whether this test is data driven.
Name
The ID of this test
Owner
Gets or sets the owner of this test case
Declaration
[DataMember(Name = "Owner", IsRequired = false)]
public string Owner { get; set; }
Property Value
Path
The test file path relative to the project.
Declaration
[DataMember(Name = "Path")]
public string Path { get; set; }
Property Value
Priority
Gets or sets the priority of this test case
Declaration
[DataMember(Name = "Priority", IsRequired = false)]
public int Priority { get; set; }
Property Value
Project
Gets the project owned by this test
Declaration
protected virtual Project Project { get; set; }
Property Value
ProjectId
Declaration
[Browsable(false)]
[DataMember(Name = "ProjectId", IsRequired = false)]
public Guid ProjectId { get; set; }
Property Value
TestLinks
Declaration
[Browsable(false)]
[DataMember]
public ObservableCollection<TestLinkBase> TestLinks { get; }
Property Value
TestType
Declaration
[Browsable(false)]
[DataMember(Name = "TestType", IsRequired = false)]
public TestType TestType { get; set; }
Property Value
TestView
Declaration
[Browsable(false)]
protected ITestExplorerView TestView { get; set; }
Property Value
Methods
OnPropertyChanged(string)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
OnTestChanged()
Declaration
protected void OnTestChanged()
SaveResources(bool)
Declaration
public abstract void SaveResources(bool clearResources)
Parameters
clearResources
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements