Add tests for WindowCache.reconfigure cases
commit5ba1148c004733c96e9544d84820b7fc95655f0c
authorShawn O. Pearce <spearce@spearce.org>
Wed, 29 Apr 2009 18:54:47 +0000 (29 11:54 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 29 Apr 2009 23:49:07 +0000 (30 01:49 +0200)
treea3f838c58eae35438217703d2909cc45dfbee038
parent2d77d30b5f5eca2b3087f1bab47fa9df2e64cd71
Add tests for WindowCache.reconfigure cases

Most of these cases occur when the window cache is misconfigured
by the application.  We should be throwing an exception out with
some sort of error message if they happen, so check for that.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/lib/WindowCacheReconfigureTest.java [new file with mode: 0644]