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"> #1/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> | Previous | <a href="indexD2.html">Next</a> | <a href="indexD43.html">Last</a> | <a href="indexA.html#a1">Index</a> | <a href="indexD1.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\t_vimpstcmdprocess_cmdfactory_utestcases.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="black">100 % ( 0/ 0)</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="indexD1.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 : t_vimpstcmdprocess_cmdfactory_utestCases.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 test module.</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"> * GLOBAL VARIABLES SECTION</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"> */</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">#ifdef TEST_VAR_DECLARATIONS</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"> //Global variable declration </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">#endif</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">/**</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"> * END OF GLOBAL VARIABLES SECTION</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"> */</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"></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"></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">/**</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"> * TEST CASES SECTION</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"> */</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">#ifdef TEST_CASES</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">/**</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"> * STIF_SETUP defines activities needed before every test case.</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"> */</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">STIF_SETUP</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">{</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">//No set up required</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">/**</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"> * STIF_TEARDOWN defines activities needed after every test case</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">STIF_TEARDOWN</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">{</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">}</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"></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"> * STIF_TESTDEFINE defines a test case</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"> *</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"> * Example test case - length of string is checked.</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"> * The only argument of macro is a name of test case.</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"> */</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">STIF_TESTDEFINE(t_CreateCommand_login)</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">vimpstengine_stub engin;</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">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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">TInt data = 1;</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">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ELoginService,&data) ;</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">//delete factory;</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">//factory = NULL;</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">TInt comm_sent = ELoginService;</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">TInt comm_recev = commd->CommandId();</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">commd->ExecuteLD();</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">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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">}</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">STIF_TESTDEFINE(t_CreateCommand_logout)</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">{</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">vimpstengine_stub engin;</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">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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">TInt data = 1;</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">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ELogoutService,&data) ;</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">TInt comm_sent = ELogoutService;</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">TInt comm_recev = commd->CommandId();</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">commd->ExecuteLD();</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">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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">}</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">STIF_TESTDEFINE(t_CreateCommand_LaunchCCA)</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">{</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">vimpstengine_stub engin;</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">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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">TLaunchCCAData data;</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">data.iIndex = 1;</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">data.iConnection = MCCAConnectionStub::NewL();</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">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ELaunchCCA,&data) ;</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">TInt comm_sent = ELaunchCCA;</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">TInt comm_recev = commd->CommandId();</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">//commd->ExecuteLD();</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">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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">}</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"></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">STIF_TESTDEFINE(t_CreateCommand_AddContact)</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="3" class="black_profile"> </td><td align="right" class="black_profile"> 102 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
126 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 103 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 104 </td><td class="black_source">TInt data = 1;</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"> 105 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EAddContact,&data) ;</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"> 106 </td><td class="black_source">TInt comm_sent = EAddContact;</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"> 107 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 108 </td><td class="black_source">commd->ExecuteLD();</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"> 109 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 110 </td><td class="black_source">}</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"> 111 </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"> 112 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_DeleteContact)</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"> 113 </td><td class="black_source">{</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"> 114 </td><td class="black_source">vimpstengine_stub engin;</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"> 115 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 116 </td><td class="black_source">TInt data = 1;</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"> 117 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EDeleteContact,&data) ;</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"> 118 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
142 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 119 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
143 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 120 </td><td class="black_source">TInt comm_sent = EDeleteContact;</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"> 121 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 122 </td><td class="black_source">commd->ExecuteLD();</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"> 123 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 124 </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"> 125 </td><td class="black_source"></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"> 126 </td><td class="black_source"></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"> 127 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ChangeOwnStatus)</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"> 128 </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"> 129 </td><td class="black_source">vimpstengine_stub engin;</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"> 130 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 131 </td><td class="black_source">TStatusAndStatusText status;</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"> 132 </td><td class="black_source">_LIT(KStatusMsg,"away");</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"> 133 </td><td class="black_source">status.iStatusText.Copy(KStatusMsg);</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"> 134 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EChangeOwnStatus,&status) ;</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"> 135 </td><td class="black_source">delete factory;</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"> 136 </td><td class="black_source">factory = NULL;</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"> 137 </td><td class="black_source">TInt comm_sent = EChangeOwnStatus;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
161 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 138 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
162 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 139 </td><td class="black_source">commd->ExecuteLD();</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"> 140 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 141 </td><td class="black_source">}</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"> 142 </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"> 143 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ChangeOwnMessage)</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"> 144 </td><td class="black_source">{</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"> 145 </td><td class="black_source">vimpstengine_stub engin;</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"> 146 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 147 </td><td class="black_source"></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"> 148 </td><td class="black_source">TStatusAndStatusText status;</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"> 149 </td><td class="black_source">_LIT(KStatusMsg,"away");</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"> 150 </td><td class="black_source">status.iStatusText.Copy(KStatusMsg);</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"> 151 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
175 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 152 </td><td class="black_source">TInt data = 1;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
176 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 153 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EChangeOwnMessage,&status) ;</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"> 154 </td><td class="black_source">delete factory;</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"> 155 </td><td class="black_source">factory = NULL;</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"> 156 </td><td class="black_source">TInt comm_sent = EChangeOwnMessage;</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"> 157 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 158 </td><td class="black_source">commd->ExecuteLD();</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"> 159 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 160 </td><td class="black_source">}</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"> 161 </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"> 162 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_Search)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
186 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 163 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
187 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 164 </td><td class="black_source">vimpstengine_stub engin;</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"> 165 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 166 </td><td class="black_source">RArray<TVIMPSTSearchKeyData> aKeyDataArray;</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"> 167 </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"> 168 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ESearch,&aKeyDataArray) ;</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"> 169 </td><td class="black_source">delete factory;</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"> 170 </td><td class="black_source">factory = NULL;</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"> 171 </td><td class="black_source">TInt comm_sent = ESearch;</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"> 172 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 173 </td><td class="black_source">commd->ExecuteLD();</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"> 174 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 175 </td><td class="black_source">}</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"> 176 </td><td class="black_source"></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"> 177 </td><td class="black_source"></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"> 178 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_FriendRejected)</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"> 179 </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="3" class="black_profile"> </td><td align="right" class="black_profile"> 180 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
204 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 181 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 182 </td><td class="black_source">_LIT(KContactId,"contact");</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"> 183 </td><td class="black_source">TBufC<10> buf (KContactId);</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"> 184 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EFriendRejected, &buf) ;</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"> 185 </td><td class="black_source">delete factory;</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"> 186 </td><td class="black_source">factory = NULL;</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"> 187 </td><td class="black_source">TInt comm_sent = EFriendRejected;</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"> 188 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 189 </td><td class="black_source">commd->ExecuteLD();</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"> 190 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 191 </td><td class="black_source">}</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"> 192 </td><td class="black_source"></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"> 193 </td><td class="black_source"></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"> 194 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ChangeOwnAvtar)</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"> 195 </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="3" class="black_profile"> </td><td align="right" class="black_profile"> 196 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
220 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 197 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 198 </td><td class="black_source">TAvatarData data;</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"> 199 </td><td class="black_source"></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"> 200 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EChangeOwnAvtar,&data) ;</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"> 201 </td><td class="black_source">delete factory;</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"> 202 </td><td class="black_source">factory = NULL;</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"> 203 </td><td class="black_source">TInt comm_sent = EChangeOwnAvtar;</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"> 204 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 205 </td><td class="black_source">commd->ExecuteLD();</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"> 206 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 207 </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"> 208 </td><td class="black_source"></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"> 209 </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"> 210 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_CloseConversation)</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"> 211 </td><td class="black_source">{</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"> 212 </td><td class="black_source">vimpstengine_stub engin;</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"> 213 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 214 </td><td class="black_source">_LIT(KContactId,"contact");</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"> 215 </td><td class="black_source">TBufC<10> buf(KContactId);</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"> 216 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECloseConversation,&buf) ;</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"> 217 </td><td class="black_source">delete factory;</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"> 218 </td><td class="black_source">factory = NULL;</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"> 219 </td><td class="black_source">TInt comm_sent = ECloseConversation;</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"> 220 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 221 </td><td class="black_source">commd->ExecuteLD();</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"> 222 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 223 </td><td class="black_source">}</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"> 224 </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"> 225 </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"> 226 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_AddToPbk)</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"> 227 </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"> 228 </td><td class="black_source">vimpstengine_stub engin;</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"> 229 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 230 </td><td class="black_source"></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"> 231 </td><td class="black_source">vimpststoragecontact_stub store;</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"> 232 </td><td class="black_source"></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"> 233 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EAddToPbk,&store) ;</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"> 234 </td><td class="black_source">delete factory;</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"> 235 </td><td class="black_source">factory = NULL;</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"> 236 </td><td class="black_source">TInt comm_sent = EAddToPbk;</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"> 237 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 238 </td><td class="black_source">commd->ExecuteLD();</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"> 239 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 240 </td><td class="black_source">}</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"> 241 </td><td class="black_source"></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"> 242 </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"> 243 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_CancelLogin)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
267 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 244 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
268 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 245 </td><td class="black_source">vimpstengine_stub engin;</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"> 246 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 247 </td><td class="black_source">TInt data = 1;</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"> 248 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECancelLogin,&data) ;</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"> 249 </td><td class="black_source">delete factory;</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"> 250 </td><td class="black_source">factory = NULL;</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"> 251 </td><td class="black_source">TInt comm_sent = ECancelLogin;</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"> 252 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 253 </td><td class="black_source">commd->ExecuteLD();</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"> 254 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 255 </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"> 256 </td><td class="black_source"></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"> 257 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ProcessAcceptedContactNew)</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"> 258 </td><td class="black_source">{</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"> 259 </td><td class="black_source">vimpstengine_stub engin;</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"> 260 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 261 </td><td class="black_source">TVPbkSelectedData iSelectedData;</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"> 262 </td><td class="black_source"></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"> 263 </td><td class="black_source">_LIT8(KContactId,"contact");</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"> 264 </td><td class="black_source">TPtrC8 buddy = KContactId;</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"> 265 </td><td class="black_source">iSelectedData.iPackedLinks = buddy.AllocL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
289 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 266 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessAcceptedContactNew,&iSelectedData) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
290 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 267 </td><td class="black_source">//delete factory;</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"> 268 </td><td class="black_source">//factory = NULL;</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"> 269 </td><td class="black_source">TInt comm_sent = ECmdProcessAcceptedContactNew;</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"> 270 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 271 </td><td class="black_source">commd->ExecuteLD();</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"> 272 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 273 </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"> 274 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ProcessSelectedContactNew)</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"> 275 </td><td class="black_source">{</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"> 276 </td><td class="black_source">vimpstengine_stub engin;</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"> 277 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 278 </td><td class="black_source">TVPbkSelectedData iSelectedData;</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"> 279 </td><td class="black_source"></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"> 280 </td><td class="black_source">_LIT8(KContactId,"contact");</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"> 281 </td><td class="black_source">TPtrC8 buddy = KContactId;</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"> 282 </td><td class="black_source">iSelectedData.iPackedLinks = buddy.AllocL();</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"> 283 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessSelectedContactNew,&iSelectedData) ;</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"> 284 </td><td class="black_source">//delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
308 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 285 </td><td class="black_source">//factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
309 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 286 </td><td class="black_source">TInt comm_sent = ECmdProcessSelectedContactNew;</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"> 287 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 288 </td><td class="black_source">commd->ExecuteLD();</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"> 289 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 290 </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"> 291 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ProcessAcceptedContactExist)</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"> 292 </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"> 293 </td><td class="black_source">vimpstengine_stub engin;</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"> 294 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 295 </td><td class="black_source">TVPbkSelectedData iSelectedData;</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"> 296 </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"> 297 </td><td class="black_source">_LIT8(KContactId,"contact");</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"> 298 </td><td class="black_source">TPtrC8 buddy = KContactId;</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"> 299 </td><td class="black_source">iSelectedData.iPackedLinks = buddy.AllocL();</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"> 300 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessAcceptedContactExist,&iSelectedData) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
324 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 301 </td><td class="black_source">//delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
325 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 302 </td><td class="black_source">//factory = NULL;</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"> 303 </td><td class="black_source">TInt comm_sent = ECmdProcessAcceptedContactExist;</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"> 304 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 305 </td><td class="black_source">commd->ExecuteLD();</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"> 306 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 307 </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"> 308 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_ProcessSelectedContactExist)</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"> 309 </td><td class="black_source">{</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"> 310 </td><td class="black_source">vimpstengine_stub engin;</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"> 311 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 312 </td><td class="black_source">TVPbkSelectedData iSelectedData;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
336 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 313 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
337 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 314 </td><td class="black_source">_LIT8(KContactId,"contact");</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"> 315 </td><td class="black_source">TPtrC8 buddy = KContactId;</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"> 316 </td><td class="black_source">iSelectedData.iPackedLinks = buddy.AllocL();</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"> 317 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessSelectedContactExist,&iSelectedData) ;</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"> 318 </td><td class="black_source">//delete factory;</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"> 319 </td><td class="black_source">//factory = NULL;</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"> 320 </td><td class="black_source">TInt comm_sent = ECmdProcessSelectedContactExist;</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"> 321 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 322 </td><td class="black_source">commd->ExecuteLD();</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"> 323 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 324 </td><td class="black_source">}</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"> 325 </td><td class="black_source"></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"> 326 </td><td class="black_source">//============================ExecuteLD---------------------</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"> 327 </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"> 328 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_login)</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"> 329 </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"> 330 </td><td class="black_source">vimpstengine_stub engin;</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"> 331 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 332 </td><td class="black_source">TInt data = 1;</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"> 333 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ELoginService,&data) ;</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"> 334 </td><td class="black_source">TInt comm_sent = ELoginService;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
358 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 335 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
359 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 336 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 337 </td><td class="black_source">commd->AddObserver(ob);</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"> 338 </td><td class="black_source">commd->ExecuteLD();</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"> 339 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 340 </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"> 341 </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"> 342 </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"> 343 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_logout)</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"> 344 </td><td class="black_source">{</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"> 345 </td><td class="black_source">vimpstengine_stub engin;</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"> 346 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 347 </td><td class="black_source">TInt data = 1;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
371 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 348 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ELogoutService,&data) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
372 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 349 </td><td class="black_source">TInt comm_sent = ELogoutService;</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"> 350 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 351 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 352 </td><td class="black_source">commd->AddObserver(ob);</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"> 353 </td><td class="black_source">commd->ExecuteLD();</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"> 354 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 355 </td><td class="black_source">}</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"> 356 </td><td class="black_source"></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"> 357 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_LaunchCCA)</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"> 358 </td><td class="black_source">{/*</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"> 359 </td><td class="black_source">vimpstengine_stub engin;</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"> 360 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 361 </td><td class="black_source">TLaunchCCAData data;</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"> 362 </td><td class="black_source">data.iIndex = 2;</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"> 363 </td><td class="black_source">//TInt data = 1;</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"> 364 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ELaunchCCA,&data) ;</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"> 365 </td><td class="black_source">TInt comm_sent = ELaunchCCA;</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"> 366 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 367 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 368 </td><td class="black_source">commd->AddObserver(ob);</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"> 369 </td><td class="black_source">//commd->iIndex = 0;</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"> 370 </td><td class="black_source">commd->ExecuteLD();</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"> 371 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );*/</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"> 372 </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"> 373 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_AddContact)</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"> 374 </td><td class="black_source">{</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"> 375 </td><td class="black_source">vimpstengine_stub engin;</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"> 376 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 377 </td><td class="black_source">TInt data = 1;</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"> 378 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EAddContact,&data) ;</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"> 379 </td><td class="black_source">TInt comm_sent = EAddContact;</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"> 380 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 381 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 382 </td><td class="black_source">commd->AddObserver(ob);</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"> 383 </td><td class="black_source">commd->ExecuteLD();</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"> 384 </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"> 385 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 386 </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"> 387 </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"> 388 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_DeleteContact)</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"> 389 </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"> 390 </td><td class="black_source">vimpstengine_stub engin;</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"> 391 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 392 </td><td class="black_source">TInt data = 1;</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"> 393 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EDeleteContact,&data) ;</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"> 394 </td><td class="black_source">delete factory;</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"> 395 </td><td class="black_source">factory = NULL;</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"> 396 </td><td class="black_source">TInt comm_sent = EDeleteContact;</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"> 397 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 398 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 399 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
423 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 400 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
424 |
<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
|
425 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 402 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 403 </td><td class="black_source">}</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"> 404 </td><td class="black_source"></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"> 405 </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"> 406 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_ChangeOwnStatus)</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"> 407 </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"> 408 </td><td class="black_source">vimpstengine_stub engin;</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"> 409 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 410 </td><td class="black_source">TStatusAndStatusText status;</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"> 411 </td><td class="black_source">_LIT(KStatusMsg,"away");</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"> 412 </td><td class="black_source">status.iStatusText.Copy(KStatusMsg);</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"> 413 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EChangeOwnStatus,&status) ;</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"> 414 </td><td class="black_source">delete factory;</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"> 415 </td><td class="black_source">factory = NULL;</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"> 416 </td><td class="black_source">TInt comm_sent = EChangeOwnStatus;</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"> 417 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 418 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 419 </td><td class="black_source">commd->AddObserver(ob);</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"> 420 </td><td class="black_source">commd->ExecuteLD();</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"> 421 </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"> 422 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</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"> 423 </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"> 424 </td><td class="black_source"></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"> 425 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_ChangeOwnMessage)</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"> 426 </td><td class="black_source">{</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"> 427 </td><td class="black_source">vimpstengine_stub engin;</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"> 428 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</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"> 429 </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"> 430 </td><td class="black_source">TStatusAndStatusText status;</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"> 431 </td><td class="black_source">_LIT(KStatusMsg,"away");</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"> 432 </td><td class="black_source">status.iStatusText.Copy(KStatusMsg);</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"> 433 </td><td class="black_source"></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"> 434 </td><td class="black_source">TInt data = 1;</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"> 435 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EChangeOwnMessage,&status) ;</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"> 436 </td><td class="black_source">delete factory;</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"> 437 </td><td class="black_source">factory = NULL;</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"> 438 </td><td class="black_source">TInt comm_sent = EChangeOwnMessage;</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"> 439 </td><td class="black_source">TInt comm_recev = commd->CommandId();</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"> 440 </td><td class="black_source">vimpstcmdobserver_stub ob;</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"> 441 </td><td class="black_source">commd->AddObserver(ob);</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"> 442 </td><td class="black_source">commd->ExecuteLD();</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"> 443 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
467 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 444 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
468 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 445 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
469 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 446 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
470 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 447 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_Search)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
471 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 448 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
472 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 449 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
473 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 450 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
474 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 451 </td><td class="black_source">RArray<TVIMPSTSearchKeyData> aKeyDataArray;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
475 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 452 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
476 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 453 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ESearch,&aKeyDataArray) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
477 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 454 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
478 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 455 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
479 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 456 </td><td class="black_source">TInt comm_sent = ESearch;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
480 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 457 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
481 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 458 </td><td class="black_source">vimpstcmdobserver_stub ob;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
482 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 459 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
483 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 460 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
484 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 461 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
485 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 462 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
486 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 463 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
487 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 464 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
488 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 465 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
489 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 466 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_FriendRejected)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
490 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 467 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
491 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 468 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
492 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 469 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
493 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 470 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
494 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 471 </td><td class="black_source">TBufC<10> buf (KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
495 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 472 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EFriendRejected, &buf) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
496 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 473 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
497 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 474 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
498 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 475 </td><td class="black_source">TInt comm_sent = EFriendRejected;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
499 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 476 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
500 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 477 </td><td class="black_source">vimpstcmdobserver_stub ob;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
501 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 478 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
502 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 479 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
503 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 480 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
504 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 481 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
505 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 482 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
506 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 483 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
507 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 484 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
508 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 485 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_ChangeOwnAvtar)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
509 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 486 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
510 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 487 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
511 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 488 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
512 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 489 </td><td class="black_source">TAvatarData data;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
513 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 490 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
514 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 491 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EChangeOwnAvtar,&data) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
515 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 492 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
516 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 493 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
517 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 494 </td><td class="black_source">TInt comm_sent = EChangeOwnAvtar;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
518 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 495 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
519 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 496 </td><td class="black_source">vimpstcmdobserver_stub ob;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
520 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 497 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
521 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 498 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
522 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 499 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
523 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 500 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
524 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 501 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
525 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 502 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
526 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 503 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
527 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 504 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_CloseConversation)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
528 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 505 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
529 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 506 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
530 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 507 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
531 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 508 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
532 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 509 </td><td class="black_source">TBufC<10> buf(KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
533 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 510 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECloseConversation,&buf) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
534 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 511 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
535 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 512 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
536 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 513 </td><td class="black_source">TInt comm_sent = ECloseConversation;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
537 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 514 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
538 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 515 </td><td class="black_source">vimpstcmdobserver_stub ob;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
539 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 516 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
540 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 517 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
541 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 518 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
542 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 519 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
543 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 520 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
544 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 521 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
545 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 522 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
546 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 523 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_AddToPbk)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
547 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 524 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
548 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 525 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
549 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 526 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
550 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 527 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
551 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 528 </td><td class="black_source">vimpststoragecontact_stub store;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
552 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 529 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
553 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 530 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EAddToPbk,&store) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
554 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 531 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
555 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 532 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
556 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 533 </td><td class="black_source">TInt comm_sent = EAddToPbk;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
557 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 534 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
558 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 535 </td><td class="black_source">vimpstcmdobserver_stub ob;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
559 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 536 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
560 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 537 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
561 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 538 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
562 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 539 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
563 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 540 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
564 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 541 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
565 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 542 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
566 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 543 </td><td class="black_source">STIF_TESTDEFINE(t_ExeCommand_CancelLogin)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
567 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 544 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
568 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 545 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
569 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 546 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
570 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 547 </td><td class="black_source">TInt data = 1;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
571 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 548 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECancelLogin,&data) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
572 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 549 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
573 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 550 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
574 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 551 </td><td class="black_source">TInt comm_sent = ECancelLogin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
575 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 552 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
576 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 553 </td><td class="black_source">vimpstcmdobserver_stub ob;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
577 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 554 </td><td class="black_source">commd->AddObserver(ob);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
578 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 555 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
579 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 556 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
580 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 557 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
581 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 558 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
582 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 559 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
583 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 560 </td><td class="black_source">//Test case for Block/unblock...</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
584 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 561 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
585 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 562 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_BlockContact)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
586 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 563 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
587 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 564 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
588 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 565 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
589 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 566 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
590 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 567 </td><td class="black_source">TBufC<10> buf (KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
591 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 568 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdBlockContact, &buf) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
592 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 569 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
593 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 570 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
594 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 571 </td><td class="black_source">TInt comm_sent = ECmdBlockContact;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
595 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 572 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
596 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 573 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
597 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 574 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
598 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 575 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
599 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 576 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
600 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 577 </td><td class="black_source">STIF_TESTDEFINE(t_CreateCommand_UnBlockContact)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
601 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 578 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
602 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 579 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
603 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 580 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
604 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 581 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
605 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 582 </td><td class="black_source">TBufC<10> buf (KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
606 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 583 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdUnBlockContact, &buf) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
607 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 584 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
608 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 585 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
609 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 586 </td><td class="black_source">TInt comm_sent = ECmdUnBlockContact;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
610 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 587 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
611 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 588 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
612 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 589 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
613 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 590 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
614 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 591 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
615 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 592 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_BlockContact)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
616 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 593 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
617 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 594 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
618 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 595 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
619 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 596 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
620 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 597 </td><td class="black_source">TBufC<10> buf (KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
621 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 598 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdBlockContact, &buf) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
622 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 599 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
623 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 600 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
624 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 601 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
625 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 602 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
626 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 603 </td><td class="black_source">TInt comm_sent = ECmdBlockContact;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
627 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 604 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
628 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 605 </td><td class="black_source">TRAPD(err,commd->ExecuteLD());</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
629 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 606 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
630 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 607 </td><td class="black_source">STIF_ASSERT_EQUALS(err, KErrNone );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
631 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 608 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
632 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 609 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
633 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 610 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_UnBlockContact)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
634 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 611 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
635 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 612 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
636 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 613 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
637 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 614 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
638 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 615 </td><td class="black_source">TBufC<10> buf (KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
639 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 616 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdUnBlockContact, &buf) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
640 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 617 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
641 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 618 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
642 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 619 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
643 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 620 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
644 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 621 </td><td class="black_source">TInt comm_sent = ECmdUnBlockContact;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
645 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 622 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
646 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 623 </td><td class="black_source">TRAPD(err,commd->ExecuteLD());</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
647 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 624 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
648 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 625 </td><td class="black_source">STIF_ASSERT_EQUALS(err, KErrNone);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
649 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 626 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
650 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 627 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_FetchBlockContactList)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
651 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 628 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
652 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 629 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
653 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 630 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
654 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 631 </td><td class="black_source">_LIT(KContactId,"contact");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
655 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 632 </td><td class="black_source">TBufC<10> buf (KContactId);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
656 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 633 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(EFetchBlockedList) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
657 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 634 </td><td class="black_source">delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
658 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 635 </td><td class="black_source">factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
659 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 636 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
660 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 637 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
661 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 638 </td><td class="black_source">TInt comm_sent = EFetchBlockedList;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
662 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 639 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
663 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 640 </td><td class="black_source">TRAPD(err,commd->ExecuteLD());</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
664 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 641 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
665 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 642 </td><td class="black_source">STIF_ASSERT_EQUALS(err, KErrNone);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
666 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 643 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
667 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 644 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_ProcessAcceptedContactNew)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
668 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 645 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
669 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 646 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
670 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 647 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
671 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 648 </td><td class="black_source">TVPbkSelectedData iSelectedData;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
672 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 649 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
673 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 650 </td><td class="black_source">_LIT8(KPackedlink,"packedlink");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
674 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 651 </td><td class="black_source">TPtrC8 link = KPackedlink;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
675 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 652 </td><td class="black_source">iSelectedData.iPackedLinks = link.AllocL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
676 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 653 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessAcceptedContactNew,&iSelectedData) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
677 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 654 </td><td class="black_source">//delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
678 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 655 </td><td class="black_source">//factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
679 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 656 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
680 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 657 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
681 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 658 </td><td class="black_source">TInt comm_sent = ECmdProcessAcceptedContactNew;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
682 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 659 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
683 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 660 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
684 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 661 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
685 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 662 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
686 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 663 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
687 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 664 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_ProcessSelectedContactNew)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
688 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 665 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
689 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 666 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
690 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 667 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
691 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 668 </td><td class="black_source">TVPbkSelectedData iSelectedData;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
692 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 669 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
693 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 670 </td><td class="black_source">_LIT8(KPackedlink,"packedlink");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
694 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 671 </td><td class="black_source">TPtrC8 link = KPackedlink;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
695 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 672 </td><td class="black_source">iSelectedData.iPackedLinks = link.AllocL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
696 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 673 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessSelectedContactNew,&iSelectedData) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
697 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 674 </td><td class="black_source">//delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
698 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 675 </td><td class="black_source">//factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
699 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 676 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
700 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 677 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
701 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 678 </td><td class="black_source">TInt comm_sent = ECmdProcessSelectedContactNew;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
702 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 679 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
703 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 680 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
704 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 681 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
705 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 682 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
706 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 683 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
707 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 684 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_ProcessAcceptedContactExist)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
708 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 685 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
709 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 686 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
710 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 687 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
711 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 688 </td><td class="black_source">TVPbkSelectedData iSelectedData;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
712 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 689 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
713 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 690 </td><td class="black_source">_LIT8(KPackedlink,"packedlink");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
714 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 691 </td><td class="black_source">TPtrC8 link = KPackedlink;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
715 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 692 </td><td class="black_source">iSelectedData.iPackedLinks = link.AllocL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
716 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 693 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessAcceptedContactExist,&iSelectedData) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
717 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 694 </td><td class="black_source">//delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
718 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 695 </td><td class="black_source">//factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
719 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 696 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
720 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 697 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
721 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 698 </td><td class="black_source">TInt comm_sent = ECmdProcessAcceptedContactExist;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
722 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 699 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
723 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 700 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
724 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 701 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
725 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 702 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
726 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 703 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
727 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 704 </td><td class="black_source">STIF_TESTDEFINE(t_ExecuteCommand_ProcessSelectedContactExist)</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
728 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 705 </td><td class="black_source">{</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
729 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 706 </td><td class="black_source">vimpstengine_stub engin;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
730 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 707 </td><td class="black_source">CVIMPSTCmdFactory *factory = CVIMPSTCmdFactory::NewL(engin);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
731 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 708 </td><td class="black_source">TVPbkSelectedData iSelectedData;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
732 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 709 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
733 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 710 </td><td class="black_source">_LIT8(KPackedlink,"packedlink");</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
734 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 711 </td><td class="black_source">TPtrC8 link = KPackedlink;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
735 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 712 </td><td class="black_source">iSelectedData.iPackedLinks = link.AllocL();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
736 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 713 </td><td class="black_source">MVIMPSTCmd* commd = factory->CreateCommandForIdL(ECmdProcessSelectedContactExist,&iSelectedData) ;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
737 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 714 </td><td class="black_source">//delete factory;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
738 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 715 </td><td class="black_source">//factory = NULL;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
739 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 716 </td><td class="black_source">vimpstcmdobserver_stub observer;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
740 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 717 </td><td class="black_source">commd->AddObserver(observer);</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
741 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 718 </td><td class="black_source">TInt comm_sent = ECmdProcessSelectedContactExist;</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
742 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 719 </td><td class="black_source">TInt comm_recev = commd->CommandId();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
743 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 720 </td><td class="black_source">commd->ExecuteLD();</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
744 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 721 </td><td class="black_source">STIF_ASSERT_EQUALS(comm_sent, comm_recev );</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
745 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 722 </td><td class="black_source">}</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
746 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 723 </td><td class="black_source"></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
747 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 724 </td><td class="black_source">#endif</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
748 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 725 </td><td class="black_source">/**</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
749 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 726 </td><td class="black_source"> * END OF TEST CASES SECTION</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
750 |
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 727 </td><td class="black_source"> */</td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
751 |
<tr><td colspan="5" class="black"><strong>***TER 100% (0/0) of SOURCE FILE <a name="ut1"></a>t_vimpstcmdprocess_cmdfactory_utestcases.cpp</strong></td></tr> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
752 |
</table><br> |
2b4be3554d30
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
753 |
<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
|
754 |
To files: <a href="indexD1.html">First</a> | Previous | <a href="indexD2.html">Next</a> | <a href="indexD43.html">Last</a> | <a href="indexD1.html">Top</a> | <a href="indexA.html#a1">Index</a> | <a href="indexD1.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
|
755 |
</body></html> |