| | |
| | | assertAttributeValues(entry, "X", "Y"); |
| | | |
| | | mod = newModification(DELETE, "Y"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT_BUT_SHOULD_NOT_BE); |
| | | assertAttributeValues(entry, "X"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT); |
| | | assertAttributeValues(entry, "X", "Y"); |
| | | } |
| | | |
| | | @Test |
| | |
| | | replay_addDeleteNoValue(t[0], t[2]); |
| | | |
| | | mod = newModification(ADD, "Y"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT_BUT_SHOULD_NOT_BE); |
| | | assertAttributeValues(entry, "Y"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT); |
| | | assertNoAttributeValue(entry); |
| | | } |
| | | |
| | | @Test |
| | |
| | | assertNoAttributeValue(entry); |
| | | |
| | | mod = newModification(ADD, "X"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT_BUT_SHOULD_NOT_BE); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT); |
| | | assertNoAttributeValue(entry); |
| | | } |
| | | |
| | |
| | | replay_addDeleteNoValue(t[0], t[2]); |
| | | |
| | | mod = newModification(REPLACE, "Y"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT_BUT_SHOULD_NOT_BE); |
| | | assertAttributeValues(entry, "Y"); |
| | | replayOperationSuppressMod(t[1], entry, mod, E.CONFLICT); |
| | | assertNoAttributeValue(entry); |
| | | } |
| | | |
| | | private CSN[] newCSNs(int nb) |