| | |
| | | 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"); |
| | |
| | | } |
| | | |
| | | 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); |
| | |
| | | } |
| | | } |
| | | |
| | | 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"); |
| | |
| | | * 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"); |
| | |
| | | * @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"); |
| | |
| | | } |
| | | |
| | | 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, |