Revision: 1499
Author: sberlin
Date: Sat Feb 19 16:50:36 2011
Log: validate that issue 432 is not a problem anymore.
http://code.google.com/p/google-guice/source/detail?r=1499

Modified:
 /trunk/core/test/com/google/inject/TypeListenerTest.java

=======================================
--- /trunk/core/test/com/google/inject/TypeListenerTest.java Sat Jul 3 08:51:31 2010 +++ /trunk/core/test/com/google/inject/TypeListenerTest.java Sat Feb 19 16:50:36 2011
@@ -598,17 +598,20 @@
               encounter.addError("There was an error on %s", type);
               encounter.addError(new IllegalArgumentException("whoops!"));
               encounter.addError(new Message("And another problem"));
+              encounter.addError(new IllegalStateException());
             }
           });
         }
       });
       fail();
     } catch (CreationException expected) {
+      expected.printStackTrace();
       assertContains(expected.getMessage(),
           "1) There was an error on com.google.inject.Stage",
           "2) An exception was caught and reported. Message: whoops!",
           "3) And another problem",
-          "3 errors");
+          "4) An exception was caught and reported. Message: null",
+          "4 errors");
     }
   }

--
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