diff options
author | Siri Hansen <[email protected]> | 2012-01-04 16:09:01 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-03-19 09:48:53 +0100 |
commit | 40014d4b190c86044df5f1aa70dad7138d531b7b (patch) | |
tree | c691b431232fe7c8e44bdf1d50dd04ae9d563ef9 /lib/reltool/test/reltool_test_lib.hrl | |
parent | 3087769515ea9bfc75f7d7b8897bc897c7f13931 (diff) | |
download | otp-40014d4b190c86044df5f1aa70dad7138d531b7b.tar.gz otp-40014d4b190c86044df5f1aa70dad7138d531b7b.tar.bz2 otp-40014d4b190c86044df5f1aa70dad7138d531b7b.zip |
[reltool] Add more test cases and fix bugs
OTP-9794
The following test cases are added for the inteface from GUI to
reltool_server:
* get_config
* get_apps
* set_app_and_undo
* set_apps_and_undo
* load_config_and_undo
* reset_config_and_undo
* save_config
The following bugs were found and corrected:
* If set_apps failed, then the state of reltool_server would not
be reset to how it was before the failing operation - and every
operation done afterwards would also (seem to) fail.
* undo_config did not work after reset_config - since faulty #sys
record was stored as old_sys.
* undo_config did not work after set_app (used when changing the
content of an application from the GUI) - since old_sys was not
set. Also old_status was not set causing possible warnings to
disappear.
* undo_config did not work after set_apps (used e.g. when
excluding or including an application from the GUI) - since
old_sys was not set. Also old_status was not set causing
possible warnings to disappear.
Diffstat (limited to 'lib/reltool/test/reltool_test_lib.hrl')
0 files changed, 0 insertions, 0 deletions