Update contrib.
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #include "t_prop_ldd.h"
17 #include "t_property.h"
19 _LIT(KPropLddClientName, "RPropertyRef Basics");
21 CPropLddClient::CPropLddClient(TUid aCategory, TUint aKey, RProperty::TType aType) :
22 CTestProgram(KPropLddClientName), iCategory(aCategory), iKey(aKey), iType(aType)
26 void CPropLddClient::Run(TUint aCount)
28 TInt r = User::LoadLogicalDevice(KPropLddFileName);
29 TF_ERROR(r, (r == KErrNone) || (r == KErrAlreadyExists));
34 TF_ERROR(r, r == KErrNone);
36 TBool ok = ch.BasicTests(aCount, iCategory, iKey, iType);