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

Afficher le fichier Open project: aqueduct/Appia

Protected Properties

Свойство Type Description
_exportPath string
_websitePath string

Méthodes publiques

Méthode Description
StepDefinitions ( ) : System

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected AssertExportedFileContainsText ( string filePath, string text ) : void
filePath string
text string
Résultat void

AssertFileExistsInDestination() protected méthode

protected AssertFileExistsInDestination ( string filePath ) : void
filePath string
Résultat void

AssertFilesExistInDestination() protected méthode

protected AssertFilesExistInDestination ( string folder, string extension, int number ) : void
folder string
extension string
number int
Résultat void

CreateWebsiteFile() protected méthode

protected CreateWebsiteFile ( string filePath, string contents ) : void
filePath string
contents string
Résultat void

CreateWebsiteFiles() protected méthode

protected CreateWebsiteFiles ( string folder, string extension, int number ) : void
folder string
extension string
number int
Résultat void

StepDefinitions() public méthode

public StepDefinitions ( ) : System
Résultat System

Property Details

_exportPath protected_oe property

protected string _exportPath
Résultat string

_websitePath protected_oe property

protected string _websitePath
Résultat string