C# Class NFluent.StreamCheckExtensions

Provides check methods to be executed on a stream instance.
Datei anzeigen Open project: tpierrain/NFluent

Public Methods

Method Description
HasSameSequenceOfBytesAs ( this check, Stream expected ) : ICheckLink>

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

Private Methods

Method 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 method

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.
return ICheckLink>