C# Класс Aqueduct.Appia.Host.Specs.StepDefinitions

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_exportPath string
_websitePath string

Открытые методы

Метод Описание
StepDefinitions ( ) : System

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AssertExportedFileContainsText() защищенный Метод

protected AssertExportedFileContainsText ( string filePath, string text ) : void
filePath string
text string
Результат void

AssertFileExistsInDestination() защищенный Метод

protected AssertFileExistsInDestination ( string filePath ) : void
filePath string
Результат void

AssertFilesExistInDestination() защищенный Метод

protected AssertFilesExistInDestination ( string folder, string extension, int number ) : void
folder string
extension string
number int
Результат void

CreateWebsiteFile() защищенный Метод

protected CreateWebsiteFile ( string filePath, string contents ) : void
filePath string
contents string
Результат void

CreateWebsiteFiles() защищенный Метод

protected CreateWebsiteFiles ( string folder, string extension, int number ) : void
folder string
extension string
number int
Результат void

StepDefinitions() публичный Метод

public StepDefinitions ( ) : System
Результат System

Описание свойств

_exportPath защищенное свойство

protected string _exportPath
Результат string

_websitePath защищенное свойство

protected string _websitePath
Результат string