Examples of MutableObjectId


Examples of org.eclipse.jgit.lib.MutableObjectId

  @Test
  public void testReadACK_Invalid3() {
    String s = "ACK fcfcfb1fd94829c1a1704f894fc111d14770d34e neverhappen";
    init("003d" + s + "\n");
    try {
      in.readACK(new MutableObjectId());
      fail("incorrectly accepted unsupported ACK status");
    } catch (IOException e) {
      assertEquals("Expected ACK/NAK, got: " + s, e.getMessage());
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.