commit | 83b4786c15699ba66ca09461ae35c6ba3b22989f | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Nov 05 11:02:28 2009 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Thu Nov 05 11:02:28 2009 -0800 |
tree | c38ff47e249abc060d08e1f8d32522f5bf7696c8 | |
parent | 04f7c92b3e12740d35c836c02d6084fd874c5632 [diff] |
Use the H2 database for unit tests This permits us to define unit tests that run against an in-memory copy of our database schema, making some unit tests more efficient to execute, and a lot easier to write (fewer external dependencies). The TestDatabase class can be used by a JUnit test to work with our schema in an H2 managed in-memory database. Change-Id: I54238b2bb240ed57ed83eee4aad07df1bbc70e51 Signed-off-by: Shawn O. Pearce <sop@google.com>