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 @test |
18 @test |
21 @internalComponent - Internal Symbian test code |
19 @internalComponent - Internal Symbian test code |
22 */ |
20 */ |
23 |
21 |
24 #if (!defined __T_NOTIF_STEP_H__) |
22 #if (!defined __T_NOTIF_STEP_H__) |
25 #define __T_NOTIF_STEP_H__ |
23 #define __T_NOTIF_STEP_H__ |
26 #include <apgnotif.h> |
24 #include <apgnotif.h> |
27 #include "ApparcTestServer.h" |
25 #include "apparctestserver.h" |
28 #include "testableapalssession.h" |
26 #include "testableapalssession.h" |
29 |
27 |
30 //! A CT_NotifStep test class. |
28 //! A CT_NotifStep test class. |
31 |
29 |
32 /** Checks for notifications when application list changes. */ |
30 /** Checks for notifications when application list changes. */ |
37 CT_NotifStep(); |
35 CT_NotifStep(); |
38 ~CT_NotifStep(); |
36 ~CT_NotifStep(); |
39 virtual TVerdict doTestStepL(); |
37 virtual TVerdict doTestStepL(); |
40 void TestAppNotificationL(); |
38 void TestAppNotificationL(); |
41 void TestIconFileNotificationL(); |
39 void TestIconFileNotificationL(); |
42 |
40 void TestForceRegistrationNotificationL(); |
|
41 friend void TestForceRegistrationL(CT_NotifStep *aNotifStep); |
43 private: |
42 private: |
|
43 TInt DeleteFileL(RSmlTestUtils &aFs, const TDesC &aFileName); |
44 void CreateAppL(const TDesC& aAppName); |
44 void CreateAppL(const TDesC& aAppName); |
45 void DeleteAppL(const TDesC& aAppName); |
45 void DeleteAppL(const TDesC& aAppName); |
46 void ModifyIconFileTimeStamp(); |
46 void ModifyIconFileTimeStampL(); |
47 |
47 |
48 private: |
48 private: |
49 CActiveScheduler* iScheduler; |
49 CActiveScheduler* iScheduler; |
50 RFs iFs; |
50 RFs iFs; |
51 RApaLsSession iSession; |
51 RApaLsSession iSession; |
63 }; |
63 }; |
64 |
64 |
65 _LIT(KT_NotifStep,"T_Notif"); |
65 _LIT(KT_NotifStep,"T_Notif"); |
66 |
66 |
67 #endif |
67 #endif |
|
68 |