Documentation/Widget testing: Difference between revisions
From Commontk
Jump to navigationJump to search
Line 33: | Line 33: | ||
! scope=col | Widgets | ! scope=col | Widgets | ||
! scope=col | State | ! scope=col | State | ||
! scope=col | Priority | |||
! scope=col | Notes | ! scope=col | Notes | ||
|- | |- | ||
|ctkActionsWidget | |ctkActionsWidget | ||
|{{Done}} | |{{Done}} | ||
| | |'''+++''' | ||
| | | | ||
|- | |- | ||
Line 48: | Line 48: | ||
|ctkAxesWidget | |ctkAxesWidget | ||
|{{Done}} | |{{Done}} | ||
| | |'''+++''' | ||
| | | | ||
|- | |- | ||
Line 134: | Line 134: | ||
|{{Not Done}} | |{{Not Done}} | ||
| | | | ||
| | |''Problem with QDateTimer'' | ||
|- | |- | ||
|ctkDirectoryButton | |ctkDirectoryButton | ||
|{{Done}}{{Doing}} | |{{Done}}{{Doing}} | ||
| | | | ||
| | |''Value OK but no dialog'' | ||
|- | |- | ||
|ctkDoubleRangeSlider | |ctkDoubleRangeSlider | ||
Line 163: | Line 163: | ||
|ctkErrorLogWidget | |ctkErrorLogWidget | ||
|{{Not Done}} | |{{Not Done}} | ||
| | |'''---''' | ||
| | | | ||
|- | |- | ||
|ctkExpandButton | |ctkExpandButton | ||
|{{Not Done}} | |{{Not Done}} | ||
| | |'''++''' | ||
| | | | ||
|- | |- | ||
Line 223: | Line 223: | ||
|ctkMenuComboBox | |ctkMenuComboBox | ||
|{{Not Done}} | |{{Not Done}} | ||
| | |'''+++''' | ||
| | | | ||
|- | |- | ||
Line 253: | Line 253: | ||
|ctkRangeSlider | |ctkRangeSlider | ||
|{{Done}} | |{{Done}} | ||
| | |'''++''' | ||
| | | | ||
|- | |- | ||
|ctkRangeWidget | |ctkRangeWidget | ||
|{{Doing}} | |{{Doing}} | ||
| | |'''++''' | ||
| | | | ||
|- | |- | ||
Line 268: | Line 268: | ||
|ctkSearchBox | |ctkSearchBox | ||
|{{Not Done}} | |{{Not Done}} | ||
| | |'''++''' | ||
| | | | ||
|- | |- | ||
|ctkSettings | |ctkSettings | ||
|{{Not Done}} | |{{Not Done}} | ||
| | |'''++''' | ||
| | | | ||
|- | |- | ||
|ctkSettingsDialog | |ctkSettingsDialog | ||
|{{Not Done}} | |{{Not Done}} | ||
| | |'''++''' | ||
| | | | ||
|- | |- |
Revision as of 07:57, 19 October 2011
Home < Documentation < Widget testingOverview
Testing of both CTK widgets and application built on top of CTK could leverage the capabilities offered by the QtTesting library developed by Paraview folks.
If the option CTK_USE_QTTESTING is enabled, the build system will:
- Download external project QtTesting
- Include the event translator and player required for custom CTK widgets. (Located in the same folder as their associated widget sources)
- Include the class ctkEventTranslaterPlayerWidget into CTKWidgets library
- If BUILD_TESTING is enabled: CTK widgets EventTranslatorTests will be compiled. These tests will use ctkEventTranslaterPlayerWidget and ensure that events associated with CTK widgets can be properly recorded and played.
Note: Option CTK_USE_QTTESTING will be automatically enabled if BUILD_TESTING is ON
Milestones
- Integration: What and where.
- Integrate QtTesting has an external projects
- Implement ctkEventTranslaterPlayerWidget
- Create custom translator/player if needed
- Implement widgets EventTranslatorTests
Player/Translators Widget Testing
CTKWidgets