121
|
1 |
// Copyright (c) 2010 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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
/**
|
|
17 |
@file
|
|
18 |
*/
|
|
19 |
|
|
20 |
#include <test/ctefunitserver.h>
|
|
21 |
#include "openwftest.h"
|
|
22 |
|
|
23 |
_LIT( KServerName, "openwftestserver" );
|
|
24 |
|
|
25 |
GLDEF_C const TTestName ServerName()
|
|
26 |
/**
|
|
27 |
* ServerName
|
|
28 |
*
|
|
29 |
* @return - The TEF server name
|
|
30 |
*/
|
|
31 |
{
|
|
32 |
TTestName serverName(KServerName);
|
|
33 |
return serverName;
|
|
34 |
}
|
|
35 |
|
|
36 |
GLDEF_C CTestSuite* CreateTestSuiteL()
|
|
37 |
/**
|
|
38 |
* Create the overall test suite.
|
|
39 |
*
|
|
40 |
* @return - The top level suite
|
|
41 |
*/
|
|
42 |
{
|
|
43 |
START_SUITE;
|
|
44 |
|
|
45 |
ADD_TEST_SUITE( COpenwfTest );
|
|
46 |
|
|
47 |
END_SUITE;
|
|
48 |
}
|
|
49 |
|
|
50 |
GLDEF_C CTestStep* CreateTEFTestStep(const TDesC& , CTEFUnitServer& /* aServer */)
|
|
51 |
/**
|
|
52 |
* Create individual test steps, outside the suite.
|
|
53 |
*/
|
|
54 |
{
|
|
55 |
// Initialise test step object to NULL if no TEF step is found
|
|
56 |
CTestStep* testStep = NULL;
|
|
57 |
|
|
58 |
return testStep;
|
|
59 |
}
|