103
|
1 |
|
|
2 |
// Copyright (c) 1996-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 "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 |
//
|
|
16 |
|
|
17 |
/**
|
|
18 |
@file
|
|
19 |
@test
|
|
20 |
@internalComponent - Internal Symbian test code
|
|
21 |
*/
|
|
22 |
|
|
23 |
#ifndef __TCAPABILITY_H__
|
|
24 |
#define __TCAPABILITY_H__
|
|
25 |
|
|
26 |
#include "AUTO.H"
|
|
27 |
#include "../tlib/testbase.h"
|
|
28 |
#include "TGraphicsHarness.h"
|
|
29 |
|
|
30 |
class CTCapability : public CTWsGraphicsBase
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
CTCapability(CTestStep* aStep);
|
|
34 |
~CTCapability();
|
|
35 |
void ConstructL();
|
|
36 |
protected:
|
|
37 |
//from CTGraphicsStep
|
|
38 |
virtual void RunTestCaseL(TInt aCurTestCase);
|
|
39 |
private:
|
|
40 |
void GetCapabilityTestResultsL(TInt& aNoOfTest, TInt&aNoOfTestPass);
|
|
41 |
void LaunchNewProcess(const TDesC& aExecutableName,const TDesC& acapability);
|
|
42 |
};
|
|
43 |
|
|
44 |
class CTCapabilityStep : public CTGraphicsStep
|
|
45 |
{
|
|
46 |
public:
|
|
47 |
CTCapabilityStep();
|
|
48 |
protected:
|
|
49 |
//from CTGraphicsStep
|
|
50 |
virtual CTGraphicsBase* CreateTestL();
|
|
51 |
};
|
|
52 |
|
|
53 |
_LIT(KTCapabilityStep,"TCapability");
|
|
54 |
|
|
55 |
|
|
56 |
#endif
|