1 /* |
|
2 * Copyright (c) 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: Declaration of T_CSPProperty class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __T_CSPPROPERTY_H__ |
|
19 #define __T_CSPPROPERTY_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <CEUnitTestSuiteClass.h> |
|
23 #include <EUnitDecorators.h> |
|
24 |
|
25 #include "spproperty.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * Generated EUnit test suite class. |
|
33 */ |
|
34 NONSHARABLE_CLASS( T_CSPProperty ) |
|
35 : public CEUnitTestSuiteClass |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 static T_CSPProperty* NewL(); |
|
40 static T_CSPProperty* NewLC(); |
|
41 ~T_CSPProperty(); |
|
42 |
|
43 private: // Constructors |
|
44 |
|
45 T_CSPProperty(); |
|
46 void ConstructL(); |
|
47 |
|
48 private: // New methods |
|
49 |
|
50 void SetupL(); |
|
51 |
|
52 void Teardown(); |
|
53 |
|
54 void PropertyDatatypeTIntSetGetTestL(); |
|
55 |
|
56 void PropertyDatatypeOnOffSetGetTestL(); |
|
57 |
|
58 void PropertyDatatypeTDesCSetGetTestL(); |
|
59 |
|
60 void CopyLL(); |
|
61 |
|
62 void SetValueNoDataTypeCheckL(); |
|
63 |
|
64 void PropertyTypeL(); |
|
65 |
|
66 void EqualToOperatorOverloadL(); |
|
67 |
|
68 |
|
69 private: // Data |
|
70 |
|
71 CSPProperty* iCSPProperty; |
|
72 |
|
73 EUNIT_DECLARE_TEST_TABLE; |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // __T_CSPPROPERTY_H__ |
|