summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Lee <crazybob@crazybob.org>2009-10-03 21:18:31 +0000
committerBob Lee <crazybob@crazybob.org>2009-10-03 21:18:31 +0000
commit0e4e4121f6f4bc8f4a3f83383e6cc2f45abbe91b (patch)
tree8b32db7a2835a19aee986394490874aa3e8822cf
parent899bdb54cefb6a682a6d166c8e052bcc57ee004d (diff)
downloadplatform_external_jsr330-0e4e4121f6f4bc8f4a3f83383e6cc2f45abbe91b.tar.gz
platform_external_jsr330-0e4e4121f6f4bc8f4a3f83383e6cc2f45abbe91b.tar.bz2
platform_external_jsr330-0e4e4121f6f4bc8f4a3f83383e6cc2f45abbe91b.zip
Tweaked injector configuration instructions to make them more explicit.
git-svn-id: https://atinject.googlecode.com/svn/trunk@52 3bc8319c-20ab-11de-9edc-3f40a397ab60
-rw-r--r--tck/org/atinject/tck/Tck.java22
1 files changed, 12 insertions, 10 deletions
diff --git a/tck/org/atinject/tck/Tck.java b/tck/org/atinject/tck/Tck.java
index d92e99a..76b5465 100644
--- a/tck/org/atinject/tck/Tck.java
+++ b/tck/org/atinject/tck/Tck.java
@@ -43,8 +43,9 @@ import junit.framework.TestSuite;
* }</pre>
*
* <p>The static {@code suite} method that returns a {@code Test} is a JUnit
- * convention. Feel free to run the returned tests in other ways. Configure the
- * injector as follows:
+ * convention. Feel free to run the returned tests in other ways.
+ *
+ * <p>Configure the injector as follows:
*
* <ul>
* <li>{@link org.atinject.tck.auto.Car} is implemented by
@@ -53,24 +54,25 @@ import junit.framework.TestSuite;
* {@link org.atinject.tck.auto.Seat Seat} is
* implemented by {@link org.atinject.tck.auto.DriversSeat DriversSeat}.
* <li>{@link org.atinject.tck.auto.Seat Seat} is
- * implemented by {@link org.atinject.tck.auto.Seat Seat} itself (not a
- * subclass).
+ * implemented by {@link org.atinject.tck.auto.Seat Seat} itself, and
+ * {@link org.atinject.tck.auto.Tire Tire} by
+ * {@link org.atinject.tck.auto.Tire Tire} itself
+ * (not subclasses).
* <li>{@link org.atinject.tck.auto.Engine Engine} is implemented by
* {@link org.atinject.tck.auto.V8Engine V8Engine}.
* <li>{@link javax.inject.Named @Named("spare")}
* {@link org.atinject.tck.auto.Tire Tire} is implemented by
* {@link org.atinject.tck.auto.accessories.SpareTire SpareTire}.
- * <li>The following classes may also be injected:
+ * <li>The following classes may also be injected directly:
* {@link org.atinject.tck.auto.accessories.Cupholder Cupholder},
- * {@link org.atinject.tck.auto.accessories.SpareTire SpareTire},
- * {@link org.atinject.tck.auto.Tire Tire} and
+ * {@link org.atinject.tck.auto.accessories.SpareTire SpareTire}, and
* {@link org.atinject.tck.auto.FuelTank FuelTank}.
* </ul>
*
* <p>Static and private member injection support is optional, but if your
- * injector supports those features, it must pass those tests. If static member
- * injection is supported, the static members of the following types shall
- * also be injected once:
+ * injector supports those features, it must pass the respective tests. If
+ * static member injection is supported, the static members of the following
+ * types shall also be injected once:
* {@link org.atinject.tck.auto.Convertible Convertible},
* {@link org.atinject.tck.auto.Tire Tire}, and
* {@link org.atinject.tck.auto.accessories.SpareTire SpareTire}.