author | Brendan Donegan <brendand@symbian.org> |
Thu, 03 Jun 2010 12:41:33 +0100 | |
changeset 105 | 62e266e8076f |
parent 104 | 5c9ea8d0ce24 |
permissions | -rw-r--r-- |
104
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
1 |
/* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
3 |
* All rights reserved. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
8 |
* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
11 |
* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
12 |
* Contributors: |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
13 |
* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
14 |
* Description: This file contains testclass implementation. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
15 |
* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
16 |
*/ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
17 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
18 |
// [INCLUDE FILES] - do not remove |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
19 |
#include <e32svr.h> |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
20 |
#include <StifParser.h> |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
21 |
#include <StifTestInterface.h> |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
22 |
#include "T_PodcatcherEngine.h" |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
23 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
24 |
// EXTERNAL DATA STRUCTURES |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
25 |
//extern ?external_data; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
26 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
27 |
// EXTERNAL FUNCTION PROTOTYPES |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
28 |
//extern ?external_function( ?arg_type,?arg_type ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
29 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
30 |
// CONSTANTS |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
31 |
//const ?type ?constant_var = ?constant; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
32 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
33 |
// MACROS |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
34 |
//#define ?macro ?macro_def |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
35 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
36 |
// LOCAL CONSTANTS AND MACROS |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
37 |
//const ?type ?constant_var = ?constant; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
38 |
//#define ?macro_name ?macro_def |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
39 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
40 |
// MODULE DATA STRUCTURES |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
41 |
//enum ?declaration |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
42 |
//typedef ?declaration |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
43 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
44 |
// LOCAL FUNCTION PROTOTYPES |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
45 |
//?type ?function_name( ?arg_type, ?arg_type ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
46 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
47 |
// FORWARD DECLARATIONS |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
48 |
//class ?FORWARD_CLASSNAME; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
49 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
50 |
// ============================= LOCAL FUNCTIONS =============================== |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
51 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
52 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
53 |
// ?function_name ?description. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
54 |
// ?description |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
55 |
// Returns: ?value_1: ?description |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
56 |
// ?value_n: ?description_line1 |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
57 |
// ?description_line2 |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
58 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
59 |
// |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
60 |
/* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
61 |
?type ?function_name( |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
62 |
?arg_type arg, // ?description |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
63 |
?arg_type arg) // ?description |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
64 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
65 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
66 |
?code // ?comment |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
67 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
68 |
// ?comment |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
69 |
?code |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
70 |
} |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
71 |
*/ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
72 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
73 |
// ============================ MEMBER FUNCTIONS =============================== |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
74 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
75 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
76 |
// CT_PodcatcherEngine::Delete |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
77 |
// Delete here all resources allocated and opened from test methods. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
78 |
// Called from destructor. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
79 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
80 |
// |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
81 |
void CT_PodcatcherEngine::Delete() |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
82 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
83 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
84 |
} |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
85 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
86 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
87 |
// CT_PodcatcherEngine::RunMethodL |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
88 |
// Run specified method. Contains also table of test mothods and their names. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
89 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
90 |
// |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
91 |
TInt CT_PodcatcherEngine::RunMethodL( |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
92 |
CStifItemParser& aItem ) |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
93 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
94 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
95 |
static TStifFunctionInfo const KFunctions[] = |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
96 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
97 |
// Copy this line for every implemented function. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
98 |
// First string is the function name used in TestScripter script file. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
99 |
// Second is the actual implementation member function. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
100 |
ENTRY( "AddFeed", CT_PodcatcherEngine::AddFeedL ), |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
101 |
//ADD NEW ENTRY HERE |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
102 |
// [test cases entries] - Do not remove |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
103 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
104 |
}; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
105 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
106 |
const TInt count = sizeof( KFunctions ) / |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
107 |
sizeof( TStifFunctionInfo ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
108 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
109 |
return RunInternalL( KFunctions, count, aItem ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
110 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
111 |
} |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
112 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
113 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
114 |
// CT_PodcatcherEngine::AddFeedL |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
115 |
// Test function which adds a feed to the list of feeds maintained by the Podcatcher. |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
116 |
// (other items were commented in a header). |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
117 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
118 |
// |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
119 |
TInt CT_PodcatcherEngine::AddFeedL( CStifItemParser& aItem ) |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
120 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
121 |
// Print to UI |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
122 |
_LIT( KT_PodcatcherEngine, "T_PodcatcherEngine" ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
123 |
_LIT( KAddFeed, "In AddFeed" ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
124 |
TestModuleIf().Printf( 0, KT_PodcatcherEngine, KAddFeed ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
125 |
// Print to log file |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
126 |
iLog->Log( KAddFeed ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
127 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
128 |
TInt i = 0; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
129 |
TPtrC string; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
130 |
_LIT( KParam, "Param[%i]: %S" ); |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
131 |
while ( aItem.GetNextString ( string ) == KErrNone ) |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
132 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
133 |
TestModuleIf().Printf( i, KT_PodcatcherEngine, |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
134 |
KParam, i, &string ); |
105
62e266e8076f
Tweaking test code and made Engine build with GCCE_ARMV5
Brendan Donegan <brendand@symbian.org>
parents:
104
diff
changeset
|
135 |
|
62e266e8076f
Tweaking test code and made Engine build with GCCE_ARMV5
Brendan Donegan <brendand@symbian.org>
parents:
104
diff
changeset
|
136 |
// Use this loop to gather the Feed Info |
62e266e8076f
Tweaking test code and made Engine build with GCCE_ARMV5
Brendan Donegan <brendand@symbian.org>
parents:
104
diff
changeset
|
137 |
|
104
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
138 |
i++; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
139 |
} |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
140 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
141 |
return KErrNone; |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
142 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
143 |
} |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
144 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
145 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
146 |
// CT_PodcatcherEngine::?member_function |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
147 |
// ?implementation_description |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
148 |
// (other items were commented in a header). |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
149 |
// ----------------------------------------------------------------------------- |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
150 |
// |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
151 |
/* |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
152 |
TInt CT_PodcatcherEngine::?member_function( |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
153 |
CItemParser& aItem ) |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
154 |
{ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
155 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
156 |
?code |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
157 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
158 |
} |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
159 |
*/ |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
160 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
161 |
// ========================== OTHER EXPORTED FUNCTIONS ========================= |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
162 |
// None |
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
163 |
|
5c9ea8d0ce24
Start the Podcatcher Engine integration test suite
Brendan Donegan <brendand@symbian.org>
parents:
diff
changeset
|
164 |
// [End of File] - Do not remove |