C# Class StoryTeller.Testing.JavaScript.JavaScriptTestFile

Inheritance: HtmlTags.HtmlDocument
Show file Open project: adymitruk/storyteller Class Usage Examples

Protected Properties

Property Type Description
_library StoryTeller.Model.FixtureLibrary

Public Methods

Method Description
AddTest ( string name, System.Test test ) : JavaScriptTestFile
Fixtures ( Action configure ) : JavaScriptTestFile
Fixtures ( FixtureLibrary fixtureLibrary ) : JavaScriptTestFile
GetResourceFileContents ( string resourceName ) : string
Html ( Action configure ) : JavaScriptTestFile
JavaScriptTestFile ( string title ) : System
TestFile ( string testFile ) : JavaScriptTestFile
WriteToFile ( ) : void

Protected Methods

Method Description
addChildren ( string title ) : void
getPath ( ) : string
referenceFiles ( ) : void

Private Methods

Method Description
linkToAllScripts ( string folder ) : void

Method Details

AddTest() public method

public AddTest ( string name, System.Test test ) : JavaScriptTestFile
name string
test System.Test
return JavaScriptTestFile

Fixtures() public method

public Fixtures ( Action configure ) : JavaScriptTestFile
configure Action
return JavaScriptTestFile

Fixtures() public method

public Fixtures ( FixtureLibrary fixtureLibrary ) : JavaScriptTestFile
fixtureLibrary StoryTeller.Model.FixtureLibrary
return JavaScriptTestFile

GetResourceFileContents() public static method

public static GetResourceFileContents ( string resourceName ) : string
resourceName string
return string

Html() public method

public Html ( Action configure ) : JavaScriptTestFile
configure Action
return JavaScriptTestFile

JavaScriptTestFile() public method

public JavaScriptTestFile ( string title ) : System
title string
return System

TestFile() public method

public TestFile ( string testFile ) : JavaScriptTestFile
testFile string
return JavaScriptTestFile

WriteToFile() public method

public WriteToFile ( ) : void
return void

addChildren() protected method

protected addChildren ( string title ) : void
title string
return void

getPath() protected method

protected getPath ( ) : string
return string

referenceFiles() protected method

protected referenceFiles ( ) : void
return void

Property Details

_library protected property

protected FixtureLibrary,StoryTeller.Model _library
return StoryTeller.Model.FixtureLibrary