forked from nus-cs2103-AY1718S2/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from CS2103JAN2018-T11-B1/master
Updating my repo
- Loading branch information
Showing
6 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
17 changes: 16 additions & 1 deletion
17
src/test/data/XmlAddressBookStorageTest/invalidAndValidTaskAddressBook.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!-- @@author a-shakra --><addressbook> <!-- Valid Task --> <tasks> <description>exampleTask1</description> <duration>3h20m</duration> <dateandtime>05/02/2018 3:20</dateandtime> </tasks> <!-- Task with invalid duration field --> <tasks> <description>exampleTask1</description> <duration>3h2m</duration> <dateAndTime>05/03/2018 3:20</dateAndTime> </tasks></addressbook> | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<!-- @@author a-shakra --> | ||
<addressbook> | ||
<!-- Valid Task --> | ||
<tasks> | ||
<description>exampleTask1</description> | ||
<duration>3h20m</duration> | ||
<dateandtime>05/02/2018 3:20</dateandtime> | ||
</tasks> | ||
<!-- Task with invalid duration field --> | ||
<tasks> | ||
<description>exampleTask1</description> | ||
<duration>3h2m</duration> | ||
<dateAndTime>05/03/2018 3:20</dateAndTime> | ||
</tasks> | ||
</addressbook> |
10 changes: 9 additions & 1 deletion
10
src/test/data/XmlAddressBookStorageTest/invalidTaskAddressBook.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!-- @@author a-shakra --><addressbook> <tasks> <description>exampleTask1</description> <duration>3333333:::</duration> <dateAndTime>2018-05-02T03:20</dateAndTime> </tasks></addressbook> | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<!-- @@author a-shakra --> | ||
<addressbook> | ||
<tasks> | ||
<description>exampleTask1</description> | ||
<duration>3333333:::</duration> | ||
<dateAndTime>2018-05-02T03:20</dateAndTime> | ||
</tasks> | ||
</addressbook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ | |
<duration>3h20m</duration> | ||
<dateAndTime>02/07/2018T23:20</dateAndTime> | ||
</tasks> | ||
</addressbook> | ||
</addressbook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
<tasks> | ||
<description>exampleTask1</description> | ||
<duration>3:20</duration> | ||
</tasks> | ||
</tasks> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters