Bug 558642: SafeRunner can return results
SafeRunner has a second run method which expects a
ISafeRunnableWithResult<T>. The run method returns this result.
Also some refactoring of the handleException method has been done (boy
scout rule).
Furthermore test have been improved:
- adapt to lambda
- better test method names to recognize what was wrong
- better text messages in assertions
Change-Id: I65c9104c3833fb6fe9044a2a3a73e477e0636e40
Signed-off-by: Marcus Hoepfner <marcus.hoepfner@sap.com>
5 files changed