在 Symbian S60 平台进行单元测试
2010-03-16 17:18:00 来源:WEB开发网99 }
100
101 TInt RSendAs::Connect(void)
102 {
103 _LOGF((_L("RSendAs::Connect()")));
104 return KErrNone;
105 }
106
107 TMsvSelectionOrdering::TMsvSelectionOrdering(void)
108 {
109 _LOGF((_L("TMsvSelectionOrdering::TMsvSelectionOrdering()")));
110 }
111
112 void CMsvEntry::DeleteL(long)
113 {
114 _LOGF((_L("TCMsvEntry::DeleteL()")));
115 }
116
117 void CMsvEntry::SetEntryL(long)
118 {
119 _LOGF((_L("CMsvEntry::SetEntryL()")));
120 }
121
122 void CMsvStore::RestoreBodyTextL(CRichText &)
123 {
124 _LOGF((_L("CMsvStore::RestoreBodyTextL()")));
125 }
126
127 // ========== test suite ==========
128 void CMapExampleSmsEngineTest::setUp()
129 {
130 _HERE();
131 gRSendAsMessage_SetBodyTextLHook = NULL;
132 iObserver = new (ELeave) DummyObserver();
133 iTarget = CMapExampleSmsEngine::NewL(iObserver);
134 }
135
136 void CMapExampleSmsEngineTest::tearDown()
137 {
138 _HERE();
139 delete iTarget;
140 delete iObserver;
141 }
142
143 void CMapExampleSmsEngineTest::testParseMsgCoordinates()
144 {
145 _HERE();
146 }
147
148 void CMapExampleSmsEngineTest::testParseMsgRequestType()
149 {
150 _HERE();
151 }
152
153 void CMapExampleSmsEngineTest::testParseMsgUid()
154 {
155 _HERE();
156 iTarget->ParseMsgUid(_L("REQ E01FF1Cd"));
157 }
158
159 void CMapExampleSmsEngineTest::testSendMessage()
更多精彩
赞助商链接