equal
deleted
inserted
replaced
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 |