Documentation/Widget testing: Difference between revisions

From Commontk
Jump to navigationJump to search
No edit summary
Line 27: Line 27:
CTK Widgets :
CTK Widgets :
----
----
# ctkActionsWidget        {{Done}}
# ctkActionsWidget        {{Done}}
# ctkAddRemoveComboBox    {{Done}}
# ctkAddRemoveComboBox    {{Done}}
# ctkAxesWidget            {{Done}}
# ctkAxesWidget            {{Done}}
# ctkBasePopupWidget      {{Done}}
# ctkBasePopupWidget      {{Done}}
# ctkButtonGroup          {{Not Done}}
# ctkButtonGroup          {{Not Done}}
# ctkCheckableComboBox
# ctkCheckableComboBox
# ctkCheckableHeaderView
# ctkCheckableHeaderView
# ctkCheckBoxPixmaps
# ctkCheckBoxPixmaps
# ctkCheckablePushButton
# ctkCheckablePushButton
# ctkComboBox
# ctkComboBox
# ctkCompleter
# ctkCompleter
# ctkCollapsibleButton
# ctkCollapsibleButton
# ctkCollapsibleGroupBox
# ctkCollapsibleGroupBox
# ctkColorDialog
# ctkColorDialog
# ctkColorPickerButton
# ctkColorPickerButton
# ctkConsole
# ctkConsole
# ctkConfirmExitDialog
# ctkConfirmExitDialog
# ctkCoordinatesWidget
# ctkCoordinatesWidget
# ctkCrosshairLabel
# ctkCrosshairLabel
# ctkDateRangeWidget
# ctkDateRangeWidget
# ctkDirectoryButton
# ctkDirectoryButton
# ctkDoubleRangeSlider
# ctkDoubleRangeSlider
# ctkDoubleSlider
# ctkDoubleSlider
# ctkDynamicSpacer
# ctkDynamicSpacer
# ctkErrorLogStatusMessageHandler
# ctkErrorLogStatusMessageHandler
# ctkErrorLogWidget
# ctkErrorLogWidget
# ctkExpandButton
# ctkExpandButton
# ctkFileDialog
# ctkFileDialog
# ctkFittedTextBrowser
# ctkFittedTextBrowser
# ctkFlowLayout
# ctkFlowLayout
# ctkFontButton
# ctkFontButton
# ctkIconEnginePlugin
# ctkIconEnginePlugin
# ctkLayoutManager
# ctkLayoutManager
# ctkMaterialPropertyPreviewLabel
# ctkMaterialPropertyPreviewLabel
# ctkMaterialPropertyWidget
# ctkMaterialPropertyWidget
# ctkMatrixWidget
# ctkMatrixWidget
# ctkMenuButton
# ctkMenuButton
# ctkMenuComboBox
# ctkMenuComboBox
# ctkModalityWidget
# ctkModalityWidget
# ctkPathLineEdit
# ctkPathLineEdit
# ctkPixmapIconEngine
# ctkPixmapIconEngine
# ctkPopupWidget
# ctkPopupWidget
# ctkQImageView
# ctkQImageView
# ctkRangeSlider
# ctkRangeSlider
# ctkRangeWidget
# ctkRangeWidget
# ctkScreenshotDialog
# ctkScreenshotDialog
# ctkSearchBox
# ctkSearchBox
# ctkSettings
# ctkSettings
# ctkSettingsDialog
# ctkSettingsDialog
# ctkSettingsPanel
# ctkSettingsPanel
# ctkSignalMapper
# ctkSignalMapper
# ctkSimpleLayoutManager
# ctkSimpleLayoutManager
# ctkSliderWidget
# ctkSliderWidget
# ctkTestApplication
# ctkTestApplication
# ctkThumbnailListWidget
# ctkThumbnailListWidget
# ctkThumbnailWidget
# ctkThumbnailWidget
# ctkToolTipTrapper
# ctkToolTipTrapper
# ctkTransferFunctionBarsItem
# ctkTransferFunctionBarsItem
# ctkTransferFunctionControlPointsItem
# ctkTransferFunctionControlPointsItem
# ctkTransferFunctionGradientItem
# ctkTransferFunctionGradientItem
# ctkTransferFunctionItem
# ctkTransferFunctionItem
# ctkTransferFunctionScene
# ctkTransferFunctionScene
# ctkTransferFunctionView
# ctkTransferFunctionView
# ctkTreeComboBox
# ctkTreeComboBox
# ctkWidgetsUtils
# ctkWidgetsUtils
# ctkWorkflowAbstractPagedWidget
# ctkWorkflowAbstractPagedWidget
# ctkWorkflowButtonBoxWidget
# ctkWorkflowButtonBoxWidget
# ctkWorkflowGroupBox
# ctkWorkflowGroupBox
# ctkWorkflowStackedWidget
# ctkWorkflowStackedWidget
# ctkWorkflowTabWidget
# ctkWorkflowTabWidget
# ctkWorkflowWidget
# ctkWorkflowWidget
# ctkWorkflowWidgetStep
# ctkWorkflowWidgetStep


= Screenshots =
= Screenshots =

Revision as of 17:34, 18 October 2011

Home < Documentation < Widget testing

Back to CTK Documentation

Overview

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 Note: Option CTK_USE_QTTESTING will be automatically enabled if BUILD_TESTING is ON

Milestones

  1. Integration: What and where. Yes check.png
  2. Integrate QtTesting has an external projects Yes check.png
  3. Implement ctkEventTranslaterPlayerWidget Znak A-14.png
  4. Create custom translator/player if needed Znak A-14.png
  5. Implement widgets EventTranslatorTests Znak A-14.png

Player/Translators Widget Testing

CTK Widgets :


  1. ctkActionsWidget Yes check.png
  2. ctkAddRemoveComboBox Yes check.png
  3. ctkAxesWidget Yes check.png
  4. ctkBasePopupWidget Yes check.png
  5. ctkButtonGroup X mark.png
  6. ctkCheckableComboBox
  7. ctkCheckableHeaderView
  8. ctkCheckBoxPixmaps
  9. ctkCheckablePushButton
  10. ctkComboBox
  11. ctkCompleter
  12. ctkCollapsibleButton
  13. ctkCollapsibleGroupBox
  14. ctkColorDialog
  15. ctkColorPickerButton
  16. ctkConsole
  17. ctkConfirmExitDialog
  18. ctkCoordinatesWidget
  19. ctkCrosshairLabel
  20. ctkDateRangeWidget
  21. ctkDirectoryButton
  22. ctkDoubleRangeSlider
  23. ctkDoubleSlider
  24. ctkDynamicSpacer
  25. ctkErrorLogStatusMessageHandler
  26. ctkErrorLogWidget
  27. ctkExpandButton
  28. ctkFileDialog
  29. ctkFittedTextBrowser
  30. ctkFlowLayout
  31. ctkFontButton
  32. ctkIconEnginePlugin
  33. ctkLayoutManager
  34. ctkMaterialPropertyPreviewLabel
  35. ctkMaterialPropertyWidget
  36. ctkMatrixWidget
  37. ctkMenuButton
  38. ctkMenuComboBox
  39. ctkModalityWidget
  40. ctkPathLineEdit
  41. ctkPixmapIconEngine
  42. ctkPopupWidget
  43. ctkQImageView
  44. ctkRangeSlider
  45. ctkRangeWidget
  46. ctkScreenshotDialog
  47. ctkSearchBox
  48. ctkSettings
  49. ctkSettingsDialog
  50. ctkSettingsPanel
  51. ctkSignalMapper
  52. ctkSimpleLayoutManager
  53. ctkSliderWidget
  54. ctkTestApplication
  55. ctkThumbnailListWidget
  56. ctkThumbnailWidget
  57. ctkToolTipTrapper
  58. ctkTransferFunctionBarsItem
  59. ctkTransferFunctionControlPointsItem
  60. ctkTransferFunctionGradientItem
  61. ctkTransferFunctionItem
  62. ctkTransferFunctionScene
  63. ctkTransferFunctionView
  64. ctkTreeComboBox
  65. ctkWidgetsUtils
  66. ctkWorkflowAbstractPagedWidget
  67. ctkWorkflowButtonBoxWidget
  68. ctkWorkflowGroupBox
  69. ctkWorkflowStackedWidget
  70. ctkWorkflowTabWidget
  71. ctkWorkflowWidget
  72. ctkWorkflowWidgetStep

Screenshots