equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
|
18 /** |
|
19 @file |
|
20 @test |
|
21 */ |
18 |
22 |
19 |
23 #ifndef WAPPROTSTATUSREPORTS_H |
20 /** |
24 #define WAPPROTSTATUSREPORTS_H |
21 @file |
|
22 */ |
|
23 |
|
24 |
|
25 #if (!defined __WAPPROT_STATUS_REPORTS__) |
|
26 #define __WAPPROT_STATUS_REPORTS__ |
|
27 |
|
28 |
25 |
29 #include "WapProtSuiteStepBase.h" |
26 #include "WapProtSuiteStepBase.h" |
30 #include <gsmuelem.h> |
|
31 #include <gsmuelem.h> |
|
32 #include <smsuaddr.h> |
|
33 #include <smsustrm.h> |
|
34 |
|
35 |
27 |
36 /** |
28 /** |
37 Base class for testing WAP status reports |
29 Base class for testing WAP status reports |
38 */ |
30 */ |
39 class CTestWapStatusReports : public CWapProtSuiteStepBase |
31 class CTestWapStatusReports : public CWapProtSuiteStepBase |
51 |
43 |
52 protected: |
44 protected: |
53 TInt iExpectedStatus; |
45 TInt iExpectedStatus; |
54 }; |
46 }; |
55 |
47 |
56 |
|
57 /** |
48 /** |
58 Base class for sending WAP messages, requesting status reports |
49 Base class for sending WAP messages, requesting status reports |
59 */ |
50 */ |
60 class CTestRequestingStatusReports : public CTestWapStatusReports |
51 class CTestRequestingStatusReports : public CTestWapStatusReports |
61 { |
52 { |
62 public: |
53 public: |
63 virtual TVerdict doTestStepPreambleL(); |
54 virtual TVerdict doTestStepPreambleL(); |
64 virtual TVerdict doTestStepL(); |
55 virtual TVerdict doTestStepL(); |
65 }; |
56 }; |
66 |
57 |
67 |
|
68 /** |
58 /** |
69 Class sets the request for only the last segment to receive status reports |
59 Class sets the request for only the last segment to receive status reports |
70 */ |
60 */ |
71 class CTestRequestingStatusReportsWithOption : public CTestRequestingStatusReports |
61 class CTestRequestingStatusReportsWithOption : public CTestRequestingStatusReports |
72 { |
62 { |
73 public: |
63 public: |
74 virtual TVerdict doTestStepPreambleL(); |
64 virtual TVerdict doTestStepPreambleL(); |
75 }; |
65 }; |
76 |
|
77 |
66 |
78 /** |
67 /** |
79 Class for receiving status reports |
68 Class for receiving status reports |
80 */ |
69 */ |
81 class CTestReceivingStatusReports : public CTestWapStatusReports |
70 class CTestReceivingStatusReports : public CTestWapStatusReports |
84 virtual TVerdict doTestStepPreambleL(); |
73 virtual TVerdict doTestStepPreambleL(); |
85 virtual TVerdict doTestStepL(); |
74 virtual TVerdict doTestStepL(); |
86 virtual TVerdict doTestStepPostambleL(); |
75 virtual TVerdict doTestStepPostambleL(); |
87 }; |
76 }; |
88 |
77 |
89 |
|
90 /** |
78 /** |
91 Class for receiving status reports for multiple 7 bit messages |
79 Class for receiving status reports for multiple 7 bit messages |
92 */ |
80 */ |
93 class CTestReceivingStatusReportsSevenBitMultiplePDUs : public CTestReceivingStatusReports |
81 class CTestReceivingStatusReportsSevenBitMultiplePDUs : public CTestReceivingStatusReports |
94 { |
82 { |
95 public: |
83 public: |
96 virtual TVerdict doTestStepL(); |
84 virtual TVerdict doTestStepL(); |
97 }; |
85 }; |
98 |
|
99 |
86 |
100 /** |
87 /** |
101 Step receives a status report for a request for only the last segment |
88 Step receives a status report for a request for only the last segment |
102 */ |
89 */ |
103 class CTestReceivingStatusReportsWithOption : public CTestReceivingStatusReports |
90 class CTestReceivingStatusReportsWithOption : public CTestReceivingStatusReports |
104 { |
91 { |
105 public: |
92 public: |
106 virtual TVerdict doTestStepPreambleL(); |
93 virtual TVerdict doTestStepPreambleL(); |
107 }; |
94 }; |
108 |
95 |
109 |
96 #endif //WAPPROTSTATUSREPORTS_H |
110 #endif |
|