Apache Commons Lang
Go to file
Allon Mureinik 762641dcdb Update event tests to JUnit Jupiter
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.
2018-10-06 15:05:16 +03:00
src Update event tests to JUnit Jupiter 2018-10-06 15:05:16 +03:00
.gitattributes
.gitignore
.travis.yml Travis: Also build with openjdk-ea, but allow openjdk-ea builds to fail. 2018-10-06 11:36:04 +02:00
CONTRIBUTING.md
LICENSE.txt
NOTICE.txt
README.md Fix dead links in README.md (closes #359) 2018-10-06 09:59:44 +02:00
RELEASE-NOTES.txt (fix) RELEASE-NOTES.txt on master to look like 3.8.1 dist 2018-09-22 17:45:29 -04:00
checkstyle-suppressions.xml
checkstyle.xml
pom.xml
spotbugs-exclude-filter.xml

README.md

Apache Commons Lang

Build Status Coverage Status Maven Central Javadocs

Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

Documentation

More information can be found on the Apache Commons Lang homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Lang should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-lang3</artifactId>
  <version>3.8.1</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons Lang? Then donate back to the ASF to support the development.

Additional Resources