[+] Added sub locale test
[*] Update build scripts
This commit is contained in:
parent
863227fb7a
commit
3de73e7ec7
@ -1 +1 @@
|
|||||||
Subproject commit 3b9bf8adf1958264a5608ac1d28367ea50428973
|
Subproject commit 3a79d9e0df5f09ac1c3a7ace56f022f292555640
|
@ -69,6 +69,18 @@ TEST(TranslateEncoding, jpstreamingbuffered)
|
|||||||
ASSERT_EQ(readWrittenPair.first, 0xc);
|
ASSERT_EQ(readWrittenPair.first, 0xc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(TranslateEncoding, utf16streamingillegal)
|
||||||
|
{
|
||||||
|
static const unsigned char rawData[]
|
||||||
|
{
|
||||||
|
0x3D, 0xD8, 0x02, 0xDC
|
||||||
|
};
|
||||||
|
|
||||||
|
auto readWrittenPair = Aurora::Locale::Encoding::DecodeUTF8(Aurora::Memory::MemoryViewRead(rawData, 2), {}, Aurora::Locale::ECodePage::eUTF16);
|
||||||
|
ASSERT_EQ(readWrittenPair.second, 0);
|
||||||
|
ASSERT_EQ(readWrittenPair.first, 0);
|
||||||
|
}
|
||||||
|
|
||||||
void RunTests()
|
void RunTests()
|
||||||
{
|
{
|
||||||
Aurora::RuntimeStartInfo info;
|
Aurora::RuntimeStartInfo info;
|
||||||
|
Loading…
Reference in New Issue
Block a user