Skip to content

Use Cases

Amber(Heyue) Huang edited this page Feb 16, 2017 · 45 revisions

UC 01.01

Item Description
Title Add Mood Event
Primary Actor User
Goal Add a mood event for the user
Trigger Click on add mood event button
Precondition Want to record a mood event
Postcondition Mood event added and shows the date and time, a required emotional state, optional trigger, and optional social situation. Emotional states has been chosen(anger, confusion, disgust, fear, happiness, sadness, shame, and surprise).
Basic Flow
  1. System start a new activity which allows user to input text, add pic, choose mood state, social situation, trigger and location.
  2. User input text
  3. User add picture
  4. User click on the pull down menu
  5. System shows the items in the pull down menu for user to choose
  6. User choose a mood state given by the system
  7. User click on the Social Situation pull down menu
  8. System shows the social situation for user to choose
  9. User choose a social situation
  10. User input the trigger
  11. User click on the Location
  12. System shows a checkbox
  13. User click on the checkbox
  14. System find the current location of the user and save it
  15. User click on the ‘check’ button on the top right corner
  16. System change the activity to the main activity and shows the current mood event of the user
Exceptions
  • Can’t add mood event
  • The size of picture exceeds the limit
Related Use Cases UC 02.01.01 & UC 02.02.01 & UC 02.03.01 & UC 02.04.01
Related User Stories US 01.01.01 & US 01.01.02 & US 02.04.01
Test Cases

UC 01.02

Item Description
Title Delete Mood Event
Primary Actor User
Goal Delete a mood event for the user
Trigger Click on delete event button
Precondition Want to delete the mood event
Postcondition Selected mood will be removed from the Mood History list.
Basic Flow
  1. The delete button of a selected mood is pressed in the Main page or View Details page
  2. The selected mood will be removed from Mood History List
  3. Refresh the Mood History List
Exceptions
  • The mood doesn’t belong to the user, cannot be deleted
Related Use Cases UC 01.04
Related User Stories US 01.06.01
Test Cases

UC 01.03

Item Description
Title Edit Mood Event
Primary Actor User
Goal Edit the details of a given mood event of mine
Trigger Click the menu and select the edit
Precondition User wants to edit one of his/her own post
Postcondition The selected moods are available to change and save on Mood History.
Basic Flow
  1. Clicked the menu button at the right top corner
  2. Go to the add_activity
  3. The posted text and picture will be sent to this activity and show on the screen
  4. Users are available to change the picture and posted information
  5. Update the changed data to the Mood History List
  6. Refresh the Mood History List
Exceptions
  • If the mood doesn’t belong to the user, cannot be edited
Related Use Cases UC 01.01
Related User Stories US 01.05.01
Test Cases

UC 01.04

Item Description
Title View Mood Event
Primary Actor User
Goal View the details of a given mood event of mine
Trigger Press the Mood which the user want to view.
Precondition The user wants to view the details and the mood exits.
Postcondition The details/attributes of a mood will be shown in a new page.
Basic Flow
  1. The mood is selected in the Main page
  2. The available details will be shown in a new page
Exceptions
    Related Use Cases
    Related User Stories US 01.04.01
    Test Cases
    Clone this wiki locally