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 "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.
19 // Test system includes
20 #include <testframework.h>
21 #include "TSU_MmTsthStep12.h"
22 #include "TSU_MmTsthSuite12.h"
25 TVerdict RTSUMmTsthStep12::OpenL()
27 // initialise iSuiteStub for tests. if this fails, tests are
28 // inconclusive (will not run)
29 CTestSuiteVirtualStub* theSuiteStub = new (ELeave) CTestSuiteVirtualStub;
30 CleanupStack::PushL(theSuiteStub);
31 TRAPD(err, theSuiteStub->ConstructL());
34 ERR_PRINTF1(_L("CTestSuiteVirtualStub::ConstructL() left"));
35 CleanupStack::PopAndDestroy(theSuiteStub);
36 return iTestStepResult = EInconclusive;
39 iSuiteStub = theSuiteStub;
41 // NB ensure the suite can log - set its logger to ours
42 iSuiteStub->SetLogSystem(iSuite->LogSystem());
44 CleanupStack::Pop(theSuiteStub);
45 return iTestStepResult = EPass;
49 void RTSUMmTsthStep12::Close()