-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion.java:111-115: Avoid the overloading ctor to... #88
Comments
This puzzle inherited milestone |
@llorllale/z please, pay attention to this issue |
Job #88 is now in scope, role is |
@0crat wait
@llorllale: what is the prefered approach? |
@longstone The impediment for #88 was registered successfully by @longstone/z |
@longstone none of the above? I don't have an answer for you, sorry. |
@longstone see the discussion here too #106 (comment) I think things are kind of overcomplicated for nothing. If it is necessary to keep the final AtomicInteger quantity = new AtomicInteger(0);
new Assertion<Scalar<Text>>(
"scalar throws the exception",
() -> () -> {
quantity.incrementAndGet();
throw new IllegalStateException("this is a test");
},
new Throws<>("this is a test", IllegalStateException.class)
).affirm(); But I think it would be simply nicer to just have |
@longstone for the record, after discussing it in #106, we concluded that the best solution was the one outlined here: #106 (comment) @llorllale by the way, it seems @longstone stopped working on this… |
@0crat refuse |
@0crat assign me |
@llorllale The user @longstone/z resigned from #88, please stop working. Reason for job resignation: Order was cancelled |
@llorllale The job #88 assigned to @llorllale/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; we should be aware that @llorllale/z is on vacation; this ticket may be delayed; there will be no monetary reward for this job |
Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @llorllale/z |
First in a series of small steps to refactor the Assertion API: * new Assertion2 that simplifies the API for testing values (scalars no longer required for values). * Assertion to be replaced with Assertion2 in all tests, then deleted * Assertion2 to be renamed 'Assertion'
@llorllale The impediment for #88 was registered successfully by @llorllale/z |
First in a series of small steps to refactor the Assertion API: * new Assertion2 that simplifies the API for testing values (scalars no longer required for values). * Assertion to be replaced with Assertion2 in all tests, then deleted * Assertion2 to be renamed 'Assertion'
The puzzle |
The job #88 is now out of scope |
Order was finished: +30 point(s) just awarded to @llorllale/z |
The puzzle
53-0c767106
from #53 has to be resolved:cactoos-matchers/src/main/java/org/llorllale/cactoos/matchers/Assertion.java
Lines 111 to 115 in 84e2fb9
The puzzle was created by @dgroup on 21-Jan-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
The text was updated successfully, but these errors were encountered: