C# 클래스 ApprovalTests.Reporters.GenericDiffReporter

상속: IEnvironmentAwareReporter
파일 보기 프로젝트 열기: approvals/ApprovalTests.Net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
actualDiffProgram string
arguments string
diffProgramNotFoundMessage string
fileTypes Func>
originalDiffProgram string

공개 메소드들

메소드 설명
EnsureFileExists ( string approved ) : void
GenericDiffReporter ( string diffProgram, string diffProgramNotFoundMessage ) : System
GenericDiffReporter ( string diffProgram, string argumentsFormat, string diffProgramNotFoundMessage ) : System
GenericDiffReporter ( string diffProgram, string argumentsFormat, string diffProgramNotFoundMessage, Func allowedFileTypes ) : System
GetActualProgramFile ( string fullPath ) : string
GetDiffProgram ( ) : string
GetImageFileTypes ( ) : HashSet
GetLaunchArguments ( string approved, string received ) : ApprovalTests.Reporters.LaunchArgs
GetTextFileTypes ( ) : HashSet
IsFileOneOf ( string forFile, IEnumerable filetypes ) : bool
IsTextFile ( string forFile ) : bool
IsValidFileType ( string forFile ) : bool
IsWorkingInThisEnvironment ( string forFile ) : bool
LaunchAsync ( ApprovalTests.Reporters.LaunchArgs launchArgs ) : void
RegisterImageFileTypes ( ) : void
RegisterTextFileTypes ( ) : void
Report ( string approved, string received ) : void

보호된 메소드들

메소드 설명
GenericDiffReporter ( DiffInfo info ) : System

비공개 메소드들

메소드 설명
AssertDots ( string extensionsWithDots ) : void
IsMsTest ( ) : bool
Launch ( ApprovalTests.Reporters.LaunchArgs launchArgs, bool waitForExit ) : void

메소드 상세

EnsureFileExists() 공개 정적인 메소드

public static EnsureFileExists ( string approved ) : void
approved string
리턴 void

GenericDiffReporter() 보호된 메소드

protected GenericDiffReporter ( DiffInfo info ) : System
info DiffInfo
리턴 System

GenericDiffReporter() 공개 메소드

public GenericDiffReporter ( string diffProgram, string diffProgramNotFoundMessage ) : System
diffProgram string
diffProgramNotFoundMessage string
리턴 System

GenericDiffReporter() 공개 메소드

public GenericDiffReporter ( string diffProgram, string argumentsFormat, string diffProgramNotFoundMessage ) : System
diffProgram string
argumentsFormat string
diffProgramNotFoundMessage string
리턴 System

GenericDiffReporter() 공개 메소드

public GenericDiffReporter ( string diffProgram, string argumentsFormat, string diffProgramNotFoundMessage, Func allowedFileTypes ) : System
diffProgram string
argumentsFormat string
diffProgramNotFoundMessage string
allowedFileTypes Func
리턴 System

GetActualProgramFile() 공개 정적인 메소드

public static GetActualProgramFile ( string fullPath ) : string
fullPath string
리턴 string

GetDiffProgram() 공개 메소드

public GetDiffProgram ( ) : string
리턴 string

GetImageFileTypes() 공개 정적인 메소드

public static GetImageFileTypes ( ) : HashSet
리턴 HashSet

GetLaunchArguments() 공개 메소드

public GetLaunchArguments ( string approved, string received ) : ApprovalTests.Reporters.LaunchArgs
approved string
received string
리턴 ApprovalTests.Reporters.LaunchArgs

GetTextFileTypes() 공개 정적인 메소드

public static GetTextFileTypes ( ) : HashSet
리턴 HashSet

IsFileOneOf() 공개 정적인 메소드

public static IsFileOneOf ( string forFile, IEnumerable filetypes ) : bool
forFile string
filetypes IEnumerable
리턴 bool

IsTextFile() 공개 정적인 메소드

public static IsTextFile ( string forFile ) : bool
forFile string
리턴 bool

IsValidFileType() 공개 메소드

public IsValidFileType ( string forFile ) : bool
forFile string
리턴 bool

IsWorkingInThisEnvironment() 공개 메소드

public IsWorkingInThisEnvironment ( string forFile ) : bool
forFile string
리턴 bool

LaunchAsync() 공개 정적인 메소드

public static LaunchAsync ( ApprovalTests.Reporters.LaunchArgs launchArgs ) : void
launchArgs ApprovalTests.Reporters.LaunchArgs
리턴 void

RegisterImageFileTypes() 공개 정적인 메소드

public static RegisterImageFileTypes ( ) : void
리턴 void

RegisterTextFileTypes() 공개 정적인 메소드

public static RegisterTextFileTypes ( ) : void
리턴 void

Report() 공개 메소드

public Report ( string approved, string received ) : void
approved string
received string
리턴 void

프로퍼티 상세

actualDiffProgram 보호되어 있는 프로퍼티

protected string actualDiffProgram
리턴 string

arguments 보호되어 있는 프로퍼티

protected string arguments
리턴 string

diffProgramNotFoundMessage 보호되어 있는 프로퍼티

protected string diffProgramNotFoundMessage
리턴 string

fileTypes 보호되어 있는 프로퍼티

protected Func> fileTypes
리턴 Func>

originalDiffProgram 보호되어 있는 프로퍼티

protected string originalDiffProgram
리턴 string