Browse Source

Remove a duplicate test from T0003_Basic

In the pre-historic commit 6d87484b4dee5671a38e64a8e4990dff40a4874f
two tests became identical. Remove one of them.

Change-Id: I6182ecd4db0162d87a5f4577005b2bf4d5e8c89f

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
stable-0.7
Robin Rosenberg 15 years ago
parent
commit
aa08a022f1
  1. 10
      org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/T0003_Basic.java

10
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/T0003_Basic.java

@ -126,16 +126,6 @@ public class T0003_Basic extends RepositoryTestCase {
assertTrue("Read-only " + o, !o.canWrite()); assertTrue("Read-only " + o, !o.canWrite());
} }
public void test004_CheckNewConfig() {
final RepositoryConfig 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 test005_ReadSimpleConfig() { public void test005_ReadSimpleConfig() {
final RepositoryConfig c = db.getConfig(); final RepositoryConfig c = db.getConfig();
assertNotNull(c); assertNotNull(c);

Loading…
Cancel
Save