installationservices/swcomponentregistry/test/tscr/inc/tscrserver.h
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * Defines the test server of the Software Component Registry test harness
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @internalComponent
       
    23  @test
       
    24 */
       
    25 
       
    26 #ifndef TSCRSERVER_H
       
    27 #define TSCRSERVER_H
       
    28 
       
    29 #include <test/testexecuteserverbase.h>
       
    30 
       
    31 _LIT(KScrTestServerName, "tscr");
       
    32 
       
    33 class CScrTestServer : public CTestServer
       
    34 /**
       
    35 	Describes the test server for the SCR test harness.
       
    36  */
       
    37 	{
       
    38 public:
       
    39 	static CScrTestServer* NewL();
       
    40 	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
       
    41 	RFs& Fs();
       
    42 	~CScrTestServer();
       
    43 private:
       
    44 	TBool IsPerformanceTestStep(const TDesC& aStepName, TPtrC& aStrippedName);
       
    45 private:
       
    46 	RFs iFs;
       
    47 	};
       
    48 
       
    49 inline RFs& CScrTestServer::Fs()
       
    50 	{
       
    51 	return iFs;
       
    52 	}
       
    53 
       
    54 #endif /* TSCRSERVER_H */