Remove unnecessary failing test method

Method test006_readCaseInsensitive in TestConfig already does the
same thing, and doesn't require an OS specific test for the value being 
asserted.
This is additionally a fast fix for the failing JUnit test after 
change 3fe5276. 

Change-Id: I96d2794dbc7db55bdd0fbfcf675aabb15cc8419f
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
This commit is contained in:
Stefan Lay 2010-09-17 16:24:08 +02:00
parent 3fe527624d
commit b4eecfc462
1 changed files with 0 additions and 11 deletions

View File

@ -60,7 +60,6 @@
import org.eclipse.jgit.errors.MissingObjectException;
import org.eclipse.jgit.lib.AnyObjectId;
import org.eclipse.jgit.lib.CommitBuilder;
import org.eclipse.jgit.lib.Config;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.FileTreeEntry;
import org.eclipse.jgit.lib.ObjectDatabase;
@ -310,16 +309,6 @@ public void test003_WriteShouldBeEmptyTree() throws IOException {
assertTrue("Read-only " + o, !o.canWrite());
}
public void test005_ReadSimpleConfig() {
final Config c = db.getConfig();
assertNotNull(c);
assertEquals("0", c.getString("core", null, "repositoryformatversion"));
assertEquals("0", c.getString("CoRe", null, "REPOSITORYFoRmAtVeRsIoN"));
assertEquals("true", c.getString("core", null, "filemode"));
assertEquals("true", c.getString("cOrE", null, "fIlEModE"));
assertNull(c.getString("notavalue", null, "reallyNotAValue"));
}
public void test006_ReadUglyConfig() throws IOException,
ConfigInvalidException {
final File cfg = new File(db.getDirectory(), "config");