Current test coverage: http://cdash.mitk.org/viewCoverageFile.php?buildid=42678&fileid=549316
Description
Description
Event Timeline
Comment Actions
I have no idea how to test:
GetOutput(std::string navDataName) and
GetOutputIndex( std::string navDataName )
NavigationDataSource has no setting possibilities, so it is impossible to set a NavigationData and get it (or it's index) by it's name.
Has anyone an idea?
Comment Actions
This is right, but perhaps you can test this methods by testing the subclass TrackingDeviceSource. You can use a TrackingDevice with at least one named tool and create a TrackingDeviceSource. Then you can try to get the navigation data by calling the GetOutput(std::string navDataName) method.
Comment Actions
[e09939]: Merge branch 'bug-8950-ImproveTestNavigationDataSource'
Merged commits:
2011-09-14 15:54:42 Alfred Franz [4f019a]
added tests for methods which were untested before