From 016699f1806b781c7196b2272cd6875f9ee6f3b1 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Sat, 4 May 2019 12:50:43 -0400 Subject: [PATCH 1/2] add readme --- guava-testlib/README.md | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 guava-testlib/README.md diff --git a/guava-testlib/README.md b/guava-testlib/README.md new file mode 100644 index 000000000000..f714a6f69018 --- /dev/null +++ b/guava-testlib/README.md @@ -0,0 +1,44 @@ +# Guava Testlib: Google Testing Libraries for Java + +Guava Testlib is a set of utilities for writing JUnit tests. + +## Adding Guava Testlib to your build + +Guava's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. + +To add a dependency on Guava using Maven, use the following: + +```xml + + com.google.guava + guava-testlib + 27.1-jre + test + +``` + +To add a dependency using Gradle: + +```gradle +dependencies { + test 'com.google.guava:guava-testlib:27.1-jre' +} +``` + +## Links + +- [GitHub project](https://github.com/google/guava) +- [Issue tracker: Report a defect or feature request](https://github.com/google/guava/issues/new) +- [StackOverflow: Ask "how-to" and "why-didn't-it-work" questions](https://stackoverflow.com/questions/ask?tags=guava+java) +- [guava-discuss: For open-ended questions and discussion](http://groups.google.com/group/guava-discuss) + +## IMPORTANT WARNINGS + +1. APIs marked with the `@Beta` annotation at the class or method level +are subject to change. They can be modified in any way, or even +removed, at any time. If your code is a library itself (i.e. it is +used on the CLASSPATH of users outside your own control), you should +not use beta APIs, unless you [repackage] them. **If your +code is a library, we strongly recommend using the [Guava Beta Checker] to +ensure that you do not use any `@Beta` APIs!** + From 50556433bdedb802c4d70b86a7878e16d4033c25 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Sat, 4 May 2019 12:52:38 -0400 Subject: [PATCH 2/2] fix name --- guava-testlib/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guava-testlib/README.md b/guava-testlib/README.md index f714a6f69018..8182ee7e0ab4 100644 --- a/guava-testlib/README.md +++ b/guava-testlib/README.md @@ -1,12 +1,13 @@ # Guava Testlib: Google Testing Libraries for Java -Guava Testlib is a set of utilities for writing JUnit tests. +Guava testlib is a set of Java classes for more convenient +unit testing. ## Adding Guava Testlib to your build -Guava's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. +Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. -To add a dependency on Guava using Maven, use the following: +To add a dependency on Guava testlib using Maven, use the following: ```xml