Update contrib.
2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Implementation for test object factory
20 #include "testfactory.h"
22 #include "testboolean.h"
24 #include "testbigint.h"
25 #include "testoctetstr.h"
27 #include "testgeneralizedtime.h"
28 #include "testsequence.h"
29 #include "testexplicittag.h"
30 #include "testimplicittag.h"
31 #include "testoutput.h"
34 // Make different object for each index, else return 0
35 CTestBase* TTestFactory::MakeTestLC(const TInt aIndex)
40 return CTestNull::NewLC();
42 return CTestBoolean::NewLC();
44 return CTestInt::NewLC();
46 return CTestBigInt::NewLC();
48 return CTestOctetString::NewLC();
50 return CTestOID::NewLC();
52 return CTestGeneralizedTime::NewLC();
54 return CTestSequence::NewLC();
56 return CTestExplicitTag::NewLC();
58 return CTestImplicitTag::NewLC();
60 return CTestOutput::NewLC();