commit | db0f893a89c7ac9f58c5ab0128cc26974e91a3ce | [log] [tgz] |
---|---|---|
author | Paul Pazderski <paul-eclipse@ppazderski.de> | Wed May 08 16:23:01 2019 +0200 |
committer | Paul Pazderski <paul-eclipse@ppazderski.de> | Mon Sep 23 06:28:49 2019 -0400 |
tree | 7858f367757928d3bd53520048120b4777f55c55 | |
parent | 8ccad171e66800e09d381954ae51d4c05fd07fa3 [diff] |
Bug 550617 - [tests] Add helper method for preference changes If a unit test need to change a preference a common pattern is to get the current value, set the value for test and then ensure to reset the old value after the test finished to not influence other tests. The helper simplify this task. Change-Id: Ifeb1731b9f44bfcb85cb61cae17da22116803dfb Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>