-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve readability and reusability. When I started to read the test it took me some time to understand it. The reason was the configurable statement TestStatement and the evaluateWith... methods. The refactored test uses fixed Statements when possible and uses smaller methods for wrapping FailOnTimeout with a ThrowingRunnable and for wrapping an arbitrary statement with a FailOnTimeout. It also calls FailOnTimeout#evaluate directly when possible.
- Loading branch information
1 parent
64634e1
commit 2db6394
Showing
1 changed file
with
135 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters