Turn off memory mapping in JGit unit tests by default
commit4a83c26f4ef76b903fb8f8f48bc38a4cf2a6a123
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 30 Nov 2008 23:40:30 +0000 (1 00:40 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 2 Dec 2008 16:30:02 +0000 (2 08:30 -0800)
tree0ed1ca22df425dbd9a1e370bf4308cb96059997f
parent2da0b281753986f7cca5e8a90acf90ed28d252e2
Turn off memory mapping in JGit unit tests by default

A system property named jgit.junit.usemmmap can be set to true to enable
memory mapping during unit testing.

The protected method configure can be overridden to do things
like configuring the JGit engine.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/lib/RepositoryTestCase.java