mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
05.54.2013 a460cfc30ac60de2b9f3c0435ec67d950da001f8
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ExternalChangeLogTest.java
@@ -2327,8 +2327,7 @@
    debugInfo(tn, "Ending test successfully");
  }
  private int ECLCompatWriteReadAllOps(int firstChangeNumber)
      throws Exception
  private int ECLCompatWriteReadAllOps(long firstChangeNumber) throws Exception
  {
    String tn = "ECLCompatWriteReadAllOps/" + firstChangeNumber;
    debugInfo(tn, "Starting test\n\n");
@@ -2418,7 +2417,7 @@
  }
  private void assertEntries(List<SearchResultEntry> entries,
      int firstChangeNumber, String tn, LDIFWriter ldifWriter,
      long firstChangeNumber, String tn, LDIFWriter ldifWriter,
      String user1entryUUID, CSN... csns) throws Exception
  {
    debugAndWriteEntries(ldifWriter, entries, tn);
@@ -2469,14 +2468,14 @@
    }
  }
  private void assertDnEquals(SearchResultEntry resultEntry, int changeNumber, int i)
  private void assertDnEquals(SearchResultEntry resultEntry, long changeNumber, int i)
  {
    String actualDN = resultEntry.getDN().toNormalizedString();
    String expectedDN = "changenumber=" + (changeNumber + i) + ",cn=changelog";
    assertThat(actualDN).isEqualToIgnoringCase(expectedDN);
  }
  private void ECLCompatReadFrom(int firstChangeNumber) throws Exception
  private void ECLCompatReadFrom(long firstChangeNumber) throws Exception
  {
    String tn = "ECLCompatReadFrom/" + firstChangeNumber;
    debugInfo(tn, "Starting test\n\n");
@@ -2516,7 +2515,7 @@
   * Process similar search as but only check that there's no control returned
   * as part of the entry.
   */
  private void ECLCompatNoControl(int firstChangeNumber) throws Exception
  private void ECLCompatNoControl(long firstChangeNumber) throws Exception
  {
    String tn = "ECLCompatNoControl/" + firstChangeNumber;
    debugInfo(tn, "Starting test\n\n");
@@ -2548,7 +2547,7 @@
   * @param lastChangeNumber
   *          the higher limit
   */
  private void ECLCompatReadFromTo(int firstChangeNumber, int lastChangeNumber) throws Exception
  private void ECLCompatReadFromTo(long firstChangeNumber, long lastChangeNumber) throws Exception
  {
    String tn = "ECLCompatReadFromTo/" + firstChangeNumber + "/" + lastChangeNumber;
    debugInfo(tn, "Starting test\n\n");
@@ -2659,7 +2658,7 @@
  }
  private StartECLSessionMsg evaluateSearchParameters(DN baseDN,
      int firstChangeNumber, int lastChangeNumber, String filterString) throws Exception
      long firstChangeNumber, long lastChangeNumber, String filterString) throws Exception
  {
    final StartECLSessionMsg startCLmsg = new StartECLSessionMsg();
    ECLSearchOperation.evaluateSearchParameters(startCLmsg, baseDN,