C# Class Test.DataUtilitiesTest

Datei anzeigen Open project: peteroupc/CBOR

Public Methods

Method Description
DoTestReadUtf8 ( byte bytes, int length, int expectedRet, string expectedString, int noReplaceRet, string noReplaceString ) : void
DoTestReadUtf8 ( byte bytes, int expectedRet, string expectedString, int noReplaceRet, string noReplaceString ) : void
GenerateIllegalUtf8Sequences ( ) : IList
Repeat ( String c, int num ) : String

Private Methods

Method Description
TestCodePointAt ( ) : void
TestCodePointBefore ( ) : void
TestCodePointCompare ( ) : void
TestGetUtf8Bytes ( ) : void
TestGetUtf8Length ( ) : void
TestGetUtf8String ( ) : void
TestReadUtf8 ( ) : void
TestReadUtf8FromBytes ( ) : void
TestReadUtf8ToString ( ) : void
TestToLowerCaseAscii ( ) : void
TestUtf8RoundTrip ( string str ) : void
TestWriteUtf8 ( ) : void

Method Details

DoTestReadUtf8() public static method

public static DoTestReadUtf8 ( byte bytes, int length, int expectedRet, string expectedString, int noReplaceRet, string noReplaceString ) : void
bytes byte
length int
expectedRet int
expectedString string
noReplaceRet int
noReplaceString string
return void

DoTestReadUtf8() public static method

public static DoTestReadUtf8 ( byte bytes, int expectedRet, string expectedString, int noReplaceRet, string noReplaceString ) : void
bytes byte
expectedRet int
expectedString string
noReplaceRet int
noReplaceString string
return void

GenerateIllegalUtf8Sequences() public static method

public static GenerateIllegalUtf8Sequences ( ) : IList
return IList

Repeat() public static method

public static Repeat ( String c, int num ) : String
c String
num int
return String