C# Class InternalHelper.Tests.TestNode

显示文件 Open project: geeksree/cSharpGeeks Class Usage Examples

Public Properties

Property Type Description
Attribute Microsoft.Test.UIAutomation.TestManager.TestCaseAttribute
ControlPath string
Document System.Xml.XmlDocument
IsClientSideProvider string
Message string
MethodName string
Step int
VerificationMethod string

Public Methods

Method Description
AddAttributes ( XmlElement node, string attributes ) : void

Add an attribute collection to an XML node

AddAttributes ( XmlElement node, string attributes, bool append ) : void

Add an attribute collection to an XML node

GetBugNode ( XmlElement &xmlNode ) : bool
GetFailedStepNode ( XmlElement &xmlNode ) : bool
GetIssueNode ( XmlElement &xmlNode ) : bool
GetReproNode ( XmlElement &xmlNode ) : bool
GetStepNode ( XmlElement &xmlTestNode ) : bool
GetTestNode ( XmlElement &xmlNode ) : bool
TestNode ( XmlDocument document, int step, string methodName, bool isClientSideProvider ) : System
TestNode ( XmlDocument document, int step, string message, string methodName, bool isClientSideProvider, TestCaseAttribute testCaseAttribute, string verificationMethod, string controlPath ) : System

Private Methods

Method Description
AddNode ( XmlElement parent, string name, string value, string attributes ) : bool

Add a node under an XML parented node

AddNode ( XmlElement parent, string name, string value, string attributes, XmlElement &newNode ) : bool

Add a node under an XML parented node

GetNode ( XmlElement parent, string name, string value, string attributes, XmlElement &newNode ) : bool

Gets the node. If it is adding a new node, return true.

GetNode ( XmlElement parent, string name, string value, string attributes ) : void

Gets the node. If it is adding a new node, return true.

XMLFixUP ( string str ) : string

Remove unwanted and unexceptable chars in an XML node value string

Method Details

AddAttributes() public method

Add an attribute collection to an XML node
public AddAttributes ( XmlElement node, string attributes ) : void
node System.Xml.XmlElement
attributes string
return void

AddAttributes() public method

Add an attribute collection to an XML node
public AddAttributes ( XmlElement node, string attributes, bool append ) : void
node System.Xml.XmlElement
attributes string
append bool
return void

GetBugNode() public method

public GetBugNode ( XmlElement &xmlNode ) : bool
xmlNode System.Xml.XmlElement
return bool

GetFailedStepNode() public method

public GetFailedStepNode ( XmlElement &xmlNode ) : bool
xmlNode System.Xml.XmlElement
return bool

GetIssueNode() public method

public GetIssueNode ( XmlElement &xmlNode ) : bool
xmlNode System.Xml.XmlElement
return bool

GetReproNode() public method

public GetReproNode ( XmlElement &xmlNode ) : bool
xmlNode System.Xml.XmlElement
return bool

GetStepNode() public method

public GetStepNode ( XmlElement &xmlTestNode ) : bool
xmlTestNode System.Xml.XmlElement
return bool

GetTestNode() public method

public GetTestNode ( XmlElement &xmlNode ) : bool
xmlNode System.Xml.XmlElement
return bool

TestNode() public method

public TestNode ( XmlDocument document, int step, string methodName, bool isClientSideProvider ) : System
document System.Xml.XmlDocument
step int
methodName string
isClientSideProvider bool
return System

TestNode() public method

public TestNode ( XmlDocument document, int step, string message, string methodName, bool isClientSideProvider, TestCaseAttribute testCaseAttribute, string verificationMethod, string controlPath ) : System
document System.Xml.XmlDocument
step int
message string
methodName string
isClientSideProvider bool
testCaseAttribute Microsoft.Test.UIAutomation.TestManager.TestCaseAttribute
verificationMethod string
controlPath string
return System

Property Details

Attribute public_oe property

public TestCaseAttribute,Microsoft.Test.UIAutomation.TestManager Attribute
return Microsoft.Test.UIAutomation.TestManager.TestCaseAttribute

ControlPath public_oe property

public string ControlPath
return string

Document public_oe property

public XmlDocument,System.Xml Document
return System.Xml.XmlDocument

IsClientSideProvider public_oe property

public string IsClientSideProvider
return string

Message public_oe property

public string Message
return string

MethodName public_oe property

public string MethodName
return string

Step public_oe property

public int Step
return int

VerificationMethod public_oe property

public string VerificationMethod
return string