aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java
AgeCommit message (Collapse)Author
2022-07-15More precise exceptionsGary Gregory
2022-07-05All tests should leave the ToStringStyle registry empty.Gary Gregory
2022-05-30Reuse Function identityGary Gregory
2022-03-07Fix Checkstyle issue.Gary Gregory
2022-03-07Use try-with-resources.Gary Gregory
2019-09-12More lambdas, less boilerplate.Gary Gregory
2018-10-06Update event tests to JUnit JupiterAllon Mureinik
Upgrade the tests in the event 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 noting the tests that test thrown excetpions. Prior to this patch, this package tested for exceptions in two ways, neither of which are supported in JUnit Jupiter: 1. With the "expected" argument of the org.junit.Test annotation. 2. With the org.junit.rules.ExpectedException @Rule Both of these usages were replaced with calls to org.junit.jupiter.api.Assertions#assertThrows.
2017-06-06Make sure lines in files don't have trailing white spaces and remove all ↵Benedikt Ritter
trailing white spaces
2016-10-23Remove redundant type arguments.Gary Gregory
2015-05-12Format source codeBenedikt Ritter
2015-05-11Added new addListener() method that takes a boolean for if duplicates are ↵Matthew Aguirre
allowed. Added test method to make sure that duplicate listeners are not added.
2015-05-05Removed @version $ from source per LANG-1129Henri Yandell
2014-01-28Resolved compiler warnings shown in Eclipse and when compiling with ↵Duncan Jones
-Xlint:unchecked. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562017 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28Add missing serial version ID (default 1L).Gary D. Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553926 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22Add final modifier to local variables.Gary D. Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436770 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22Add final modifier to method parameters.Gary D. Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436768 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05ImportsSebastian Bazley
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1417451 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20JUnit4 allows use of expected exceptionsSebastian Bazley
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388108 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18[LANG-824] Conversion of 3.x JUnit tests to 4.x; thanks to Duncan JonesMatthew Jason Benson
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1387361 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05Add missing @Override.Gary D. Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10Convert to Java 5 enhanced loops. Gary D. Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144929 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07Missing @OverrideSebastian Bazley
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089974 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01Moving away from testing with java.awt code because on OS X it kicks off a ↵Henri Yandell
Java UI window, also causing Gump to fail when running headless. See: http://mail-archives.apache.org/mod_mbox/commons-dev/201011.mbox/%3C87lj4p1ekq.fsf@v35516.1blu.de%3E and its replies git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1040879 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14Organize imports only.Gary D. Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1022749 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13unused importMatthew Jason Benson
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996691 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19allow subclass custom invocation handlingMatthew Jason Benson
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987336 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19add serialization support to EventListenerSupportMatthew Jason Benson
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987326 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18provide read access to the registered listener instancesMatthew Jason Benson
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@986954 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26missing svn keywords and @version: $ tagsMatthew Jason Benson
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979392 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Adding test cases for null checks.James W. Carman
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966821 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Improving javadoc documentation.James W. Carman
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966812 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Improving error checking logic and adding test cases to verify.James W. Carman
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966807 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Changing eol-style to native.James W. Carman
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966601 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Misc. event utils.James W. Carman
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966589 13f79535-47bb-0310-9956-ffa450edef68