Ticket #2666 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Progress: Make a version that outputs to std out, for use in tests

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

... This would be a subclass of API::Progress that prints out, and can be a drop-in replacement to the usual one that updates the GUI.

Also, I want to be able to set how many steps are to be done after construction (to allow a routine to calculate how many steps; the constructor still specifies start/stop).

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [10106]) Fixes #2666: new Progress reporter that prints to the console, for testing. Also, cleaned up the existing Progress class a bit.

comment:3 Changed 10 years ago by Janik Zikovsky

(In [10110]) Refs #2666: A couple of extra tests.

comment:4 Changed 10 years ago by Janik Zikovsky

(In [10111]) Refs #2666 and Refs #2012: Progress reporting in tests for MDGrid

comment:5 Changed 10 years ago by Janik Zikovsky

(In [10114]) Refs #2666: Fix windows build.

comment:6 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:7 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

MDGridBoxTest passes. ProgressTextTest passes.

Also, progress updates now drive progress bar in paraview plugins.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3513

Note: See TracTickets for help on using tickets.