C# 클래스 Aqueduct.Appia.Host.Specs.StepDefinitions

파일 보기 프로젝트 열기: aqueduct/Appia

보호된 프로퍼티들

프로퍼티 타입 설명
_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