1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
199 apaWindowGroupName->SetAppUid(uid); |
199 apaWindowGroupName->SetAppUid(uid); |
200 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
200 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
201 TEST(apaWindowGroupName->AppUid()==uid); |
201 TEST(apaWindowGroupName->AppUid()==uid); |
202 INFO_PRINTF1(_L("\n")); |
202 INFO_PRINTF1(_L("\n")); |
203 // User::After(2000000); |
203 // User::After(2000000); |
|
204 |
|
205 // RDebug::Print(_L("Block 5a")); |
|
206 INFO_PRINTF1(_L("Test setting appUid starting with 0")); |
|
207 const TUid uid1={ 0x00000111 }; |
|
208 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
|
209 INFO_PRINTF2(_L("Setting app uid to %x\n"), uid1.iUid); |
|
210 apaWindowGroupName->SetAppUid(uid1); |
|
211 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
|
212 TEST(apaWindowGroupName->AppUid()==uid1); |
|
213 INFO_PRINTF1(_L("\n")); |
204 |
214 |
205 // test setting caption |
215 // test setting caption |
206 // RDebug::Print(_L("Block 6")); |
216 // RDebug::Print(_L("Block 6")); |
207 INFO_PRINTF1(_L("Test setting caption")); |
217 INFO_PRINTF1(_L("Test setting caption")); |
208 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
218 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |