equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2009 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. |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
|
17 |
|
18 /** |
16 /** |
19 @file |
17 @file |
20 @internalComponent - Internal Symbian test code |
18 @internalComponent - Internal Symbian test code |
21 */ |
19 */ |
22 |
20 |
23 |
21 |
24 #include <barsread.h> |
22 #include <barsread.h> |
25 #include "T_ServicesStep.h" |
23 #include "T_ServicesStep.h" |
|
24 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
25 #include <apaidpartner.h> |
|
26 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
26 |
27 |
27 _LIT(KCompleted, "Completed."); |
28 _LIT(KCompleted, "Completed."); |
28 _LIT8(KLitPlainText,"text/plain"); |
29 _LIT8(KLitPlainText,"text/plain"); |
29 _LIT8(KLitPriorityText,"text/priority"); |
30 _LIT8(KLitPriorityText,"text/priority"); |
30 _LIT8(KLitCustom1Text, "text/custom1"); |
31 _LIT8(KLitCustom1Text, "text/custom1"); |
1356 ret = iApaLsSession.DeleteDataMapping(TDataType(KLitMimeTypeServerData),KUidService1); |
1357 ret = iApaLsSession.DeleteDataMapping(TDataType(KLitMimeTypeServerData),KUidService1); |
1357 TEST(ret==KErrNone); |
1358 TEST(ret==KErrNone); |
1358 // Waits till the data type mappings are restored from the data store ini file |
1359 // Waits till the data type mappings are restored from the data store ini file |
1359 iApaLsSession.WaitForTypeStoreUpdate(); |
1360 iApaLsSession.WaitForTypeStoreUpdate(); |
1360 } |
1361 } |
|
1362 |