C# Class NFluent.StreamCheckExtensions

Provides check methods to be executed on a stream instance.
Afficher le fichier Open project: tpierrain/NFluent

Méthodes publiques

Méthode Description
HasSameSequenceOfBytesAs ( this check, Stream expected ) : ICheckLink>

Checks that the actual stream has the same content as another one.

Private Methods

Méthode Description
BuildNegatedMessage ( Stream expected, Stream value ) : MessageBlock
GenerateMessageWhenFullyDistinct ( Stream expected, IChecker checker, Stream value ) : MessageBlock
GenerateMessageWhenSameLenghtButDiffContent ( Stream expected, IChecker checker, Stream value ) : MessageBlock

Method Details

HasSameSequenceOfBytesAs() public static méthode

Checks that the actual stream has the same content as another one.
public static HasSameSequenceOfBytesAs ( this check, Stream expected ) : ICheckLink>
check this The fluent check to be extended.
expected System.IO.Stream The stream to compare content with.
Résultat ICheckLink>