The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Feature Test Spec

5.0 Project (Sea-Monkey)
Mail and News Component
Newsgroups: Disk Space

Written by: Stacey Curtis

References:
UI Specification:
Other:
Approx. number of test cases: 34



Description: Disk space preferences as applied to newsgroups. With a noted exception or two, there isn't any reason why these preferences should care what kind of news server is being run against, so this test plan does not require each test to be run against every major type of news server. It would be best, however, to run through it while using a variety of different news servers, to obtain a randomized testing of all of them over many different kinds of news servers over time.

. Global Disk Space Preferences: Default values and operation
Notes
Expected Outcome (if not obvious)
1 Don't download any message over x kb. Two tests:
1. Default = Not Set
2. Default=50k. Test this with text, html, and messages with various type of attachments, and against password-protected and secure newsgroups.
1. Any size message will be downloaded without problem (restricted only by the news server's message size rules).
2. A working link to the full message will be displayed with a truncation message.
2 Compact folder when it will save x kb. Two tests:
1. Default= Not Set
2. Default=100k.
1. News folders will not be compacted by default.
2. The newsgroup folder will be compacted, and the summary file will be over 100k smaller than it was before.
3 Keep messages which arrived in the last x days. Three tests:
1. Default= Not set.
2. Compact folders preference when it will save over x kb (see above) is turned on, but this preference is still overridden by the "keep all messages" default.
3. Default=30 when all enabling conditions for this preference to be turned on are in place.
1. All messages will be kept.
2. All messages will be kept.
3. Messages which arrived in the last 30 days only will be kept.
4 Keep all messages Default= True All messages will be kept.
5 Keep newest x messages Three tests:
1. Default= Not set.
2. Compact folders preference when it will save over x kb (see above) is turned on, but this preference is still overridden by the "keep all messages" default.
3. Default=30 when all enabling conditions for this preference to be turned on are in place.
1. All messages will be kept.
2. All messages will be kept.
3. The last 30 messages only will be kept.
6 Keep only unread messages Default=Not true All messages will be kept.
7 Remove message bodies older than x days Two tests:
1. Default = Not set.
2. When checked, default=20 days.
1. All messages bodies will be kept.
2. Message bodies older than 20 days will be removed.

. Global Disk Space Preferences: Nondefault values
Notes
Expected Outcome (if not obvious)
1 Don't download any message over x kb. Use non-default value .
2 Compact folder when it will save x kb. Use non-default value .
3 Keep messages which arrived in the last x days. Use non-default value
(This preference has been broken for a long time in 4.x Unix products.)
.
4 Keep all messages Use non-default value .
5 Keep newest x messages Use non-default value .
6 Keep only unread messages Use non-default value .
7 Remove message bodies older than x days Use non-default value .

. Individual Group Disk Space Preferences: Conflicting with global preference values
Notes
Expected Outcome (if not obvious)
1 Keep messages which arrived in the last x days. Use non-global value .
2 Keep all messages Use non-global value .
3 Keep newest x messages Use non-global value .
4 Keep only unread messages Use non-global value .
5 Remove message bodies older than x days Use non-global value .

Stress/Abnormal Conditions
Notes
Expected Outcome (if not obvious)
1 Access the preferences in whatever access methods are available in mail5's UI. . .
2 Don't download any message over x kb: boundary tests E.g., blank value, alpha character, very large number, negative number, number with decimal. Proper masking and error messages should occur.
3 Compact folder when it will save x kb: boundary tests . .
4 Keep messages which arrived in the last x days: boundary tests . .
5 Keep newest x messages: boundary tests . .
6 Remove message bodies older than x days: boundary tests . .
7 Set different individual newsgroup settings for different groups within the same category. . Each group's preferences should be indivually implemented.
8 Ensure that changed settings remain after an application restart. . .
9 Ask me before downloading more than x messages (I think this is user_pref.news.max_articles) retains the value of the last specified number the user input. I don't think this preference appears in the UI anymore other than in the dialog box which pops up the first time the user opens a group that has more than 500 messages to download. The number should be respected and the default should always be reset to the last-specified number.
Copyright © 1998-2000 The Mozilla Organization.
Last modified April 3, 1999.