equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
46 |
46 |
47 class CTestCone2Control : public CCoeControl |
47 class CTestCone2Control : public CCoeControl |
48 { |
48 { |
49 public: |
49 public: |
50 DECLARE_TYPE_ID(0x10004C77) |
50 DECLARE_TYPE_ID(0x10004C77) |
51 void ConstructL(); |
51 void ConstructL(); |
|
52 TInt CreateWindow(); |
52 private: // from CCoeControl |
53 private: // from CCoeControl |
53 void MakeVisible(TBool aVisible); |
54 void MakeVisible(TBool aVisible); |
54 public: |
55 public: |
55 TBool iDisplayed; |
56 TBool iDisplayed; |
56 }; |
57 }; |
57 |
58 |
58 |
59 |
59 //! A CCoeControl Derived Class.\n |
60 //! A CCoeControl Derived Class.\n |
60 /** A container control. Tests container to component interface.\n */ |
61 /** A container control. Tests container to component interface.\n */ |
61 |
62 |
95 void TestColorUseAPIsL(); |
96 void TestColorUseAPIsL(); |
96 void TestConeMiscAPIsL(); |
97 void TestConeMiscAPIsL(); |
97 void TestConeInputCapabilitiesAPIs(); |
98 void TestConeInputCapabilitiesAPIs(); |
98 void TestReadResourceAPIsL(); |
99 void TestReadResourceAPIsL(); |
99 void TestSetandGetCCoeControlAPIsL(); |
100 void TestSetandGetCCoeControlAPIsL(); |
100 CTestExecuteLogger& Logger(){return iStep->Logger();}; |
101 void TestLowMemoryCoeControl(); |
|
102 inline CTestExecuteLogger& Logger() {return iStep->Logger();} |
101 private: |
103 private: |
102 //! Handle to AppUi Class.\n |
104 //! Handle to AppUi Class.\n |
103 CCoeAppUi& iAppUi; |
105 CCoeAppUi& iAppUi; |
104 //! Resource File Id.\n |
106 //! Resource File Id.\n |
105 TInt iResourceFileFlag; |
107 TInt iResourceFileFlag; |