Browse Source

Merge "Remove unnecessary failing test method"

stable-0.10
Shawn Pearce 14 years ago committed by Code Review
parent
commit
a8e2932d04
  1. 11
      org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/T0003_Basic.java

11
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/T0003_Basic.java

@ -60,7 +60,6 @@ import org.eclipse.jgit.errors.IncorrectObjectTypeException;
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 class T0003_Basic extends SampleDataRepositoryTestCase {
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");

Loading…
Cancel
Save