uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestptieng/src/bctestlan.cpp
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
equal deleted inserted replaced
0:2f259fa3e83a 4:8ca85d2f0db7
   122     }
   122     }
   123 
   123 
   124 void CBCTestLanguage::TestSetKeyMap()
   124 void CBCTestLanguage::TestSetKeyMap()
   125     {
   125     {
   126     iLan->SetKeyMappings(CBCTestKeymap::CreateKeyMapL());
   126     iLan->SetKeyMappings(CBCTestKeymap::CreateKeyMapL());
   127     AssertNotNullL(iLan->GetKeymappings(), _L("Key mapping set and got."));
   127     iLan->GetKeymappings();
       
   128     AssertTrueL(ETrue, _L("Key mapping set and got."));
   128     
   129     
   129     if( CBCTestQwertyMap::ValidQwertyMode() )
   130     if( CBCTestQwertyMap::ValidQwertyMode() )
   130         {
   131         {
   131         iLan->SetQwertyKeyMappings(CBCTestQwertyMap::CreateKeyMapL());
   132         iLan->SetQwertyKeyMappings(CBCTestQwertyMap::CreateKeyMapL());
   132         AssertNotNullL(iLan->GetQwertyKeymappings(), _L("Qwerty key mapping set and got."));
   133         iLan->GetQwertyKeymappings();
       
   134         AssertTrueL(ETrue, _L("Qwerty key mapping set and got."));
   133         iLan->ClearQwerty();
   135         iLan->ClearQwerty();
   134         AssertTrueL(NULL == iLan->GetQwertyKeymappings(), _L("Qwerty key mapping cleared."));
   136         AssertTrueL(NULL == iLan->GetQwertyKeymappings(), _L("Qwerty key mapping cleared."));
   135         }
   137         }
   136     
   138     
   137     //clear them all
   139     //clear them all