commit | 4652d348a445bc683d2c6d76461e822767b1bae1 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Oct 08 17:12:25 2013 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Fri Oct 11 12:29:23 2013 -0700 |
tree | e3ccc8a6827906e4da93256cff990d07f97cce67 | |
parent | fabc680bf5bc2327a3a3695aafe5b7c043b69c66 [diff] |
Move InMemoryDatabase setup into a module Storing the injector in the InMemoryDatabase instance was a hack. Instead, move towards a more comprehensive Guice stack for tests by moving this setup into a module. Keep the same manual create()/drop() behavior of InMemoryDatabase, though eventually we may want to do something with LifecycleManagers and move towards a similar idiom to that used in the acceptance tests. Change-Id: I917f6dab4751541fa63bfe3318818fbe4bda20f2