1 //----------------------------------------------------------------------------------// |
|
2 //----------------------------CDirectoryLocalizer.h---------------------------------// |
|
3 //----------------------------------------------------------------------------------// |
|
4 // Test CDirectoryLocalizer.h |
|
5 // For test function: |
|
6 // IMPORT_C static CDirectoryLocalizer* NewL(); |
|
7 [Test] |
|
8 title TestDLNewL#1 |
|
9 create testsdkdirloc test |
|
10 test TestDLNewL |
|
11 test TestDLDelete |
|
12 delete test |
|
13 [Endtest] |
|
14 |
|
15 // For test function: |
|
16 // IMPORT_C static CDirectoryLocalizer* NewL( TResourceReader& aReader ); |
|
17 [Test] |
|
18 title TestDLNewLReaderL#2 |
|
19 create testsdkdirloc test |
|
20 test TestDLNewLReaderL |
|
21 test TestDLDelete |
|
22 delete test |
|
23 [Endtest] |
|
24 |
|
25 // For test function: |
|
26 // IMPORT_C static CDirectoryLocalizer* NewL( TInt aResourceId ); |
|
27 [Test] |
|
28 title TestDLNewLResIDL#3 |
|
29 create testsdkdirloc test |
|
30 test TestDLNewLResIDL |
|
31 test TestDLDelete |
|
32 delete test |
|
33 [Endtest] |
|
34 |
|
35 // For test function: |
|
36 // IMPORT_C void AddFromResourceL( TResourceReader& aReader ); |
|
37 [Test] |
|
38 title TestDLAddFromResourceL#4 |
|
39 create testsdkdirloc test |
|
40 test TestDLNewLReaderL |
|
41 test TestDLAddFromResourceL |
|
42 test TestDLDelete |
|
43 delete test |
|
44 [Endtest] |
|
45 |
|
46 // For test function: |
|
47 // IMPORT_C void AddFromResourceL( TInt aResourceId ); |
|
48 [Test] |
|
49 title TestDLAddFromResourceLResIDL#5 |
|
50 create testsdkdirloc test |
|
51 test TestDLNewL |
|
52 test TestDLAddFromResourceLResIDL |
|
53 test TestDLDelete |
|
54 delete test |
|
55 [Endtest] |
|
56 |
|
57 // For test function: |
|
58 // IMPORT_C void SetFullPath( const TDesC& aFullPath ); |
|
59 [Test] |
|
60 title TestDLSetFullPath#6 |
|
61 create testsdkdirloc test |
|
62 test TestDLNewL |
|
63 test TestDLSetFullPath |
|
64 test TestDLDelete |
|
65 delete test |
|
66 [Endtest] |
|
67 |
|
68 // For test function: |
|
69 // IMPORT_C TBool IsLocalized() const; |
|
70 [Test] |
|
71 title TestDLIsLocalized#7 |
|
72 create testsdkdirloc test |
|
73 test TestDLNewL |
|
74 test TestDLSetFullPath |
|
75 test TestDLIsLocalized |
|
76 test TestDLDelete |
|
77 delete test |
|
78 [Endtest] |
|
79 |
|
80 // For test function: |
|
81 // IMPORT_C const TDesC& LocalizedName() const; |
|
82 [Test] |
|
83 title TestDLLocalizedName#8 |
|
84 create testsdkdirloc test |
|
85 test TestDLNewL |
|
86 test TestDLLocalizedName |
|
87 test TestDLDelete |
|
88 delete test |
|
89 [Endtest] |
|
90 |
|
91 // For test function: |
|
92 // IMPORT_C const TDesC& ExtraData() const; |
|
93 [Test] |
|
94 title TestDLExtraData#9 |
|
95 create testsdkdirloc test |
|
96 test TestDLNewL |
|
97 test TestDLExtraData |
|
98 test TestDLDelete |
|
99 delete test |
|
100 [Endtest] |
|
101 |
|
102 // For test function: |
|
103 // IMPORT_C TInt Icon() const; |
|
104 [Test] |
|
105 title TestDLIcon#10 |
|
106 create testsdkdirloc test |
|
107 test TestDLNewL |
|
108 test TestDLIcon |
|
109 test TestDLDelete |
|
110 delete test |
|
111 [Endtest] |
|
112 |
|