| . |
Access methods (can be performed while following the test cases
contained in other tables) |
Notes
|
Expected Outcome (if not obvious)
|
| 1 |
Direct: Main menu "compact" item |
This may be called "compress" or something else in 5.0. |
A progress indicator of some sort should occur, and all messages
marked as deleted will visually disappear (if using the IMAP delete model).
If not using the IMAP delete model, but still using IMAP, an Expunge command
should appear in the IMAP log after the command is issued. If not using
IMAP, the compression of the folder can be checked by looking in the text file representing the mail folder and ensuring that any messages with a Mozilla-Status that equates to a deleted message are gone. The only two such status numbers I'm aware of are 8009 and 9009.
|
| 2 |
Direct: Context menu "compact" item |
. |
. |
| 3 |
Direct: Keyboard shortcut |
TBD |
. |
| 4 |
Automatically Compact (POP and movemail) |
This is a preference that can be used for Local folders only. The preference
can be set so that the application will automatically compact a folder
when doing so will save at least X kb of space. That value can be monitored
through the Folder Properties value of "wasted space." Wasted space can
be created by copying a lot of messages to a folder, then deleting them.
For speed reasons, we don't immediately delete the messages from the summary
file; we just mark them as deleted until a compress folders action is done.
The automatically compact action will occur when exiting the application
if the conditions calling for an automatic compact are present. |
Monitor "wasted space" property value and check file sizes. |
| 5 |
Automatically Compact (IMAP) |
The expunge_threshold preference controls how many messages that are
marked for deletion should be allowed to accumulate before the folder will
be scheduled to be automatically compacted (expunged). It is easiest to
monitor when using the IMAPdelete model, but should be tested with
all three delete models (though it is not necessary to test each of the
folder types below with each of the three delete models). The automatically
compact action will occur when exiting the application if the conditions
calling for an automatic compact are present. |
Compacted folders will be obvious if using the IMAPdelete model;
also check file sizes and/or check for the EXPUNGE command in the IMAPlog. |