C# Class ApprovalTests.Reporters.AssertReporter

Inheritance: IEnvironmentAwareReporter
Mostra file Open project: approvals/ApprovalTests.Net

Protected Properties

Property Type Description
areEqual string

Public Methods

Method Description
AssertEqual ( string approvedContent, string receivedContent ) : void
AssertFileContents ( string approved, string received ) : void
AssertReporter ( string assertClass, string areEqual, string frameworkAttribute ) : ApprovalTests.Core
IsFrameworkUsed ( ) : bool
IsWorkingInThisEnvironment ( string forFile ) : bool
Report ( string approved, string received ) : void

Protected Methods

Method Description
InvokeEqualsMethod ( Type type, string parameters ) : void

Method Details

AssertEqual() public method

public AssertEqual ( string approvedContent, string receivedContent ) : void
approvedContent string
receivedContent string
return void

AssertFileContents() public method

public AssertFileContents ( string approved, string received ) : void
approved string
received string
return void

AssertReporter() public method

public AssertReporter ( string assertClass, string areEqual, string frameworkAttribute ) : ApprovalTests.Core
assertClass string
areEqual string
frameworkAttribute string
return ApprovalTests.Core

InvokeEqualsMethod() protected method

protected InvokeEqualsMethod ( Type type, string parameters ) : void
type System.Type
parameters string
return void

IsFrameworkUsed() public method

public IsFrameworkUsed ( ) : bool
return bool

IsWorkingInThisEnvironment() public method

public IsWorkingInThisEnvironment ( string forFile ) : bool
forFile string
return bool

Report() public method

public Report ( string approved, string received ) : void
approved string
received string
return void

Property Details

areEqual protected_oe property

protected string areEqual
return string