-
Notifications
You must be signed in to change notification settings - Fork 1
Use Cases
Amber(Heyue) Huang edited this page Apr 3, 2017
·
45 revisions
- 01.01 Add Mood Event
- 01.02 Delete Mood Event
- 01.03 Edit Mood Event
- 01.04 View Mood Event
- 02.01 Add textual explanation
- 02.02 Add photo
- 02.03 Add social situation
- 03.01 Sign up
- 03.02 Sign in
- 04.01 View All My Mood History List
- 04.02 Filter My Mood History List (occurred in the most recent week)
- 04.03 Filter My Mood History List (with a particular emotional state)
- 04.04 Filter My Mood History List (whose reason text contains a given word)
- 05.01 View another participant following permission.(Follower)
- 05.02 View the followers list
- 05.03 View the follow list
- 05.04 View All My Mood Following List
- 05.05 Filter My Mood Following List (occurred in the most recent week)
- 05.06 Filter My Mood Following List (with a particular emotional state)
- 05.07 Filter My Mood Following List (whose reason text contains a given word)
- 06.01.01 Add current location
- 06.01.02 Add customized location
- 06.02 View my filtered mood map
- 06.03 View filtered following list mood map
- 06.04 View mood within 5km
- 07.01 Offline
- 08.01 Wow Factor - Block List
- 08.02 Wow Factor - Statistic
- Click Add Button in MainPage
- System start a new activity which allows user to input text, add pic, choose mood state, social situation, trigger and location.
- User input text
- User add picture
- User click on the pull down menu
- System shows the items in the pull down menu for user to choose
- User choose a mood state given by the system
- User click on the Social Situation pull down menu
- System shows the social situation for user to choose
- User choose a social situation
- User input the trigger
- User click on the Current Location Check Box Or User Click Choose A location On Map
- System switch to a new activity which shows the map
- User long tap to choose location
- System save the location
- User Click the Current Time CheckBox or set Time byself
- System save the Time
- User click on the ‘check’ button on the top right corner
- System change the activity to the main activity and shows the current mood event of the user and most recent mood event of user's follow
- Can’t add mood event
- The size of picture exceeds the limit
- The delete button of a selected mood is pressed in the Main page (Top Right of user's mood event card) or View Details page
- The selected mood will be removed from Mood History List
- Refresh the Mood History List will see the result
- The mood doesn’t belong to the user, cannot be deleted
- The edit button of a selected mood is pressed in the Main page (Top Right of user's mood event card) or View Details page
- Go to the Edit Page
- The posted text and picture will be sent to this page and show on the screen
- Users are available to change the picture and posted information
- Update the changed data to the Mood History List
- Refresh the Mood History List
- If the mood doesn’t belong to the user, cannot be edited
- Click the User name in card view which mood event you want to see
- The available details will be shown in a View page
- User move to edit page
- User input text(20 characters or 3 words) in Reason
- System store the text in the database
- Text too long
- User click on the camera button in create page or edit page
- System open the photograph album
- User choose a photo
- System check the size of the photo, raise an exception if the size is too large
- System shows the picture in the add activity
- Photo size larger than 65536 bytes
- User click on the pull down menu of Social Situation
- System stores the social situation of the user into the database
- The social situation is unselected
- System prompt “No account yet? Create one
- User clicks the link of “No account yet? Create one”
- System shows the EditText Username
- User type in his/her unique username
- User clicks sign up button
- the Username which User sign up is used by other user
- System shows the EditText where user enter the username
- User enter the username
- System check the username show all the user’s data in next screen
- Can’t find the username
- User draw the drawerlayout from Home interface
- System shows the drawer
- User clicks Log out
- System shows log in interface
- Click “Filter” button in drawer.
- Choose “Myself” option in title bar.
- Select “Display all” checkbox.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood history list, sorted by date and time, in reverse chronological order (most recent coming first).
- Click “Filter” button in drawer.
- Choose “Myself” option in title bar.
- Select “The most recent week” checkbox.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood history list which occurred in the most recent week.
- Click “Filter” button in drawer.
- Choose “Myself” option in title bar.
- Select a particular emotional state from “Emotional State” drop-down menu.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood history list with a particular emotional state.
- Click “Filter” button in drawer.
- Choose “Myself” option in title bar.
- Enter a word in “Reason” input box.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood history list whose reason text contains a given word.
- Clicked the notification button
- Show a list of pending permission from other participants
- Each participant with two options: Accept and Decline Once the Accept option is chosen: A new follower is added. Once the Decline option is chosen: stay the same
- Clicked the filter button
- Choose from the friends option
- Click the Follower tab
- Clicked the filter button
- Choose from the friends option
- Click the Following tab
- Click “Filter” button in drawer.
- Choose “Following” option in title bar.
- Select “Display all” checkbox.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood following list, sorted by date and time, in reverse chronological order (most recent coming first).
- Click “Filter” button in drawer.
- Choose “Following” option in title bar.
- Select “The most recent week” checkbox.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood following list which occurred in the most recent week.
- Click “Filter” button in drawer.
- Choose “Following” option in title bar.
- Select a particular emotional state from “Emotional State” drop-down menu.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood following list with a particular emotional state.
- Click “Filter” button in drawer.
- Choose “Following” option in title bar.
- Enter a word in “Reason” input box.
- Press “tick” in the top right corner.
- Jump to the home page.
- The home page displays my mood following list whose reason text contains a given word.
- User check the Location checkbox
- The current location is stored in the mood
- Lost connection
- User check Choose Location TextView
- System starts a new activity shows the map and the current location of the user
- User long press on the location which the user would like to choose >
- User Click on the tick item to finish the adding or the clear item to clear the choice
- Lost connection
- User clicks the location button on main view, a map will show with the current filtered uer history mood list
- User will see those moods in pin form
- User can click on the pin to see the detail information of the selected mood
- User can click on the home button (in house shape, on top of the page) if the user want to go back to home page.
- User clicks the location button on main view, a map will show with the current filtered following mood list
- User will see those moods in pin form
- The user will have to click on the pin to see the detail information of the selected mood
- User can click on the home button (in house shape, on top of the page) if the user want to go back to home page.
- User clicks the filter button on map view, a map will show the most recent moods created by all participants within 5 km
- User will see those moods in pin form
- The user will have to click on the pin to see the detail information of the selected mood
- User can click on the home button (in house shape, on top of the page) if the user want to go back to home pag.
- System stores the data in the local database
- System allow the user to edit and delete their own posts
- User edit the content of their posts
- System stores the changed data in the database
- User connect the application to the internet
- System automatically post the changes
- Text too long
- Photo size too big
- If the participant has followed user, click drawer - Friends in MainPage to remove this follower
- Click the menu (Add Block) in MainPage
- Enter the participant ID which user want to block
- Press Done
- Click drawer - Block List in Mainpage to see the Block List
- Click drawer -Stat
- System will display the Statistic of User and all participant in Chart and Text
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 | |
Exceptions | |
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 |
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 | |
Exceptions | |
Related Use Cases | UC 01.04 |
Related User Stories | US 01.06.01 |
Test Cases |
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 | |
Exceptions | |
Related Use Cases | UC 01.01 & UC 01.04 |
Related User Stories | US 01.05.01 |
Test Cases |
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 | |
Exceptions | |
Related Use Cases | |
Related User Stories | US 01.04.01 |
Test Cases |
Item | Description |
---|---|
Title | Add textual explanation |
Primary Actor | User |
Goal | Add textual explanation to explain the mood |
Trigger | Click on the input box |
Precondition | The input box is blank |
Postcondition | Shows the input of the user |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 01.01 |
Related User Stories | US 01.01.01 |
Test Cases |
Item | Description |
---|---|
Title | Add photo |
Primary Actor | User |
Goal | Add a picture to express the reason why for a mood event |
Trigger | Click on camera button |
Precondition | user want add new pic or change pic |
Postcondition | A picture added for the user |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 01.01.01 |
Related User Stories | US 02.02.01 & US 02.03.01 |
Test Cases |
Item | Description |
---|---|
Title | Add social situation |
Primary Actor | User |
Goal | Add a social situation for the user |
Trigger | Click on the pull down menu of Social Situation |
Precondition | The social situation is blank |
Postcondition | The social situation is chosen by the user |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 01.01 |
Related User Stories | US 02.04.01 |
Test Cases |
Item | Description |
---|---|
Title | Sign up |
Primary Actor | User |
Goal | Add new account for user |
Trigger | Click sign up |
Precondition | new user or exist user who want a new account |
Postcondition | get a new account with unique username |
Basic Flow | |
Exceptions | |
Related Use Cases | |
Related User Stories | US 03.01.01 |
Test Cases |
Item | Description |
---|---|
Title | Sign in |
Primary Actor | User |
Goal | Sign in the user’s account |
Trigger | Click the sign in button |
Precondition | User already had a account |
Postcondition | sign in the account of user |
Basic Flow | |
Exceptions | |
Related Use Cases | |
Related User Stories | US 03.01.01 |
Test Cases |
Item | Description |
---|---|
Title | Log out |
Primary Actor | User |
Goal | Log out the user’s account |
Trigger | Click the Logout button in DrawerLayout |
Precondition | User already log in the application |
Postcondition | User log out, appear log in interface |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 03.02 |
Related User Stories | US 03.01.01 |
Test Cases |
Item | Description |
---|---|
Title | View All My Mood History List |
Primary Actor | User |
Goal | View all my mood history list. |
Trigger | Select the “Display all” checkbox in “Myself” option of title bar. |
Precondition | User wants to view all my mood history list. |
Postcondition | My mood history list will be displayed in the home page. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.02 & UC 04.03 & UC 04.04 |
Related User Stories | US 04.01.01 |
Test Cases |
Item | Description |
---|---|
Title | Filter My Mood History List (occurred in the most recent week) |
Primary Actor | User |
Goal | Filter my mood history list to show only mood events that occurred in the most recent week. |
Trigger | Select the “The most recent week” option in “Myself” option of title bar. |
Precondition | User wants to view the mood history list occurred in the recent week. |
Postcondition | My mood history list which occurred in the most recent week will be displayed. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.01 & UC 04.03 & UC 04.04 |
Related User Stories | US 04.02.01 |
Test Cases |
Item | Description |
---|---|
Title | Filter My Mood History List (with a particular emotional state) |
Primary Actor | User |
Goal | Filter my mood history list to show only mood events with a particular emotional state. |
Trigger | Select a particular emotional state from “Emotional State” drop-down menu in “Myself” option of title bar. |
Precondition | User wants to view the mood history list with a particular emotional state. |
Postcondition | My mood history list with a particular emotional state will be displayed. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.01 & UC 04.02 & UC 04.04 |
Related User Stories | US 04.03.01 |
Test Cases |
Item | Description |
---|---|
Title | Filter My Mood History List (whose reason text contains a given word) |
Primary Actor | User |
Goal | Filter my mood history list to show only mood events whose reason text contains a given word. |
Trigger | Enter a word in “Reason” input box in “Myself” option of title bar. |
Precondition | User wants to view the mood history list whose reason text contains a given word. |
Postcondition | My mood history list whose reason text contains a given word will be displayed. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.01 & UC 04.02 & UC 04.03 |
Related User Stories | US 04.04.01 |
Test Cases |
Item | Description |
---|---|
Title | View another participant following permission.(Follower) |
Primary Actor | User |
Goal | Accept or decline the participant’s permission. |
Trigger | Click the notification tab. |
Precondition | Another participant ask to follow the user. |
Postcondition | A new follower is added/ isn’t added. |
Basic Flow | |
Exceptions | |
Related Use Cases | |
Related User Stories | US 05.02.01 |
Test Cases |
Item | Description |
---|---|
Title | View the followers list. |
Primary Actor | User |
Goal | Check the followers who are following the user. |
Trigger | Click the friends menu from the drawer, and click the Follower tap. |
Precondition | User on the other interface. |
Postcondition | Jump to user’s follower’s list. |
Basic Flow | |
Exceptions | |
Related Use Cases | |
Related User Stories | US 04.02.01 & US 04.03.01 & US 04.04.01 & US 05.02.01 |
Test Cases |
Item | Description |
---|---|
Title | View the follow list. |
Primary Actor | User |
Goal | Check the follow that the user are following to. |
Trigger | Click the friends menu from the drawer, and click the Follower tap. |
Precondition | User on the other interface. |
Postcondition | Jump to user’s follower’s list. |
Basic Flow | |
Exceptions | |
Related Use Cases | |
Related User Stories | US 04.02.01 & US 04.03.01 & US 04.04.01 & US 05.01.01 |
Test Cases |
Item | Description |
---|---|
Title | View All My Mood Following List |
Primary Actor | User |
Goal | View all my mood following list. |
Trigger | Select the “Display all” checkbox in “Following” option of title bar. |
Precondition | User wants to view all my mood following list. |
Postcondition | My mood following list will be displayed in the home page. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 05.05 & UC 05.06 & UC 05.07 |
Related User Stories | US 05.03.01 |
Test Cases |
Item | Description |
---|---|
Title | Filter My Mood Following List (occurred in the most recent week) |
Primary Actor | User |
Goal | Filter my mood following list to show only mood events that occurred in the most recent week. |
Trigger | Select the “The most recent week” option in “Following” option of title bar. |
Precondition | User wants to view the mood following list occurred in the recent week. |
Postcondition | My mood following list which occurred in the most recent week will be displayed. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 05.04 & UC 05.06 & UC 05.07 |
Related User Stories | US 05.04.01 |
Test Cases |
Item | Description |
---|---|
Title | Filter My Mood Following List (with a particular emotional state) |
Primary Actor | User |
Goal | Filter my mood following list to show only mood events with a particular emotional state. |
Trigger | Select a particular emotional state from “Emotional State” drop-down menu in “Following” option of title bar. |
Precondition | User wants to view the mood following list with a particular emotional state. |
Postcondition | My mood following list with a particular emotional state will be displayed. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 05.04 & UC 05.05 & UC 05.07 |
Related User Stories | US 05.05.01 |
Test Cases |
Item | Description |
---|---|
Title | Filter My Mood Following List (whose reason text contains a given word) |
Primary Actor | User |
Goal | Filter my mood following list to show only mood events whose reason text contains a given word. |
Trigger | Enter a word in “Reason” input box in “Following” option of title bar. |
Precondition | User wants to view the mood following list whose reason text contains a given word. |
Postcondition | My mood following list whose reason text contains a given word will be displayed. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 05.04 & UA 05.05 & UC 05.06 |
Related User Stories | US 05.06.01 |
Test Cases |
Item | Description |
---|---|
Title | Add Current location |
Primary Actor | User |
Goal | Add the current location of the user |
Trigger | Click on Current location Checkbox in the Create or Edit UI |
Precondition | The location will not be shown |
Postcondition | The current location of the user will be shown |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 01.01& UC 06.02 |
Related User Stories | US 06.01.01 |
Test Cases |
Item | Description |
---|---|
Title | Add customized location |
Primary Actor | User |
Goal | Add the customized location of the user |
Trigger | Click on Choose Location TextView in the Create or Edit UI |
Precondition | The location will not be shown |
Postcondition | The location chosen by the user will be shown |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 01.01& UC 06.02 |
Related User Stories | US 06.01.01 |
Test Cases |
Item | Description |
---|---|
Title | View my filtered mood map |
Primary Actor | User |
Goal | Display all the my filtered mood list in map |
Trigger | Click on the map button on top right of the home page |
Precondition | User want to see own filtered mood history list in map form |
Postcondition | Display change to map showing user’s own filtered history mood list |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.01& UC 01.05 |
Related User Stories | US 06.01.01& US 06.02.01 |
Test Cases |
Item | Description |
---|---|
Title | View filtered following list mood map |
Primary Actor | User |
Goal | Display all the mood from the filtered following list |
Trigger | Click on the map button on top right of the home page |
Precondition | User want to see following list in map form |
Postcondition | Display change to map showing filtered mood list |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.01& UC 01.05 |
Related User Stories | US 06.01.01& US 06.03.01 |
Test Cases |
Item | Description |
---|---|
Title | View mood within 5km |
Primary Actor | User |
Goal | Display mood from all the participants occurred within 5 km of current location in map form |
Trigger | Click on the filter button on top right of the map page |
Precondition | User want to see moods by all the participants from 5km of the current location in map form and there is no choice in the Filter |
Postcondition | Display change to map showing mood from all the participants from 5km of the current location in map form |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 04.01& UC 01.05 |
Related User Stories | US 06.01.01& US 06.04.01 |
Test Cases |
Item | Description |
---|---|
Title | Offline |
Primary Actor | Admin |
Goal | Save the data of the current user in local memory and post the changes when the internet is connected |
Trigger | Offline |
Precondition | The content of the posts are the same with when the application is online |
Postcondition | User’s own posts has been edited and stored in the local database, will be posted automatically when the internet is connected. |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 01.01 & UC 01.02 & UC 01.03 & UC 01.04 & UC 02.01 & UC 02.02 & UC 02.03 |
Related User Stories | US 07.01.01 |
Test Cases |
Item | Description |
---|---|
Title | Wow Factor - Block List |
Primary Actor | User |
Goal | Block the Participant |
Trigger | Click the menu (Add Block) in MainPage |
Precondition | User want to block the participant |
Postcondition | the participant who user blocks will cannot follow the user |
Basic Flow | |
Exceptions | |
Related Use Cases | US 08.01 |
Related User Stories | |
Test Cases |
Item | Description |
---|---|
Title | Wow Factor -Statistic |
Primary Actor | User |
Goal | See the Mood State Statistic of User and all participants |
Trigger | Click drawer - Stat in MainPage |
Precondition | Want to see the mood state of user and all participants |
Postcondition | see the mood state of user and all participants |
Basic Flow | |
Exceptions | |
Related Use Cases | UC 08.02 |
Related User Stories | |
Test Cases |