C# Class StoryTeller.Persistence.TestReader

Inheritance: ITestReader, ITestFileReader
Mostrar archivo Open project: DarthFubuMVC/storyteller Class Usage Examples

Public Methods

Method Description
CreateTest ( INode element, ITestPartCollection parts ) : System.Test
ReadFromFile ( string fileName ) : System.Test
ReadFromJson ( string json ) : System.Test
ReadPart ( INode node ) : ITestPart
ReadPart ( XmlElement element ) : ITestPart
ReadSection ( INode element ) : Section
ReadSection ( XmlElement element ) : Section
ReadTest ( INode element ) : System.Test
ReadTest ( Newtonsoft.Json.Linq.JObject jObject ) : System.Test
ReadTest ( XmlElement element ) : System.Test

Private Methods

Method Description
addChildSteps ( IStep parent, INode sectionNode ) : void
buildComment ( INode node ) : ITestPart
buildStep ( INode node ) : ITestPart
buildTags ( INode node ) : ITestPart
readAttemptNumber ( System.Test test, INode element ) : void
readFromChildNode ( INode node, System.Test test ) : void
readLifecycle ( System.Test test, INode element ) : void

Method Details

CreateTest() public static method

public static CreateTest ( INode element, ITestPartCollection parts ) : System.Test
element INode
parts ITestPartCollection
return System.Test

ReadFromFile() public method

public ReadFromFile ( string fileName ) : System.Test
fileName string
return System.Test

ReadFromJson() public method

public ReadFromJson ( string json ) : System.Test
json string
return System.Test

ReadPart() public method

public ReadPart ( INode node ) : ITestPart
node INode
return ITestPart

ReadPart() public method

public ReadPart ( XmlElement element ) : ITestPart
element System.Xml.XmlElement
return ITestPart

ReadSection() public method

public ReadSection ( INode element ) : Section
element INode
return Section

ReadSection() public method

public ReadSection ( XmlElement element ) : Section
element System.Xml.XmlElement
return Section

ReadTest() public method

public ReadTest ( INode element ) : System.Test
element INode
return System.Test

ReadTest() public method

public ReadTest ( Newtonsoft.Json.Linq.JObject jObject ) : System.Test
jObject Newtonsoft.Json.Linq.JObject
return System.Test

ReadTest() public method

public ReadTest ( XmlElement element ) : System.Test
element System.Xml.XmlElement
return System.Test