First public contribution.
1 // Copyright (c) 2008-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.
18 #include "trasterizerbase.h"
23 CTRasterizerBase::~CTRasterizerBase()
27 void CTRasterizerBase::GetExampleRasterizerL()
29 iRasterizer = CFbsBitmap::Rasterizer();
30 TESTL(iRasterizer != NULL);
34 Override of base class pure virtual
35 Our implementation only gets called if the base class doTestStepPreambleL() did
36 not leave. That being the case, the current test result value will be EPass.
37 @leave Gets system wide error code
40 TVerdict CTRasterizerBase::doTestStepPreambleL()
42 User::LeaveIfError(RFbsSession::Connect());
43 return TestStepResult();
47 Override of base class virtual
48 @leave Gets system wide error code
49 @return - TVerdict code
51 TVerdict CTRasterizerBase::doTestStepPostambleL()
53 RFbsSession::Disconnect();
54 return TestStepResult();