OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
TestTextEncoding.cpp File Reference

Functions

 TEST_F (FixtureTextEncoding, ReadFileUTF8)
 
 TEST_P (FixtureTextEncoding, IdentifyEncoding)
 
 TEST_F (FixtureTextEncoding, ISO88591ToUTF8)
 
 TEST_F (FixtureTextEncoding, UTF16BEBOMToUTF8)
 
 TEST_F (FixtureTextEncoding, UTF16BEBOMToUTF8_TextCompare)
 
 TEST_F (FixtureTextEncoding, UTF16LEBOMToUTF8BOM)
 
 TEST_F (FixtureTextEncoding, UTF16LEBOMToUTF8_TextCompare)
 
 TEST_F (FixtureTextEncoding, EncodingStandardToString)
 
 INSTANTIATE_TEST_CASE_P (TestAllEncodingIdentifications, FixtureTextEncoding, ::testing::Values(ot::TextEncoding::EncodingStandard::ANSI, ot::TextEncoding::EncodingStandard::UTF8, ot::TextEncoding::EncodingStandard::UTF8_BOM, ot::TextEncoding::EncodingStandard::UTF16_BEBOM, ot::TextEncoding::EncodingStandard::UTF16_LEBOM))
 

Function Documentation

◆ INSTANTIATE_TEST_CASE_P()

◆ TEST_F() [1/7]

TEST_F ( FixtureTextEncoding ,
EncodingStandardToString  )

◆ TEST_F() [2/7]

TEST_F ( FixtureTextEncoding ,
ISO88591ToUTF8  )

◆ TEST_F() [3/7]

TEST_F ( FixtureTextEncoding ,
ReadFileUTF8  )

◆ TEST_F() [4/7]

TEST_F ( FixtureTextEncoding ,
UTF16BEBOMToUTF8  )

◆ TEST_F() [5/7]

TEST_F ( FixtureTextEncoding ,
UTF16BEBOMToUTF8_TextCompare  )

◆ TEST_F() [6/7]

TEST_F ( FixtureTextEncoding ,
UTF16LEBOMToUTF8_TextCompare  )

◆ TEST_F() [7/7]

TEST_F ( FixtureTextEncoding ,
UTF16LEBOMToUTF8BOM  )

◆ TEST_P()

TEST_P ( FixtureTextEncoding ,
IdentifyEncoding  )