|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include "t_schsendutils.h" |
|
17 |
|
18 class TMsvSchedulePackage; |
|
19 |
|
20 class CSchSendTest : public CSchSendTestUtils |
|
21 { |
|
22 public: |
|
23 static CSchSendTest* NewL(RTest& aTest); |
|
24 |
|
25 protected: |
|
26 |
|
27 CSchSendTest(RTest& aTest); |
|
28 |
|
29 void ShowMenuL() {RunAutoL();} |
|
30 void RunAutoL(); |
|
31 void TestPackageL(); |
|
32 void TestPackageL(const TMsvSchedulePackage& aPackage); |
|
33 |
|
34 void TestSendErrorActionsL(); |
|
35 void TestSendErrorActions1L(); |
|
36 void TestSendErrorActions2L(); |
|
37 void TestSendErrorActions3L(); |
|
38 void TestSendErrorActions4L(); |
|
39 void TestSendErrorActions5L(); |
|
40 |
|
41 void TestDefaultL(); |
|
42 void TestErrorsL(); |
|
43 void TestStoringL(); |
|
44 void TestRemovingL(); |
|
45 |
|
46 void TestOffPeakTimesL(); |
|
47 void TestOffPeakTimes1L(); |
|
48 void TestOffPeakTimes2L(); |
|
49 void TestOffPeakTimes3L(); |
|
50 |
|
51 void TestSysAgentActionsL(); |
|
52 |
|
53 void TestSchedulingMessagesL(); |
|
54 void TestSchedulingOffPeakMessagesL(); |
|
55 void TestSchedulingOldMessagesL(); |
|
56 void TestSchedulingBadMessagesL(); |
|
57 void TestSchedulingMessagesTwiceL(); |
|
58 void TestReschedulingMessagesL(); |
|
59 void TestReschedulingNonScheduledMessagesL(); |
|
60 void TestDeletingMessagesL(); |
|
61 void TestDeletingNonScheduledMessagesL(); |
|
62 void TestCheckScheduleL(); |
|
63 |
|
64 void TestScheduleSettingsL(); |
|
65 |
|
66 TBool DoTest(void (CSchSendTest::*aTest)(), TPtrC aText); |
|
67 TBool HeapTest(void (CSchSendTest::*test)(), TPtrC aText); |
|
68 |
|
69 const TSchSendTestProgress& TestL(TSchSendTestOperation aOp, CMsvEntrySelection& aSel, TBool aBool = EFalse); |
|
70 }; |