Ticket #5615 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Add a reset method to the ConfigService

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.2
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Jean Bilheux

Description

Basically a reset to factory defaults to ensure that when you update a key you can be sure it is changed.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Add a reset method to the ConfigService. Refs #5615

This will help ensure that for the system tests we can reset the config once it has loaded and only save keys that we change just in case an old config was not restored.

Changeset: 441f390d236ba004e75732b18dd624f47bf12e0f

comment:2 Changed 8 years ago by Martyn Gigg

Fix OS X build. Refs #5615

It doesn't like the fstream std::string constructor

Changeset: 6093316b4753f70c66283cd6bca857a1ef8a0be7

comment:3 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:4 Changed 8 years ago by Martyn Gigg

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

comment:5 Changed 8 years ago by Martyn Gigg

Add a reset method to the ConfigService. Refs #5615

This will help ensure that for the system tests we can reset the config once it has loaded and only save keys that we change just in case an old config was not restored.

Changeset: 441f390d236ba004e75732b18dd624f47bf12e0f

comment:6 Changed 8 years ago by Martyn Gigg

Fix OS X build. Refs #5615

It doesn't like the fstream std::string constructor

Changeset: 6093316b4753f70c66283cd6bca857a1ef8a0be7

comment:7 Changed 8 years ago by Jean Bilheux

  • Status changed from verify to verifying
  • Tester set to Jean Bilheux

comment:8 Changed 8 years ago by Jean Bilheux

  • Status changed from verifying to closed

Went through the code and looks ok.

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6461

Note: See TracTickets for help on using tickets.