equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
30 |
30 |
31 #include <test/testexecutelogger.h> |
31 #include <test/testexecutelogger.h> |
32 #include <test/tefunit.h> |
32 #include <test/tefunit.h> |
33 #include <hash.h> |
33 #include <hash.h> |
34 #include "upscommon.h" |
34 #include "upscommon.h" |
|
35 #include <scs/cleanuputils.h> |
35 |
36 |
36 using namespace UserPromptService; |
37 using namespace UserPromptService; |
37 |
38 |
38 _LIT8(KFingerprint, "FingerprintABCDEFGHIJKLMNOPR%d"); |
39 _LIT8(KFingerprint, "FingerprintABCDEFGHIJKLMNOPR%d"); |
39 _LIT8(KClientEntity,"ClientEntityABCDEFGHIJKLMNOP%d"); |
40 _LIT8(KClientEntity,"ClientEntityABCDEFGHIJKLMNOP%d"); |
111 |
112 |
112 //Get a decision record from the database |
113 //Get a decision record from the database |
113 CDecisionRecord *GetDecisionLC(CDecisionDbW &aUpsDb, CDecisionFilter &aFilter); |
114 CDecisionRecord *GetDecisionLC(CDecisionDbW &aUpsDb, CDecisionFilter &aFilter); |
114 |
115 |
115 //Get a set of decision records from the database |
116 //Get a set of decision records from the database |
116 RPointerArray<CDecisionRecord> GetDecisionsL(CDecisionDbW &aUpsDb, CDecisionFilter &aFilter, TBool aCancel); |
117 void GetDecisionsL(CDecisionDbW &aUpsDb, CDecisionFilter &aFilter, TBool aCancel, RPointerArray<CDecisionRecord>& aRecordList); |
117 |
118 |
118 //Delete a set of records |
119 //Delete a set of records |
119 void RemoveDecisionsL(CDecisionDbW &aUpsDb, CDecisionFilter &aFilter); |
120 void RemoveDecisionsL(CDecisionDbW &aUpsDb, CDecisionFilter &aFilter); |
120 |
121 |
121 //Delete all records |
122 //Delete all records |