diff -r 000000000000 -r 5e5d6b214f4f instantmessagesalert/tsrc/testinstantmsgalert/data/Branch_Coverage/indexD8.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/instantmessagesalert/tsrc/testinstantmsgalert/data/Branch_Coverage/indexD8.html Tue Feb 02 10:12:18 2010 +0200 @@ -0,0 +1,146 @@ + +
+Start/ | End/ | |||
True | False | - | Line | Source |
1 | /* | |||
2 | * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). | |||
3 | * All rights reserved. | |||
4 | * This component and the accompanying materials are made available | |||
5 | * under the terms of the License "Eclipse Public License v1.0" | |||
6 | * which accompanies this distribution, and is available | |||
7 | * at the URL "http://www.eclipse.org/legal/epl-v10.html". | |||
8 | * | |||
9 | * Initial Contributors: | |||
10 | * Nokia Corporation - initial contribution. | |||
11 | * | |||
12 | * Contributors: | |||
13 | * | |||
14 | * Description: vimpst settings store definitions and repository transactions. | |||
15 | * | |||
16 | */ | |||
17 | ||||
18 | ||||
19 | // INCLUDES | |||
20 | #include <e32std.h> | |||
21 | #include "s_vimpstsettingsstoreimp.h" | |||
22 | ||||
23 | //dummy serviceId, assuming the service id not more than 256. for the first time | |||
24 | //and it is assumed that this service id is for initializing the cenrep keys only. | |||
25 | //not updated in the service table and hence will not get a TAB in phone book | |||
26 | //const TInt KServiceIDOffset = 16; | |||
27 | ||||
28 | // opaque data length, see cvimpstuisapsettings.h SetOpaqueDesC16 method description. | |||
29 | //const TInt KSapSettingsDataBufferLength = 5; | |||
30 | // Collation level 1 to ignore case | |||
31 | //const TInt KCollationLevel = 1; | |||
32 | ||||
33 | /** Key to CIMPSSAPSettings opaque value */ | |||
34 | //_LIT( KIMToUAccepted, "KIMToUAccepted" ); | |||
35 | /** User id separator in KIMToUAccepted list */ | |||
36 | //_LIT( KIMDot, "," ); | |||
37 | ||||
38 | //================= MEMBER FUNCTIONS ======================= | |||
39 | // --------------------------------------------------------- | |||
40 | // CVIMPSTSettingsStoreImp::NewL | |||
41 | // | |||
42 | // --------------------------------------------------------- | |||
Top | ||||
0 | 0 | - | 43 | MVIMPSTSettingsStore* CVIMPSTSettingsStoreImp::InitialiseLibraryL( ) |
44 | { | |||
45 | // no existing instance, create a new one | |||
46 | MVIMPSTSettingsStore *settingsStoreImp = CVIMPSTSettingsStoreImp::NewL(); | |||
0 | - | 47 | return (MVIMPSTSettingsStore*)settingsStoreImp; | |
48 | } | |||
49 | ||||
Top | ||||
0 | 0 | - | 50 | void CVIMPSTSettingsStoreImp::Release( ) |
51 | { | |||
52 | ||||
53 | } | |||
54 | // --------------------------------------------------------- | |||
55 | // CVIMPSTSettingsStoreImp::NewLC | |||
56 | // | |||
57 | // --------------------------------------------------------- | |||
Top | ||||
17 | 0 | 58 | MVIMPSTSettingsStore* CVIMPSTSettingsStoreImp::NewL( ) | |
59 | { | |||
60 | CVIMPSTSettingsStoreImp* self = new (ELeave) CVIMPSTSettingsStoreImp( ); | |||
61 | CleanupStack::PushL( self ); | |||
62 | self->ConstructL( ); | |||
63 | CleanupStack::Pop( self ); | |||
17 | 64 | return self; | ||
65 | } | |||
66 | ||||
67 | // --------------------------------------------------------- | |||
68 | // CVIMPSTSettingsStoreImp::ConstructL | |||
69 | // | |||
70 | // --------------------------------------------------------- | |||
71 | ||||
Top | ||||
17 | 17 | 72 | void CVIMPSTSettingsStoreImp::ConstructL( ) | |
73 | { | |||
74 | ||||
75 | } | |||
76 | ||||
77 | // --------------------------------------------------------- | |||
78 | // CVIMPSTSettingsStoreImp::Destructor | |||
79 | // | |||
80 | // --------------------------------------------------------- | |||
Top | ||||
17 | 17 | 81 | CVIMPSTSettingsStoreImp::~CVIMPSTSettingsStoreImp() | |
82 | { | |||
83 | ||||
84 | } | |||
85 | ||||
Top | ||||
1 | 0 | 86 | TInt CVIMPSTSettingsStoreImp::GetL(TUint32 aServiceId, TSettingItemName aSettingItemNAme, RBuf& aBuffer ) | |
87 | { | |||
1 | 0 | - | 88 | if(aSettingItemNAme == EServiceToneFileName) |
89 | { | |||
90 | _LIT(filename,"testtonefile"); | |||
91 | aBuffer.Copy(filename); | |||
92 | } | |||
1 | 93 | return KErrNone; // return the value : error code | ||
94 | } | |||
95 | // -------------------------------------------------------------------------------------------------- | |||
96 | // CVIMPSTSettingsStoreImp::SetL | |||
97 | // | |||
98 | // --------------------------------------------------------------------------------------------------- | |||
99 | ||||
Top | ||||
0 | 0 | - | 100 | TInt CVIMPSTSettingsStoreImp::SetL(TUint32 /*aServiceId*/, TSettingItemName /*aSettingItemName*/, const TDesC8& /*aBuffer*/ ) |
101 | { | |||
0 | - | 102 | return KErrNone; // return the value : error code | |
103 | } | |||
104 | // -------------------------------------------------------------------------------------------------- | |||
105 | // CVIMPSTSettingsStoreImp::GetL | |||
106 | // | |||
107 | // --------------------------------------------------------------------------------------------------- | |||
108 | ||||
109 | ||||
110 | ||||
111 | //End of file | |||
***TER 54% (7/13) of SOURCE FILE s_vimpstsettingsstoreimp.cpp |