Skip to content

ZCS-19208: Add IMAP MOVE JUnit test coverage - #1831

Open
sonali033 wants to merge 4 commits into
feature/imap_movefrom
ZCS-19208
Open

ZCS-19208: Add IMAP MOVE JUnit test coverage#1831
sonali033 wants to merge 4 commits into
feature/imap_movefrom
ZCS-19208

Conversation

@sonali033

Copy link
Copy Markdown
Contributor

New test cases added:
testDoMOVESameMailboxInboxToSpam - Covers core move flow, ID unchanged, UIDNEXT, folder size, conversation detach when moved to Spam
testDoMOVESpecialFolderBehaviors - Covers unread→Trash marks read and re-indexing when moved out of Spam
testDoMOVEFailureScenarios - Covers move rejection when max items exceeded and expunged message in sequence set

@Override
public void modifyAttrs(Entry entry, Map<String, ? extends Object> attrs, boolean checkImmutable) {
Map<String, Object> map = entry.getAttrs(false, false);
Map<String, Object> map = entry.getOriginalAttrs(false, false);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you check the impact of this change?

Comment thread store/src/java-test/com/zimbra/cs/imap/ImapHandlerTest.java
Comment thread store/src/java-test/com/zimbra/cs/imap/ImapHandlerTest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants