Revision: 1094
Author: crazyboblee
Date: Mon Sep 28 15:36:21 2009
Log: Updated Guice to use latest TCK.
http://code.google.com/p/google-guice/source/detail?r=1094

Modified:
  /trunk/lib/build/javax.inject-tck.jar
  /trunk/test/com/googlecode/guice/GuiceTck.java

=======================================
--- /trunk/lib/build/javax.inject-tck.jar       Mon Sep 28 15:18:18 2009
+++ /trunk/lib/build/javax.inject-tck.jar       Mon Sep 28 15:36:21 2009
Binary file, no diff available.
=======================================
--- /trunk/test/com/googlecode/guice/GuiceTck.java      Mon Sep 28 15:18:18 2009
+++ /trunk/test/com/googlecode/guice/GuiceTck.java      Mon Sep 28 15:36:21 2009
@@ -33,10 +33,10 @@
  import org.atinject.tck.auto.accessories.Cupholder;
  import org.atinject.tck.auto.accessories.SpareTire;

-public class GuiceTck extends Tck {
-
-  protected Car getCar() {
-    return Guice.createInjector(new AbstractModule() {
+public class GuiceTck {
+
+  public static Test suite() {
+    return Tck.testsFor(Guice.createInjector(new AbstractModule() {
        protected void configure() {
          bind(Car.class).to(Convertible.class);
           
bind(Seat.class).annotatedWith(Drivers.class).to(DriversSeat.class);
@@ -46,10 +46,6 @@
          bind(Tire.class);
          bind(FuelTank.class);
        }
-    }).getInstance(Car.class);
-  }
-
-  public static Test suite() {
-    return new GuiceTck();
+    }).getInstance(Car.class));
    }
  }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to