Age | Commit message (Collapse) | Author |
|
|
|
|
|
Upgrade the tests in the builder package to use JUnit Jupiter as part of
the effort to remove the dependency on the Vintage Engine.
While most of these changes are drop-in replacements with no functional
benefit, it is worth mentioning the change to how expected exceptions
are tested.
Unlike org.junit.Test, org.junit.jupiter.api.Test does not have an
"expected" argument. Instead, an explicit call to
org.junit.jupiter.api.Assertions.assertThrows is used. This call allows
the test to pinpoint the exact statement that is expected to throw the
expcetion and allows making the tests a bit stricter by preventing
false-positives that could occur if the setup code would throw the
expected exception instead of the statement that was supposed to throw
it.
|
|
|
|
|
|
trailing white spaces
|
|
|
|
|
|
|
|
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436770 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436768 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436767 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390158 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309977 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199816 13f79535-47bb-0310-9956-ffa450edef68
|
|
removeFirstOccurrence(Object) delegates to remove(Object) in Java 6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199798 13f79535-47bb-0310-9956-ffa450edef68
|
|
for collections that are not thread safe.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199790 13f79535-47bb-0310-9956-ffa450edef68
|