A bunch of assorted changes:

Fixing AllTests to include missing tests.

Fixing LineNumbersTest to use the new error message. I'm not sure whether this message is a good choice - we should go over all messages before 2.0.

Fixing a bug in UniqueAnnotations where it was returning the wrong hashCode.

Adding tests that show that we don't wrap user exceptions from Provider instances. This needs fixing before 2.0. These tests fail.

Adding tests for serializing various Guice types. In particular, we definitely want our exception types to serialize properly. I'm not sure what our strategy should be for serializing other types, but it seems like we should support it if doing so isn't too difficult. For example, I think Key should be serializable.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@487 d779f126-a31b-0410-b53b-1d3aecad763e
6 files changed