os/security/cryptoservices/filebasedcertificateandkeystores/test/tfiletokens/CServerOOMTestRunner.h
First public contribution.
2 * Copyright (c) 2004-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.
19 #ifndef __CSERVEROOMTESTRUNNER_H__
20 #define __CSERVEROOMTESTRUNNER_H__
22 #include "clientsession.h"
23 #include "t_testrunner.h"
27 * A test runner that performs OOM testing on the file tokens server.
29 NONSHARABLE_CLASS(CServerOOMTestRunner) : public COOMTestRunnerBase
32 CServerOOMTestRunner(Output& aOut);
33 virtual ~CServerOOMTestRunner();
36 // Implement COOMTestRunnerBase interface
37 virtual void StartOOMTestL();
38 virtual void IncHeapFailPoint();
39 virtual void ResetHeapFail();
40 virtual TInt AllocCount();
41 virtual void EndOOMTestL();
43 TInt SendRequest(TFSTokenMessages aFunction);
46 RFileStoreClientSession iClient;