TableViewerWidgetTestFixture
TableViewerWidgetTestFixture
Test fixture for TableViewerWidget that creates test data similar to EventInIntervalComputer tests. More…
Protected Functions
| Name | |
|---|---|
| TableViewerWidgetTestFixture() | |
| ~TableViewerWidgetTestFixture() =default | |
| DataManager & | getDataManager() Get the DataManager instance. |
| DataManager const & | getDataManager() const |
| DataManager * | getDataManagerPtr() |
| TableRegistry & | getTableRegistry() Get the TableRegistry from DataManager. |
| std::shared_ptr< DataManagerExtension > | getDataManagerExtension() Get DataManagerExtension for building tables. |
| std::shared_ptr< TableView > | createSampleTableView() Create a sample TableView for testing. |
| std::vector< ColumnInfo > | createSampleColumnInfos() Create column infos for table configuration testing. |
| std::unique_ptr< IRowSelector > | createSampleRowSelector() Create a row selector for table configuration testing. |
Detailed Description
class TableViewerWidgetTestFixture;Test fixture for TableViewerWidget that creates test data similar to EventInIntervalComputer tests.
This fixture provides:
- DataManager with TimeFrames and test data
- TableRegistry access
- Methods to create TableView objects for testing
- Mock event and interval data for realistic testing
Protected Functions Documentation
function TableViewerWidgetTestFixture
inline TableViewerWidgetTestFixture()function ~TableViewerWidgetTestFixture
~TableViewerWidgetTestFixture() =defaultfunction getDataManager
inline DataManager & getDataManager()Get the DataManager instance.
function getDataManager
inline DataManager const & getDataManager() constfunction getDataManagerPtr
inline DataManager * getDataManagerPtr()function getTableRegistry
inline TableRegistry & getTableRegistry()Get the TableRegistry from DataManager.
function getDataManagerExtension
inline std::shared_ptr< DataManagerExtension > getDataManagerExtension()Get DataManagerExtension for building tables.
function createSampleTableView
inline std::shared_ptr< TableView > createSampleTableView()Create a sample TableView for testing.
Return: Shared pointer to a TableView with test data
function createSampleColumnInfos
inline std::vector< ColumnInfo > createSampleColumnInfos()Create column infos for table configuration testing.
function createSampleRowSelector
inline std::unique_ptr< IRowSelector > createSampleRowSelector()Create a row selector for table configuration testing.
Updated on 2026-11-13 at 20:25:39 +0000