C# Class ApprovalTests.Reporters.AssertReporter

Inheritance: IEnvironmentAwareReporter
Afficher le fichier Open project: approvals/ApprovalTests.Net

Protected Properties

Свойство Type Description
areEqual string

Méthodes publiques

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

Méthodes protégées

Méthode Description
InvokeEqualsMethod ( Type type, string parameters ) : void

Method Details

AssertEqual() public méthode

public AssertEqual ( string approvedContent, string receivedContent ) : void
approvedContent string
receivedContent string
Résultat void

AssertFileContents() public méthode

public AssertFileContents ( string approved, string received ) : void
approved string
received string
Résultat void

AssertReporter() public méthode

public AssertReporter ( string assertClass, string areEqual, string frameworkAttribute ) : ApprovalTests.Core
assertClass string
areEqual string
frameworkAttribute string
Résultat ApprovalTests.Core

InvokeEqualsMethod() protected méthode

protected InvokeEqualsMethod ( Type type, string parameters ) : void
type System.Type
parameters string
Résultat void

IsFrameworkUsed() public méthode

public IsFrameworkUsed ( ) : bool
Résultat bool

IsWorkingInThisEnvironment() public méthode

public IsWorkingInThisEnvironment ( string forFile ) : bool
forFile string
Résultat bool

Report() public méthode

public Report ( string approved, string received ) : void
approved string
received string
Résultat void

Property Details

areEqual protected_oe property

protected string areEqual
Résultat string