author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 14 Sep 2010 20:56:13 +0300 | |
branch | RCL_3 |
changeset 24 | 2b4be3554d30 |
permissions | -rw-r--r-- |
24
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
2 |
<html><head> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
3 |
<title>CTC++ Coverage Report</title> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
5 |
<meta name="keyword" content="CTC++, Testwell, Test Coverage Analyzer"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
6 |
<meta name="date" content="Tue Oct 6 16:27:11 2009"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
7 |
<meta name="generator" content="Testwell CTC++ add-on utility ctc2html v2.4"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
8 |
<link rel="stylesheet" type="text/css" href="ctc.css"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
9 |
<link rel="contents" href="index.html"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
10 |
</head> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
11 |
<body text="#150040" bgcolor="#ffffff" link="#000088" vlink="#007788"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
12 |
<span class="head1">CTC++ Coverage Report - </span> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
13 |
<span class="head2">Execution Profile</span> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
14 |
<span class="head3"> #3/43</span><br><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
15 |
<span class="black"><a href="indexF.html" target="_top">Directory Summary</a> | <a href="index.html" target="_top">Files Summary</a> | <a href="indexB1.html" target="_top">Functions Summary</a> | <a href="indexD1.html">Execution Profile</a><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
16 |
To files: <a href="indexD1.html">First</a> | <a href="indexD2.html">Previous</a> | <a href="indexD4.html">Next</a> | <a href="indexD43.html">Last</a> | <a href="indexA.html#a3">Index</a> | <a href="indexD3.html" target="_top">No Index</a></span><br><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
17 |
<span class="black"><strong>File: \meco_domain\conversations\uiservicetab\internal\tsrc\vimpstcmdprocess_utest\src\vimpstcmdprocess_utest.cpp</strong></span><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
<span class="black"><strong>Instrumentation mode: </strong>function</span><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
19 |
<span class="black"><strong>TER: </strong></span><span class="red">80 % ( 12/ 15)</span><br><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
20 |
<table cellspacing="0"> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
21 |
<tr><td align="right" class="black"><strong>Start/</strong> </td><td align="right" class="black"><strong>End/</strong> </td><td> </td><td> </td><td> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
22 |
<tr><td align="right" class="black"><strong>True</strong> </td><td align="right" class="black"><strong>False</strong> </td><td align="right" class="black"><strong>-</strong></td><td align="right" class="black"> <a href="indexD3.html#ut1" title="First untested"><strong>Line</strong></a> </td><td class="black"><strong>Source</strong></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
23 |
<tr><td colspan="5"><hr></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
24 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 1 </td><td class="black_source">/*</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
25 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 2 </td><td class="black_source">* ==============================================================================</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
26 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 3 </td><td class="black_source">* Name : vimpstcmdprocess_processarray_utest.cpp</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
27 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 4 </td><td class="black_source">* Part of : vimpstcmdprocess_utest</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
28 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 5 </td><td class="black_source">*</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
29 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 6 </td><td class="black_source">* Description : vimpstcmdprocess_utest class member functions</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
30 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 7 </td><td class="black_source">* Version: %version: 3 %</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
31 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 8 </td><td class="black_source">*</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
32 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 9 </td><td class="black_source">* Copyright (C) 2002 - 2007 Nokia Corporation.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
33 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 10 </td><td class="black_source">* This material, including documentation and any related </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
34 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 11 </td><td class="black_source">* computer programs, is protected by copyright controlled by </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
35 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 12 </td><td class="black_source">* Nokia Corporation. All rights are reserved. Copying, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
36 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 13 </td><td class="black_source">* including reproducing, storing, adapting or translating, any </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
37 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 14 </td><td class="black_source">* or all of this material requires the prior written consent of </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
38 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 15 </td><td class="black_source">* Nokia Corporation. This material also contains confidential </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
39 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 16 </td><td class="black_source">* information which may not be disclosed to others without the </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
40 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 17 </td><td class="black_source">* prior written consent of Nokia Corporation.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
41 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 18 </td><td class="black_source">*</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
42 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 19 </td><td class="black_source">* ============================================================================</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
43 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 20 </td><td class="black_source">*/</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
44 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 21 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
45 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 22 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
46 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 23 </td><td class="black_source">// INCLUDE FILES</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
47 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 24 </td><td class="black_source">#include <Stiftestinterface.h></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
48 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 25 </td><td class="black_source">#include "vimpstcmdprocess_utest.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
49 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 26 </td><td class="black_source">#include <e32math.h></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
50 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 27 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
51 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 28 </td><td class="black_source">#include "cvimpstcmdfactory.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
52 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 29 </td><td class="black_source">#include "cvimpstprocessarray.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
53 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 30 </td><td class="black_source">#include "cvimpstprocessfriendrequestitem.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
54 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 31 </td><td class="black_source">#include "s_vimpstengin.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
55 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 32 </td><td class="black_source">#include "s_vimpststoragecontact.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
56 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 33 </td><td class="black_source">#include "s_vimpststoragecontactlist.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
57 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 34 </td><td class="black_source">#include "s_vimpstcmdobserver.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
58 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 35 </td><td class="black_source">//#include "s_cvimpstprocessfriendrequestitem.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
59 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 36 </td><td class="black_source">#include "mvimpstcmd.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
60 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 37 </td><td class="black_source">#include "tvimpstconsts.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
61 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 38 </td><td class="black_source">#include "s_vimpstprocessarrayItem.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
62 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 39 </td><td class="black_source">#include "s_processarrayobserver.h" </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
63 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 40 </td><td class="black_source">#include "s_vimpststorageserviceview.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
64 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 41 </td><td class="black_source">#include "s_storageitemmodel.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
65 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 42 </td><td class="black_source">#include "s_mccaconnection.h"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
66 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 43 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
67 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 44 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
68 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 45 </td><td class="black_source">// EXTERNAL DATA STRUCTURES</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
69 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 46 </td><td class="black_source">//extern ?external_data;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
70 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 47 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
71 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 48 </td><td class="black_source">// EXTERNAL FUNCTION PROTOTYPES </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
72 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 49 </td><td class="black_source">//extern ?external_function( ?arg_type,?arg_type );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
73 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 50 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
74 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 51 </td><td class="black_source">// CONSTANTS</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
75 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 52 </td><td class="black_source">//const ?type ?constant_var = ?constant;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
76 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 53 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
77 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 54 </td><td class="black_source">// MACROS</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
78 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 55 </td><td class="black_source">//#define ?macro ?macro_def</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
79 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 56 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
80 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 57 </td><td class="black_source">// LOCAL CONSTANTS AND MACROS</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
81 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 58 </td><td class="black_source">//const ?type ?constant_var = ?constant;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
82 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 59 </td><td class="black_source">//#define ?macro_name ?macro_def</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
83 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 60 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
84 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 61 </td><td class="black_source">// MODULE DATA STRUCTURES</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
85 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 62 </td><td class="black_source">//enum ?declaration</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
86 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 63 </td><td class="black_source">//typedef ?declaration</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
87 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 64 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
88 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 65 </td><td class="black_source">// LOCAL FUNCTION PROTOTYPES</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
89 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 66 </td><td class="black_source">//?type ?function_name( ?arg_type, ?arg_type );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
90 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 67 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
91 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 68 </td><td class="black_source">// FORWARD DECLARATIONS</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
92 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 69 </td><td class="black_source">//class ?FORWARD_CLASSNAME;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
93 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 70 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
94 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 71 </td><td class="black_source">// ============================= LOCAL FUNCTIONS ===============================</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
95 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 72 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
96 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 73 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
97 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 74 </td><td class="black_source">// ?function_name ?description.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
98 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 75 </td><td class="black_source">// ?description</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
99 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 76 </td><td class="black_source">// Returns: ?value_1: ?description</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
100 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 77 </td><td class="black_source">// ?value_n: ?description_line1</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
101 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 78 </td><td class="black_source">// ?description_line2</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
102 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 79 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
103 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 80 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
104 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 81 </td><td class="black_source">/*</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
105 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 82 </td><td class="black_source">?type ?function_name(</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
106 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 83 </td><td class="black_source"> ?arg_type arg, // ?description</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
107 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 84 </td><td class="black_source"> ?arg_type arg) // ?description</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
108 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 85 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
109 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 86 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
110 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 87 </td><td class="black_source"> ?code // ?comment</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
111 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 88 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
112 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 89 </td><td class="black_source"> // ?comment</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
113 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 90 </td><td class="black_source"> ?code</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
114 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 91 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
115 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 92 </td><td class="black_source">*/</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
116 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 93 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
117 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 94 </td><td class="black_source">// ============================ MEMBER FUNCTIONS ===============================</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
118 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 95 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
119 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 96 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
120 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 97 </td><td class="black_source">// Cvimpstcmdprocess_utest::Cvimpstcmdprocess_utest</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
121 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 98 </td><td class="black_source">// C++ default constructor can NOT contain any code, that</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
122 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 99 </td><td class="black_source">// might leave.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
123 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 100 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
124 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 101 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
125 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
126 |
<tr><td align="right" class="black_profile"><a name="a1"></a>2 </td><td align="right" class="black_profile">2 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 102 </td><td class="black_source">Cvimpstcmdprocess_utest::Cvimpstcmdprocess_utest()</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
127 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 103 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
128 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 104 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
129 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 105 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
130 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 106 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
131 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 107 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
132 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 108 </td><td class="black_source">// Cvimpstcmdprocess_utest::ConstructL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
133 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 109 </td><td class="black_source">// Symbian 2nd phase constructor can leave.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
134 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 110 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
135 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 111 </td><td class="black_source">// Note: If OOM test case uses STIF Logger, then STIF Logger must be created</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
136 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 112 </td><td class="black_source">// with static buffer size parameter (aStaticBufferSize). Otherwise Logger </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
137 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 113 </td><td class="black_source">// allocates memory from heap and therefore causes error situations with OOM </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
138 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 114 </td><td class="black_source">// testing. For more information about STIF Logger construction, see STIF Users </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
139 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 115 </td><td class="black_source">// Guide.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
140 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 116 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
141 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 117 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
142 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
143 |
<tr><td align="right" class="black_profile"><a name="a2"></a>2 </td><td align="right" class="black_profile">2 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 118 </td><td class="black_source">void Cvimpstcmdprocess_utest::ConstructL()</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
144 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 119 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
145 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 120 </td><td class="black_source"> iLog = CStifLogger::NewL( Kvimpstcmdprocess_utestLogPath, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
146 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 121 </td><td class="black_source"> Kvimpstcmdprocess_utestLogFile);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
147 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 122 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
148 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 123 </td><td class="black_source"> // Sample how to use logging</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
149 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 124 </td><td class="black_source"> _LIT( KLogStart, "vimpstcmdprocess_utest logging starts!" );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
150 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 125 </td><td class="black_source"> iLog->Log( KLogStart );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
151 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 126 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
152 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 127 </td><td class="black_source"> iVersionLogged = EFalse;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
153 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 128 </td><td class="black_source"> iNumberOfTestCases = 0;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
154 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 129 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
155 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 130 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
156 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 131 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
157 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 132 </td><td class="black_source">// Cvimpstcmdprocess_utest::NewL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
158 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 133 </td><td class="black_source">// Two-phased constructor.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
159 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 134 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
160 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 135 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
161 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
162 |
<tr><td align="right" class="black_profile"><a name="a3"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 136 </td><td class="black_source">Cvimpstcmdprocess_utest* Cvimpstcmdprocess_utest::NewL()</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
163 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 137 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
164 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 138 </td><td class="black_source"> Cvimpstcmdprocess_utest* self = new (ELeave) Cvimpstcmdprocess_utest;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
165 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 139 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
166 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 140 </td><td class="black_source"> CleanupStack::PushL( self );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
167 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 141 </td><td class="black_source"> self->ConstructL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
168 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 142 </td><td class="black_source"> CleanupStack::Pop();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
169 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 143 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
170 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 144 </td><td class="black_source"> return self;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
171 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 145 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
172 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 146 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
173 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 147 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
174 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 148 </td><td class="black_source">// Destructor</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
175 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
176 |
<tr><td align="right" class="black_profile"><a name="a4"></a>1 </td><td align="right" class="black_profile">1 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 149 </td><td class="black_source">Cvimpstcmdprocess_utest::~Cvimpstcmdprocess_utest()</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
177 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 150 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
178 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 151 </td><td class="black_source"> delete iLog;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
179 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 152 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
180 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 153 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
181 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 154 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
182 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 155 </td><td class="black_source">// Cvimpstcmdprocess_utest::InitL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
183 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 156 </td><td class="black_source">// InitL is used to initialize the Test Module.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
184 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 157 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
185 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 158 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
186 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
187 |
<tr><td align="right" class="black_profile"><a name="a5"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 159 </td><td class="black_source">TInt Cvimpstcmdprocess_utest::InitL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
188 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 160 </td><td class="black_source"> TFileName& /*aIniFile*/, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
189 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 161 </td><td class="black_source"> TBool /*aFirstTime*/ )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
190 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 162 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
191 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 163 </td><td class="black_source"> return KErrNone;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
192 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 164 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
193 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 165 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
194 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 166 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
195 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 167 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
196 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 168 </td><td class="black_source">// Cvimpstcmdprocess_utest::GetTestCasesL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
197 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 169 </td><td class="black_source">// GetTestCases is used to inquire test cases from the Test Module. Test</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
198 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 170 </td><td class="black_source">// cases are stored to array of test cases. The Test Framework will be </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
199 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 171 </td><td class="black_source">// the owner of the data in the RPointerArray after GetTestCases return</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
200 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 172 </td><td class="black_source">// and it does the memory deallocation. </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
201 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 173 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
202 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 174 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
203 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
204 |
<tr><td align="right" class="black_profile"><a name="a6"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 175 </td><td class="black_source">TInt Cvimpstcmdprocess_utest::GetTestCasesL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
205 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 176 </td><td class="black_source"> const TFileName& /*aConfig*/, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
206 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 177 </td><td class="black_source"> RPointerArray<TTestCaseInfo>& aTestCases )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
207 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 178 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
208 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 179 </td><td class="black_source"> TTestResult dummyResult;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
209 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 180 </td><td class="black_source"> return MainTestL(Cvimpstcmdprocess_utest::EEnumerateTestCases, -1, aTestCases, dummyResult); </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
210 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 181 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
211 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 182 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
212 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 183 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
213 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 184 </td><td class="black_source">// Cvimpstcmdprocess_utest::RunTestCaseL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
214 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 185 </td><td class="black_source">// RunTestCaseL is used to run an individual test case specified </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
215 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 186 </td><td class="black_source">// by aTestCase. Test cases that can be run may be requested from </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
216 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 187 </td><td class="black_source">// Test Module by GetTestCases method before calling RunTestCase.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
217 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 188 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
218 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 189 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
219 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
220 |
<tr><td align="right" class="black_profile"><a name="a7"></a>130 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 190 </td><td class="black_source">TInt Cvimpstcmdprocess_utest::RunTestCaseL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
221 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 191 </td><td class="black_source"> const TInt aCaseNumber, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
222 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 192 </td><td class="black_source"> const TFileName& /*aConfig*/,</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
223 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 193 </td><td class="black_source"> TTestResult& aResult )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
224 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 194 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
225 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 195 </td><td class="black_source"> if(!iVersionLogged)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
226 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 196 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
227 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 197 </td><td class="black_source"> SendTestModuleVersion();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
228 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 198 </td><td class="black_source"> iVersionLogged = ETrue;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
229 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 199 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
230 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 200 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
231 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 201 </td><td class="black_source"> RPointerArray<TTestCaseInfo> aTestCases; //temporary</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
232 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 202 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
233 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 203 </td><td class="black_source"> /**</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
234 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 204 </td><td class="black_source"> * SetupL is responsible for inicialization of all fields (etc.) common for all testcases</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
235 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 205 </td><td class="black_source"> * MainTestL starts required testcase</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
236 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 206 </td><td class="black_source"> * TeardownL destroys all data that was created by SetupL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
237 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 207 </td><td class="black_source"> */</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
238 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 208 </td><td class="black_source"> TInt errSetup = KErrNone;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
239 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 209 </td><td class="black_source"> TInt errTestcase = KErrNone;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
240 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 210 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
241 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 211 </td><td class="black_source"> if(aCaseNumber > iNumberOfTestCases)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
242 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 212 </td><td class="black_source"> return KErrNotFound;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
243 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 213 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
244 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 214 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
245 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 215 </td><td class="black_source"> TRAP(errSetup, MainTestL(Cvimpstcmdprocess_utest::ERunTestCase, STIF_RUN_SETUP, aTestCases, aResult); TRAP(errTestcase, MainTestL(Cvimpstcmdprocess_utest::ERunTestCase, aCaseNumber, aTestCases, aResult))\</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
246 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 216 </td><td class="black_source"> MainTestL(Cvimpstcmdprocess_utest::ERunTestCase, STIF_RUN_TEARDOWN, aTestCases, aResult));</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
247 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 217 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
248 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 218 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
249 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 219 </td><td class="black_source"> if(errTestcase != KErrNone)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
250 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 220 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
251 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 221 </td><td class="black_source"> aResult.SetResult(errTestcase, _L("Testcase failed"));</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
252 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 222 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
253 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 223 </td><td class="black_source"> if(errSetup != KErrNone)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
254 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 224 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
255 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 225 </td><td class="black_source"> aResult.SetResult(errSetup, _L("Setup or teardown failed"));</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
256 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 226 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
257 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 227 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
258 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 228 </td><td class="black_source"> return KErrNone;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
259 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 229 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
260 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 230 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
261 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 231 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
262 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 232 </td><td class="black_source">// Cvimpstcmdprocess_utest::OOMTestQueryL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
263 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 233 </td><td class="black_source">// Used to check if a particular test case should be run in OOM conditions and </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
264 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 234 </td><td class="black_source">// which memory allocations should fail. </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
265 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 235 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
266 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 236 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
267 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
268 |
<tr><td align="right" class="black_profile"><a name="a8"></a>130 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 237 </td><td class="black_source">TBool Cvimpstcmdprocess_utest::OOMTestQueryL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
269 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 238 </td><td class="black_source"> const TFileName& /* aTestCaseFile */, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
270 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 239 </td><td class="black_source"> const TInt /*aCaseNumber*/, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
271 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 240 </td><td class="black_source"> TOOMFailureType& /* aFailureType */, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
272 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 241 </td><td class="black_source"> TInt& /*aFirstMemFailure*/, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
273 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 242 </td><td class="black_source"> TInt& /*aLastMemFailure*/ ) </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
274 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 243 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
275 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 244 </td><td class="black_source"> return EFalse;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
276 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 245 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
277 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 246 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
278 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 247 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
279 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 248 </td><td class="black_source">// Cvimpstcmdprocess_utest::OOMTestInitializeL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
280 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 249 </td><td class="black_source">// Used to perform the test environment setup for a particular OOM test case. </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
281 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 250 </td><td class="black_source">// Test Modules may use the initialization file to read parameters for Test </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
282 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 251 </td><td class="black_source">// Module initialization but they can also have their own configure file or </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
283 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 252 </td><td class="black_source">// some other routine to initialize themselves. </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
284 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 253 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
285 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 254 </td><td class="black_source">// NOTE: User may add implementation for OOM test environment initialization.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
286 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 255 </td><td class="black_source">// Usually no implementation is required.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
287 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 256 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
288 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 257 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
289 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
290 |
<tr><td align="right" class="red_profile"><a name="a9"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut1" href="indexD3.html#ut2">258</a> </td><td class="red_source">void Cvimpstcmdprocess_utest::OOMTestInitializeL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
291 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 259 </td><td class="black_source"> const TFileName& /* aTestCaseFile */, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
292 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 260 </td><td class="black_source"> const TInt /* aCaseNumber */ )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
293 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 261 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
294 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 262 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
295 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 263 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
296 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 264 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
297 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 265 </td><td class="black_source">// Cvimpstcmdprocess_utest::OOMHandleWarningL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
298 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 266 </td><td class="black_source">// In some cases the heap memory allocation should be skipped, either due to</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
299 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 267 </td><td class="black_source">// problems in the OS code or components used by the code being tested, or even </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
300 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 268 </td><td class="black_source">// inside the tested components which are implemented this way on purpose (by </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
301 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 269 </td><td class="black_source">// design), so it is important to give the tester a way to bypass allocation </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
302 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 270 </td><td class="black_source">// failures.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
303 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 271 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
304 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 272 </td><td class="black_source">// NOTE: User may add implementation for OOM test warning handling. Usually no</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
305 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 273 </td><td class="black_source">// implementation is required.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
306 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 274 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
307 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 275 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
308 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
309 |
<tr><td align="right" class="red_profile"><a name="a10"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut2" href="indexD3.html#ut3">276</a> </td><td class="red_source">void Cvimpstcmdprocess_utest::OOMHandleWarningL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
310 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 277 </td><td class="black_source"> const TFileName& /* aTestCaseFile */,</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
311 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 278 </td><td class="black_source"> const TInt /* aCaseNumber */, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
312 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 279 </td><td class="black_source"> TInt& /* aFailNextValue */ )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
313 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 280 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
314 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 281 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
315 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 282 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
316 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 283 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
317 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 284 </td><td class="black_source">// Cvimpstcmdprocess_utest::OOMTestFinalizeL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
318 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 285 </td><td class="black_source">// Used to perform the test environment cleanup for a particular OOM test case.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
319 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 286 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
320 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 287 </td><td class="black_source">// NOTE: User may add implementation for OOM test environment finalization.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
321 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 288 </td><td class="black_source">// Usually no implementation is required.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
322 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 289 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
323 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 290 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
324 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
325 |
<tr><td align="right" class="red_profile"><a name="a11"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut3" href="indexD3.html#ut4">291</a> </td><td class="red_source">void Cvimpstcmdprocess_utest::OOMTestFinalizeL( </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
326 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 292 </td><td class="black_source"> const TFileName& /* aTestCaseFile */, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
327 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 293 </td><td class="black_source"> const TInt /* aCaseNumber */ )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
328 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 294 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
329 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 295 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
330 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 296 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
331 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 297 </td><td class="black_source">//-----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
332 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 298 </td><td class="black_source">// Cvimpstcmdprocess_utest::SendTestModuleVersion</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
333 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 299 </td><td class="black_source">// Method used to send version of test module</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
334 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 300 </td><td class="black_source">//-----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
335 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 301 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
336 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
337 |
<tr><td align="right" class="black_profile"><a name="a12"></a>2 </td><td align="right" class="black_profile">2 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 302 </td><td class="black_source">void Cvimpstcmdprocess_utest::SendTestModuleVersion()</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
338 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 303 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
339 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 304 </td><td class="black_source"> TVersion moduleVersion;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
340 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 305 </td><td class="black_source"> moduleVersion.iMajor = TEST_MODULE_VERSION_MAJOR;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
341 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 306 </td><td class="black_source"> moduleVersion.iMinor = TEST_MODULE_VERSION_MINOR;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
342 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 307 </td><td class="black_source"> moduleVersion.iBuild = TEST_MODULE_VERSION_BUILD;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
343 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 308 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
344 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 309 </td><td class="black_source"> TFileName moduleName;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
345 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 310 </td><td class="black_source"> moduleName = _L("vimpstcmdprocess_utest.dll");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
346 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 311 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
347 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 312 </td><td class="black_source"> TBool newVersionOfMethod = ETrue;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
348 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 313 </td><td class="black_source"> TestModuleIf().SendTestModuleVersion(moduleVersion, moduleName, newVersionOfMethod);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
349 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 314 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
350 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 315 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
351 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 316 </td><td class="black_source">// ========================== OTHER EXPORTED FUNCTIONS =========================</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
352 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 317 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
353 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 318 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
354 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 319 </td><td class="black_source">// LibEntryL is a polymorphic Dll entry point</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
355 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 320 </td><td class="black_source">// Returns: CTestModuleBase*: Pointer to Test Module object</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
356 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 321 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
357 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 322 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
358 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
359 |
<tr><td align="right" class="black_profile"><a name="a13"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 323 </td><td class="black_source">EXPORT_C CTestModuleBase* LibEntryL()</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
360 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 324 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
361 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 325 </td><td class="black_source"> return Cvimpstcmdprocess_utest::NewL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
362 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 326 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
363 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 327 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
364 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 328 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
365 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 329 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
366 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 330 </td><td class="black_source">// SetRequirements handles test module parameters(implements evolution</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
367 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 331 </td><td class="black_source">// version 1 for test module's heap and stack sizes configuring).</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
368 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 332 </td><td class="black_source">// Returns: TInt: Symbian error code.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
369 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 333 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
370 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 334 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
371 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
372 |
<tr><td align="right" class="black_profile"><a name="a14"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 335 </td><td class="black_source">EXPORT_C TInt SetRequirements( CTestModuleParam*& /*aTestModuleParam*/, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
373 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 336 </td><td class="black_source"> TUint32& /*aParameterValid*/ )</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
374 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 337 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
375 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 338 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
376 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 339 </td><td class="black_source"> /* --------------------------------- NOTE ---------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
377 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 340 </td><td class="black_source"> USER PANICS occurs in test thread creation when:</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
378 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 341 </td><td class="black_source"> 1) "The panic occurs when the value of the stack size is negative."</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
379 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 342 </td><td class="black_source"> 2) "The panic occurs if the minimum heap size specified is less</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
380 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 343 </td><td class="black_source"> than KMinHeapSize".</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
381 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 344 </td><td class="black_source"> KMinHeapSize: "Functions that require a new heap to be allocated will</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
382 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 345 </td><td class="black_source"> either panic, or will reset the required heap size to this value if</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
383 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 346 </td><td class="black_source"> a smaller heap size is specified".</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
384 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 347 </td><td class="black_source"> 3) "The panic occurs if the minimum heap size specified is greater than</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
385 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 348 </td><td class="black_source"> the maximum size to which the heap can grow".</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
386 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 349 </td><td class="black_source"> Other:</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
387 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 350 </td><td class="black_source"> 1) Make sure that your hardware or Symbian OS is supporting given sizes.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
388 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 351 </td><td class="black_source"> e.g. Hardware might support only sizes that are divisible by four.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
389 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 352 </td><td class="black_source"> ------------------------------- NOTE end ------------------------------- */</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
390 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 353 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
391 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 354 </td><td class="black_source"> // Normally STIF uses default heap and stack sizes for test thread, see:</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
392 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 355 </td><td class="black_source"> // KTestThreadMinHeap, KTestThreadMinHeap and KStackSize.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
393 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 356 </td><td class="black_source"> // If needed heap and stack sizes can be configured here by user. Remove</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
394 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 357 </td><td class="black_source"> // comments and define sizes.</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
395 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 358 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
396 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 359 </td><td class="black_source">/*</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
397 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 360 </td><td class="black_source"> aParameterValid = KStifTestModuleParameterChanged;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
398 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 361 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
399 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 362 </td><td class="black_source"> CTestModuleParamVer01* param = CTestModuleParamVer01::NewL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
400 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 363 </td><td class="black_source"> // Stack size</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
401 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 364 </td><td class="black_source"> param->iTestThreadStackSize= 16384; // 16K stack</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
402 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 365 </td><td class="black_source"> // Heap sizes</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
403 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 366 </td><td class="black_source"> param->iTestThreadMinHeap = 4096; // 4K heap min</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
404 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 367 </td><td class="black_source"> param->iTestThreadMaxHeap = 1048576;// 1M heap max</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
405 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 368 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
406 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 369 </td><td class="black_source"> aTestModuleParam = param;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
407 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 370 </td><td class="black_source">*/</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
408 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 371 </td><td class="black_source"> return KErrNone;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
409 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 372 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
410 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 373 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
411 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 374 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
412 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 375 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
413 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 376 </td><td class="black_source">// Cvimpstcmdprocess_utest::MainTestL</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
414 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 377 </td><td class="black_source">// Method responsible for enumerating and running test cases (and also setup and teardown activities before</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
415 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 378 </td><td class="black_source">// and after each test case).</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
416 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 379 </td><td class="black_source">// </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
417 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 380 </td><td class="black_source">// arguments:</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
418 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 381 </td><td class="black_source">// Cvimpstcmdprocess_utest::TCallReason aRunReason - defines aim of a call - enumeration or run of test cases</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
419 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 382 </td><td class="black_source">// TInt aTestToRun - in case of running test case - defines number of test case to run</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
420 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 383 </td><td class="black_source">// RPointerArray<TTestCaseInfo>& aTestCases - in case of enumerating test cases - array to locate test cases infos in</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
421 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 384 </td><td class="black_source">// -----------------------------------------------------------------------------</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
422 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 385 </td><td class="black_source">//</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
423 |
<tr><td colspan="5"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
424 |
<tr><td align="right" class="black_profile"><a name="a15"></a>392 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 386 </td><td class="black_source">TInt Cvimpstcmdprocess_utest::MainTestL(Cvimpstcmdprocess_utest::TCallReason aRunReason, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
425 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 387 </td><td class="black_source"> TInt aTestToRun, </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
426 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 388 </td><td class="black_source"> RPointerArray<TTestCaseInfo>& aTestCases,</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
427 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 389 </td><td class="black_source"> TTestResult& aResult)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
428 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 390 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
429 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 391 </td><td class="black_source"> if(aRunReason == Cvimpstcmdprocess_utest::ERunTestCase)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
430 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 392 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
431 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 393 </td><td class="black_source"> if(aTestToRun < 0)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
432 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 394 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
433 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 395 </td><td class="black_source"> iLog->Log(_L("Running setup or teardown"));</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
434 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 396 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
435 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 397 </td><td class="black_source"> else</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
436 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 398 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
437 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 399 </td><td class="black_source"> iLog->Log(_L("Running test case #%d"), aTestToRun);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
438 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 400 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
439 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 401 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
440 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 402 </td><td class="black_source"> else</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
441 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 403 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
442 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 404 </td><td class="black_source"> iLog->Log(_L("Enumerating test cases."));</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
443 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 405 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
444 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 406 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
445 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 407 </td><td class="black_source"> TInt _test_case_no = -1;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
446 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 408 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
447 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 409 </td><td class="black_source"> //test cases, setup and teardown include</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
448 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 410 </td><td class="black_source"> #define TEST_CASES</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
449 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 411 </td><td class="black_source"> #include "..\src\t_vimpstcmdprocess_processarray_utest.cpp"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
450 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 412 </td><td class="black_source"> #include "..\src\t_vimpstcmdprocess_cmdfactory_utestCases.cpp"</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
451 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 413 </td><td class="black_source"> #undef TEST_CASES</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
452 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 414 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
453 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 415 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
454 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 416 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
455 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 417 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
456 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 418 </td><td class="black_source"> if(aRunReason != Cvimpstcmdprocess_utest::ERunTestCase)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
457 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 419 </td><td class="black_source"> {</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
458 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 420 </td><td class="black_source"> iNumberOfTestCases = _test_case_no;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
459 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 421 </td><td class="black_source"> iLog->Log(_L("Enumeration completed."));</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
460 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 422 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
461 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 423 </td><td class="black_source"> </td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
462 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 424 </td><td class="black_source"> // Test case was executed</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
463 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 425 </td><td class="black_source"> return KErrNone;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
464 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 426 </td><td class="black_source"> }</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
465 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 427 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
466 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 428 </td><td class="black_source">// End of File</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
467 |
<tr><td colspan="5" class="red"><strong>***TER 80% (12/15) of SOURCE FILE <a name="ut4"></a>vimpstcmdprocess_utest.cpp</strong></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
468 |
</table><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
469 |
<span class="black"><a href="indexF.html" target="_top">Directory Summary</a> | <a href="index.html" target="_top">Files Summary</a> | <a href="indexB1.html" target="_top">Functions Summary</a> | <a href="indexD1.html">Execution Profile</a><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
470 |
To files: <a href="indexD1.html">First</a> | <a href="indexD2.html">Previous</a> | <a href="indexD4.html">Next</a> | <a href="indexD43.html">Last</a> | <a href="indexD3.html">Top</a> | <a href="indexA.html#a3">Index</a> | <a href="indexD3.html" target="_top">No Index</a></span><br><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
471 |
</body></html> |