PeTrack merge requestshttps://jugit.fz-juelich.de/ped-dyn-emp/petrack/-/merge_requests2023-06-22T09:16:01+02:00https://jugit.fz-juelich.de/ped-dyn-emp/petrack/-/merge_requests/141Add extra tab for trajectory tests2023-06-22T09:16:01+02:00Schrödter, TobiasAdd extra tab for trajectory testsAdds an extra tab for the included trajectory tests. The desired tests can be enabled via checkboxes, and the results are displayed in a table. A click on a row jumps to the corresponding frame and shows only the pedestrian for whom the ...Adds an extra tab for the included trajectory tests. The desired tests can be enabled via checkboxes, and the results are displayed in a table. A click on a row jumps to the corresponding frame and shows only the pedestrian for whom the test failed.
Implementation details:
- Make `checkPlausibility` a free function
- Create extra QWidget for the content of the new tab (trying not to increase complexity of control more)
**Open ToDos:**
- [x] button to run the tests
- [x] check boxes to enable/disable tests
- [x] parameters for the tests
- [x] table which shows the results of the tests
- [x] click on an entry of the test should jump to the frame with the issue
- [x] row should contain a resolve button which marks the tests as resolved at deletes it from the table (may reappear if `run test` is clicked again
- [x] Change error-string (delete part with frame and person-number)
Closes #214
# Reviewer Checklist
## Formatting
- [ ] the pre-build checks succeed
## General code quality
- [ ] naming conventions are met (see .clang-tidy for detailed information)
- [ ] no static analyzer warnings in new code parts (e.g., use clang-tidy for checking)
## General usability
- [ ] old versions of pet-files are still loadable
## Only if changes in UI
- [ ] new elements are also saved and loaded from pet-file
- [ ] check if tab order is still correct
- [ ] all new SpinBoxes are promoted
- [ ] new keybindings added to `Petrack::keyBindings()`