Re: [JGIT PATCH v2 0/8] Unit test cleanups
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Dec 2, 2008, 16:38 UTC
- Message-ID
- <20081202163856.GR23984@spearce.org>
- In-Reply-To
- <1228088435-23722-1-git-send-email-robin.rosenberg@dewire.com>
Robin Rosenberg <robin.rosenberg@dewire.com> wrote:
> A completele reworked set of patches, including fixing a couple > more forgot-to-close bugs and Shawns suggestion that we disable > memory mapping in junit tests by default.
...
Show 15 quoted lines
> Robin Rosenberg (8): > Drop unneeded code in unit tests > Cleanup malformed test cases > Turn off memory mapping in JGit unit tests by default > Add a counter to make sure the test repo name is unique > Make the cleanup less verbose when it fails to delete temporary > stuff. > Cleanup after each test. > Close files opened by unit testing framework > Hard failure on unit test cleanups if they fail. > > .../tst/org/spearce/jgit/lib/PackWriterTest.java | 3 + > .../org/spearce/jgit/lib/RepositoryTestCase.java | 152 +++++++++++++++++--- > .../tst/org/spearce/jgit/lib/T0007_Index.java | 10 +- > 3 files changed, 139 insertions(+), 26 deletions(-)
Merged. The series looked really good to me. Second time is the charm, eh? :-)
-- Shawn.