• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AY1920S1-CS2103T-W12-2 / main / 241
80%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2019 03:18AM UTC
Jobs 1
Files 96
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
241

push

travis-ci

lightz96
Budget command added allowing user to specify their budget for a specific month (#143)

* Budget command added which allows user to specify their budget for a specific month.

Month are uniquely identified by the following format: MM/yyyy.
Other changes:
1. Updated UGDG to include `budget` command.
2. Updated prefix for money from `c/COST` to `v/VALUE`, UGDG are updated to reflect this change.
3. Added classes to support `BudgetList` which stores `Budget` objects containing `Value` and `Calendar`.
4. Added JUnit test cases for `budget` command and the supporting classes like `BudgetList`, `BudgetCommand`, `BudgetCommandParser` and `ThriftTest` itself.

* Added saving/reading of monthly budgets into the data file.

1. Setting budget now saves into the JSON file, similar to how `Transaction` is stored.
2. Added JUnit tests for (de)/serializing of `Budget` objects.
3. Fixed JUnit tests for `JsonSerializableThrift`.
4. Added `StreamUtils` for converting `Iterator<T>` to `Stream<T>`. JUnit tests are also added for this new utility class.

* Fixed missing EOF in test json file

* THRIFT now shows the current month's transactions on startup.

1. New `TransactionIsInMonthYearPredicateTest` file to check if a `Transaction` belongs to that month. JUnit tests are added as well.
2. Current month's budget is shown in GUI.
3. Current month's balance is shown in GUI.

* Refreshes and displays the current month's transaction list after add/delete/update is executed

* Supported dynamic updating of displayed month's budget and balance

1. After parsing successfully either a Add/Budget/Delete/Update command, reflect the possible changes on the GUI.

* Bugfix to now include `Undo` and `Redo` commands to trigger refreshing the GUI.

* Fix checkstyle

* When Add/Budget/Delete/Update a transaction, the balance will only be updated if the transaction belongs to the current month.

* Allow budget to be $0 value and other bug fixes.

1. C... (continued)

1460 of 1963 relevant lines covered (74.38%)

0.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 241.1 20 Oct 2019 03:18AM UTC 0
74.38
Travis Job 241.1
Source Files on build 241
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #241
  • db2cadf5 on github
  • Prev Build on master (#241)
  • Next Build on master (#243)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc