Skip to content

Commit

Permalink
(#1000) Created puzzle for RepeatedProc decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
iakunin committed Jan 31, 2020
1 parent 909110e commit 7c165bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/java/org/cactoos/experimental/TimedTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@ public void failsDueToTimeoutWithInlineExecutorService() {
/**
* Repeat the test several times.
* @param test The test to execute.
* @todo #1000:30min Create RepeatedProc decorator in order to get rid of this `dummy` object.
* After it's done:
* 1. Leave a puzzle for creation RepeatedCallable decorator
* 2. Leave a puzzle for splitting the entire `org.cactoos.func` package into
* `org.cactoos.func`, `org.cactoos.proc` and `org.cactoos.callable`, with each one holding
* their related decorators, classes and interfaces.
*/
private void repeat(final Proc<Object> test) {
final Object dummy = new Object();
Expand Down

0 comments on commit 7c165bf

Please sign in to comment.