C# Class Aqueduct.Appia.Host.Specs.StepDefinitions

ファイルを表示 Open project: aqueduct/Appia

Protected Properties

Property Type Description
_exportPath string
_websitePath string

Public Methods

Method Description
StepDefinitions ( ) : System

Protected Methods

Method Description
AssertExportedFileContainsText ( string filePath, string text ) : void
AssertFileExistsInDestination ( string filePath ) : void
AssertFilesExistInDestination ( string folder, string extension, int number ) : void
CreateWebsiteFile ( string filePath, string contents ) : void
CreateWebsiteFiles ( string folder, string extension, int number ) : void

Private Methods

Method Description
Cleanup ( ) : void
GivenANewHtmlExporter ( ) : void
GivenIHave4CshtmlFilesInThePagesFolder ( ) : void
GivenIHaveAnExportFolderAlreadyContaining2Files ( ) : void
GivenIHaveCssFolderWith3Files ( ) : void
GivenIHaveJsFolderWith3Files ( ) : void
GivenIHavePagePage_With_Layout_Cshtml ( ) : void
GivenIHavePagePage_With_Partial_Cshtml ( string filename ) : void
GivenIHaveStaticFileStatic_Txt ( ) : void
GivenItUsesLayoutLayout_Cshtml ( ) : void
GivenItUsesPartialPartial_Cshtml ( string filename ) : void
InitialiseFolders ( ) : void
Setup ( ) : void
ThenANewEmptyExportFolderIsCreatedInPlaceOfTheOldOne ( ) : void
ThenAnExportFolderIsCreated ( ) : void
ThenIHave4HtmlFilesInTheExportDirectory ( ) : void
ThenIHaveCssFolderWith3FilesInTheExportFolder ( ) : void
ThenIHaveFileStatic_TxtInTheExportFolder ( ) : void
ThenIHaveHtmlPagePage_With_Layout_Html ( ) : void
ThenIHaveJsFolderWith3FilesInTheExportFolder ( ) : void
ThenPage_With_Layout_HtmlContainsHtmlContentFromLayoutLayout_Cshtml ( ) : void
ThenPage_With_Layout_HtmlContainsHtmlContentFromPagePage_With_Layout_Cshtml ( ) : void
ThenPage_With_Partial_HtmlContainsHtmlContentFromPagePage_With_Partial_Cshtml ( string filename ) : void
ThenPage_With_Partial_HtmlContainsHtmlContentFromPartialPartial_Cshtml ( string filename ) : void
WhenIExport ( ) : void
WhenIInitialiseTheExporter ( ) : void

Method Details

AssertExportedFileContainsText() protected method

protected AssertExportedFileContainsText ( string filePath, string text ) : void
filePath string
text string
return void

AssertFileExistsInDestination() protected method

protected AssertFileExistsInDestination ( string filePath ) : void
filePath string
return void

AssertFilesExistInDestination() protected method

protected AssertFilesExistInDestination ( string folder, string extension, int number ) : void
folder string
extension string
number int
return void

CreateWebsiteFile() protected method

protected CreateWebsiteFile ( string filePath, string contents ) : void
filePath string
contents string
return void

CreateWebsiteFiles() protected method

protected CreateWebsiteFiles ( string folder, string extension, int number ) : void
folder string
extension string
number int
return void

StepDefinitions() public method

public StepDefinitions ( ) : System
return System

Property Details

_exportPath protected_oe property

protected string _exportPath
return string

_websitePath protected_oe property

protected string _websitePath
return string