equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
86 }; |
86 }; |
87 |
87 |
88 class CTest : public CBase, public TFunctor |
88 class CTest : public CBase, public TFunctor |
89 { |
89 { |
90 public: |
90 public: |
91 ~CTest(); |
91 virtual ~CTest(); |
92 |
92 |
93 virtual void operator()(); |
93 virtual void operator()(); |
94 virtual void RunTest() = 0; |
94 virtual void RunTest() = 0; |
95 virtual CTest* Clone() const = 0; |
95 virtual CTest* Clone() const = 0; |
96 |
96 |
|
97 virtual void SetupL(); |
|
98 |
97 /** |
99 /** |
98 Prints a formatted description of the test |
100 Prints a formatted description of the test |
99 */ |
101 */ |
100 void Announce() const; |
102 virtual void Announce() const; |
101 |
103 |
102 const TDesC& Name() const; |
104 const TDesC& Name() const; |
103 |
105 |
104 /** |
106 /** |
105 Should print the type of test, with no newlines. |
107 Should print the type of test, with no newlines. |
106 eg. "Transfer", "Fragmentation" |
108 eg. "Transfer", "Fragmentation" |
107 TODO drop the function, just add a test type member |
|
108 */ |
109 */ |
109 virtual void PrintTestType() const = 0; |
110 virtual void PrintTestType() const = 0; |
110 |
111 |
111 /** |
112 /** |
112 Display any information about test environment, with no newlines |
113 Display any information about test environment, with no newlines |