C# Class OpenStory.Common.IO.UnsafePacketReadingFixture

Inheritance: PacketReaderFixtureBase
Exibir arquivo Open project: shoftee/OpenStory

Private Properties

Property Type Description
ReadBoolean_Should_Not_Move_Position_On_Failure void
ReadBoolean_Should_Read_Correct_Values void
ReadByte_Should_Not_Move_Position_On_Failure void
ReadByte_Should_Read_Bytes_Correctly void
ReadBytes_Should_Not_Move_Position_On_Failure void
ReadBytes_Should_Read_Correct_Count_Of_Bytes void
ReadBytes_Should_Throw_When_Count_Is_Negative void
ReadFully_Should_Read_All_Bytes void
ReadFully_Should_Read_All_Bytes_In_Segment void
ReadFully_Should_Read_All_Remaining_Bytes void
ReadFully_Should_Read_All_Remaining_Bytes_In_Segment void
ReadInt16_Should_Not_Move_Position_On_Failure void
ReadInt16_Should_Read_In_LittleEndian void
ReadInt32_Should_Not_Move_Position_On_Failure void
ReadInt32_Should_Read_In_LittleEndian void
ReadInt64_Should_Not_Move_Position_On_Failure void
ReadInt64_Should_Read_In_LittleEndian void
ReadLengthString_Should_Not_Move_Position_On_Failure void
ReadLengthString_Should_Return_Same_String void
ReadLengthString_Should_Throw_When_Data_Is_Missing void
ReadPaddedString_Should_Not_Move_Position_On_Failure void
ReadPaddedString_Should_Return_String_Shorter_Than_Padding void
ReadPaddedString_Should_Return_String_Without_Padding void
ReadPaddedString_Should_Throw_When_Data_Is_Missing void
ReadPaddedString_Should_Throw_When_Padding_Is_Non_Positive void
ReadUInt16_Should_Not_Move_Position_On_Failure void
ReadUInt16_Should_Read_In_LittleEndian void
ReadUInt32_Should_Not_Move_Position_On_Failure void
ReadUInt32_Should_Read_In_LittleEndian void
ReadUInt64_Should_Not_Move_Position_On_Failure void
ReadUInt64_Should_Read_In_LittleEndian void
Reading_Should_Throw_In_Offset_Zero_Length_Segment void
Reading_Should_Throw_In_Zero_Length_Segment void
Skip_Should_Not_Move_Position_On_Failure void
Skip_Should_Skip_Correct_Number_Of_Bytes void
Skip_Should_Throw_When_Count_Is_Negative void
ThrowsAndDoesNotMovePosition void
ThrowsPreOnReadOperations void

Private Methods

Method Description
ReadBoolean_Should_Not_Move_Position_On_Failure ( ) : void
ReadBoolean_Should_Read_Correct_Values ( ) : void
ReadByte_Should_Not_Move_Position_On_Failure ( ) : void
ReadByte_Should_Read_Bytes_Correctly ( ) : void
ReadBytes_Should_Not_Move_Position_On_Failure ( ) : void
ReadBytes_Should_Read_Correct_Count_Of_Bytes ( ) : void
ReadBytes_Should_Throw_When_Count_Is_Negative ( ) : void
ReadFully_Should_Read_All_Bytes ( ) : void
ReadFully_Should_Read_All_Bytes_In_Segment ( ) : void
ReadFully_Should_Read_All_Remaining_Bytes ( ) : void
ReadFully_Should_Read_All_Remaining_Bytes_In_Segment ( ) : void
ReadInt16_Should_Not_Move_Position_On_Failure ( ) : void
ReadInt16_Should_Read_In_LittleEndian ( ) : void
ReadInt32_Should_Not_Move_Position_On_Failure ( ) : void
ReadInt32_Should_Read_In_LittleEndian ( ) : void
ReadInt64_Should_Not_Move_Position_On_Failure ( ) : void
ReadInt64_Should_Read_In_LittleEndian ( ) : void
ReadLengthString_Should_Not_Move_Position_On_Failure ( ) : void
ReadLengthString_Should_Return_Same_String ( ) : void
ReadLengthString_Should_Throw_When_Data_Is_Missing ( ) : void
ReadPaddedString_Should_Not_Move_Position_On_Failure ( ) : void
ReadPaddedString_Should_Return_String_Shorter_Than_Padding ( ) : void
ReadPaddedString_Should_Return_String_Without_Padding ( ) : void
ReadPaddedString_Should_Throw_When_Data_Is_Missing ( ) : void
ReadPaddedString_Should_Throw_When_Padding_Is_Non_Positive ( int padding ) : void
ReadUInt16_Should_Not_Move_Position_On_Failure ( ) : void
ReadUInt16_Should_Read_In_LittleEndian ( ) : void
ReadUInt32_Should_Not_Move_Position_On_Failure ( ) : void
ReadUInt32_Should_Read_In_LittleEndian ( ) : void
ReadUInt64_Should_Not_Move_Position_On_Failure ( ) : void
ReadUInt64_Should_Read_In_LittleEndian ( ) : void
Reading_Should_Throw_In_Offset_Zero_Length_Segment ( ) : void
Reading_Should_Throw_In_Zero_Length_Segment ( ) : void
Skip_Should_Not_Move_Position_On_Failure ( ) : void
Skip_Should_Skip_Correct_Number_Of_Bytes ( ) : void
Skip_Should_Throw_When_Count_Is_Negative ( ) : void
ThrowsAndDoesNotMovePosition ( PacketReader reader, Action action ) : void
ThrowsPreOnReadOperations ( PacketReader reader, int skip, int padLength, int byteCount ) : void