Skip to content

Conversation

adriazalvarez
Copy link
Contributor

@adriazalvarez adriazalvarez commented Sep 2, 2024

Description of work

Add unit tests for the IqtPresenter class. This issue is part of #36582

Summary of work

Fixes #37890 .

Further detail of work

To test:

  • All tests are passing in the CI.
  • Code review.

Reviewer

Please comment on the points listed below (full description).
Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

  • Is the code of an acceptable quality?
  • Does the code conform to the coding standards?
  • Are the unit tests small and test the class in isolation?
  • If there is GUI work does it follow the GUI standards?
  • If there are changes in the release notes then do they describe the changes appropriately?
  • Do the release notes conform to the release notes guide?

Functional Tests

  • Do changes function as described? Add comments below that describe the tests performed?
  • Do the changes handle unexpected situations, e.g. bad input?
  • Has the relevant (user and developer) documentation been added/updated?

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.

@adriazalvarez adriazalvarez added ISIS: Spectroscopy Issue and pull requests relating to Muons, Indirect and Inelastic at ISIS Maintenance Unassigned issues to be addressed in the next maintenance period. Indirect/Inelastic Issues and pull requests related to indirect or inelastic labels Sep 2, 2024
@adriazalvarez adriazalvarez added this to the Release 6.11 milestone Sep 2, 2024
@adriazalvarez adriazalvarez marked this pull request as ready for review September 2, 2024 14:08
Copy link
Contributor

@warunawickramasingha warunawickramasingha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes and happy to approve!

@SilkeSchomann SilkeSchomann self-assigned this Sep 19, 2024
@SilkeSchomann SilkeSchomann merged commit fec95ed into main Sep 19, 2024
10 checks passed
@SilkeSchomann SilkeSchomann deleted the test_iqt_presenter branch September 19, 2024 07:11
mpatrou pushed a commit that referenced this pull request Nov 21, 2024
This is a squashed version of #37901

Add test for IqtPresenter, and mocks for Iqtmodel and view

Eliminate unused funciton in IqtPresenter

Remove unnecesary virtual functions

override data processor destructor to make it virtual
mpatrou added a commit that referenced this pull request Nov 25, 2024
Add tests for IqtPresenter tab #37901
Elwin allow processing ILL data #38033
Update Qt connection syntax in Inelastic Interfaces #38119
Update Moments tab instructions and add more tests #38274
Construct the model of OutputPlotOptions widget outside the Presenter class.  #38289
Add identifier for output workspaces in Elwin Interface #37762
MVP for the ResNorm tab of the Inelastic Bayes Fitting interface #38357
Remove deprecated Calculate Paalman Pings tab from Inelastic Corrections #38391
Use std::pair instead of QPair in utility files #38396
Elwin Elastic line integration issue #38392
---------

Co-authored-by: adriazalvarez <adrian.diaz-alvarez@stfc.ac.uk>
Co-authored-by: Applin <robert.applin@stfc.ac.uk>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic ISIS: Spectroscopy Issue and pull requests relating to Muons, Indirect and Inelastic at ISIS Maintenance Unassigned issues to be addressed in the next maintenance period.
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

Add tests for the presenter of the Data Processor Iqt Interface
4 participants