Package com.google.enterprise.connector.util.diffing

Examples of com.google.enterprise.connector.util.diffing.DiffingConnectorCheckpoint.compareTo()


  public void testNewFirst() throws Exception {
    DiffingConnectorCheckpoint fccp = DiffingConnectorCheckpoint.newFirst();
    assertEquals(0, fccp.getMajorNumber());
    assertEquals(0, fccp.getMinorNumber());
    assertTrue(fccp.compareTo(fccp) == 0);
    assertEquals(fccp, fccp);
    DiffingConnectorCheckpoint fccp2 = DiffingConnectorCheckpoint.fromJsonString(fccp.toString());
    assertEquals(fccp, fccp2);
    assertEquals(fccp.hashCode(), fccp2.hashCode());
    assertTrue(fccp.compareTo(fccp2) == 0);
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.