Skip to content

Commit b6d2fe9

Browse files
Merge pull request #221 from AY2021S2-CS2103-T14-2/Ready-For-Release
Ready for release
2 parents c4a2680 + 4a22d1f commit b6d2fe9

3 files changed

Lines changed: 29 additions & 23 deletions

File tree

docs/DeveloperGuide.md

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -916,19 +916,22 @@ to work on.
916916
1. Prerequisite: `list` to select the entry you want to add on details to. There must be at least one entry displayed.<br>
917917

918918
2. Test case: `addon 1 re/I like this food a lot! p/7`
919-
920-
<br>Expected: Add on the review "I like this food a lot!" and a price of $7 to the existing price/price range shown in the entry (price range updates if the input price is
921-
out of the initial price range displayed in the entry). Specified Entry will be updated with the addon on fields.<br />
922-
<br />
919+
920+
<br>Expected: Add on the review "I like this food a lot!" and a price of $7 to the existing price/price range shown in the entry (price range updates if the input price is
921+
out of the initial price range displayed in the entry). Specified Entry will be updated with the addon on fields.<br />
922+
<br />
923923
3. Test case: `addon 1`
924-
<br>Expected: Error message "At least one field to add-on must be provided." will be shown in the result display. Nothing will be added on to the specified entry.<br />
925-
<br />
924+
925+
<br>Expected: Error message "At least one field to add-on must be provided." will be shown in the result display. Nothing will be added on to the specified entry.<br />
926+
<br />
926927
4. Test case: `addon 1 re/`
927-
<br>Expected: Invalid review error will be shown in the result display. Nothing will be added on to the specified entry.<br />
928-
<br />
928+
929+
<br>Expected: Invalid review error will be shown in the result display. Nothing will be added on to the specified entry.<br />
930+
<br />
929931
5. Test case: `addon 1 re/Good Food p/1000`
930-
<br>Expected: Invalid price error will be shown in the result display. Nothing will be added on to the specified entry.<br />
931-
<br />
932+
933+
<br>Expected: Invalid price error will be shown in the result display. Nothing will be added on to the specified entry.<br />
934+
<br />
932935

933936
6. Other incorrect `addon` commands to try: `addon 10000000000 re/Good Food` (invalid index)
934937

@@ -938,14 +941,17 @@ to work on.
938941
1. Prerequisite: `list` all entries to find out the name of the entry to delete<br>
939942

940943
2. Test case: `delete 1`
941-
<br>Expected: Delete entry at index 1. Success message and deleted entry details shown in the result display.<br />
942-
<br />
944+
945+
<br>Expected: Delete entry at index 1. Success message and deleted entry details shown in the result display.<br />
946+
<br />
947+
943948
3. Test case: `delete x` (where x is non-existent booking ID)
944-
<br>Expected: Error of invalid entry shown in result display. No entry is deleted.<br />
945-
<br />
949+
950+
<br>Expected: Error of invalid entry shown in result display. No entry is deleted.<br />
951+
<br />
952+
946953
4. Other incorrect delete commands to try: `delete`, `delete Starbucks`
947-
948-
Expected: Invalid command format error. No entry is deleted.
954+
Expected: Invalid command format error. No entry is deleted.
949955

950956

951957
### Find entries
@@ -1145,35 +1151,35 @@ to work on.
11451151
- First entry has named changed to "McDonalds".
11461152
- All entries remained shown
11471153
- Success message displayed informing the user of change.<br />
1148-
<br />
1154+
<br />
11491155
3. Test case: `edit 2 ra/0`
11501156

11511157
Expected:
11521158
- Second entry has rating changed to 0. (0/5)
11531159
- All entries remained shown (with the first entry remaining edited as done previously).
11541160
- Success message displayed informing the user of change.<br />
1155-
<br />
1161+
<br />
11561162
4. Test case: `edit 3 a/50 West Coast Road`
11571163

11581164
Expected:
11591165
- Third entry has address changed to "50 West Coast Road".
11601166
- All entries remained shown (with all entries updated previously).
11611167
- Success message displayed informing the user of change.<br />
1162-
<br />
1168+
<br />
11631169
5. Test case: `edit 4 re/I had a great time here.`
11641170

11651171
Expected:
11661172
- Fourth entry has review changed to "I had a great time here".
11671173
- All entries remained shown (with all entries updated previously).
11681174
- Success message displayed informing the user of change.<br />
1169-
<br />
1175+
<br />
11701176
6. Test case: `edit 5 p/20`
11711177

11721178
Expected:
11731179
- Fifth entry has price changed to "20". ($20)
11741180
- All entries remained shown (with all entries updated previously).
11751181
- Success message displayed informing the user of change.<br />
1176-
<br />
1182+
<br />
11771183
7. Test case: `edit 1 n/Hwangs ra/4 p/7 a/NUS re/Korean food makes me happy. s/Utown c/Korean`
11781184

11791185
Expected:
@@ -1182,7 +1188,7 @@ to work on.
11821188
food category changed to "Korean".
11831189
- All entries remained shown (with all entries updated previously).
11841190
- Success message displayed informing the user of change.<br />
1185-
<br />
1191+
<br />
11861192
8. Test case: `edit 1 c/Korean c/Others`
11871193

11881194
Expected:
5.54 KB
Loading

src/main/java/fooddiary/MainApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public class MainApp extends Application {
3838

39-
public static final Version VERSION = new Version(1, 3, 0, true);
39+
public static final Version VERSION = new Version(1, 4, 0, true);
4040

4141
private static final Logger logger = LogsCenter.getLogger(MainApp.class);
4242

0 commit comments

Comments
 (0)