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 the License "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". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
201 apaWindowGroupName->SetAppUid(uid); |
199 apaWindowGroupName->SetAppUid(uid); |
202 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
200 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
203 TEST(apaWindowGroupName->AppUid()==uid); |
201 TEST(apaWindowGroupName->AppUid()==uid); |
204 INFO_PRINTF1(_L("\n")); |
202 INFO_PRINTF1(_L("\n")); |
205 // 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")); |
206 |
214 |
207 // test setting caption |
215 // test setting caption |
208 // RDebug::Print(_L("Block 6")); |
216 // RDebug::Print(_L("Block 6")); |
209 INFO_PRINTF1(_L("Test setting caption")); |
217 INFO_PRINTF1(_L("Test setting caption")); |
210 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |
218 PrintWindowGroupName(apaWindowGroupName->WindowGroupName()); |