Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///
- /// Protected: TestGetHebrewConfigString
- ///
- void CPrIniFileReaderTest::TestGetHebrewConfigString()
- {
- prwstring strHebrewTestFilePath = GetTestFilePath( strHebrewTestFileName );
- CPrIniFileReader prIniListReader( strHebrewTestFilePath.c_str() );
- prIniListReader.SetCurrentSection( strHebrewSubSection );
- CPPUNIT_ASSERT( prIniListReader.GetConfigString( L"דונדארןמע" ) == L"דונהשךוק") );
- }
- #define UNICODE_CONSTANT( CONSTANT ) towstring( CONSTANT )
- wstring towstring( LPCSTR lpszValue )
- {
- wostringstream os;
- os << lpszValue;
- return os.str();
- }
- CPPUNIT_ASSERT( prIniListReader.GetConfigString( UNICODE_CONSTANT( "דונדארןמע" ) ) == UNICODE_CONSTANT( "דונהשךוק" ) );
- wchar_t *string = L"דונדארןמע";
- wchar_t *string = "x05d3x05d5x05e0x05d3x05d0x05e8x05dfx05dex05e2";
Add Comment
Please, Sign In to add comment