예제 #1
0
void ConvAutoTestCase::UTF8()
{
#ifdef wxHAVE_U_ESCAPE
    TestFirstChar("\xef\xbb\xbf\xd0\x9f", L'\u041f');
#endif
}
예제 #2
0
void ConvAutoTestCase::UTF16LE()
{
    TestFirstChar("\xff\xfeZ\0", wxT('Z'), 4);
}
예제 #3
0
void ConvAutoTestCase::UTF16BE()
{
    TestFirstChar("\xfe\xff\0Y", wxT('Y'), 4);
}
예제 #4
0
void ConvAutoTestCase::UTF32BE()
{
    TestFirstChar("\0\0\xfe\xff\0\0\0B", wxT('B'), 8);
}
예제 #5
0
void ConvAutoTestCase::UTF32LE()
{
    TestFirstChar("\xff\xfe\0\0A\0\0\0", wxT('A'), 8);
}
예제 #6
0
void ConvAutoTestCase::None()
{
    TestFirstChar("Hello world", wxT('H'));
}
예제 #7
0
void ConvAutoTestCase::Short()
{
    TestFirstChar("1", wxT('1'));
}
예제 #8
0
void ConvAutoTestCase::Empty()
{
    TestFirstChar("", wxT('\0'));
}