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

AY1920S1-CS2103T-T11-1 / main / 194 / 1
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2019 01:06PM UTC
Files 130
Run time 8s
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

29 Oct 2019 01:04PM UTC coverage: 50.692% (+0.02%) from 50.677%
194.1

push

travis-ci

web-flow
Fix bug in budget window shifting method for "pastperiod" command (#138)

* Add unit tests for Budget class

* Add unit tests for Percentage class

* Add unit tests for Percentage class (supplement to previous commit)

* Add unit tests for AddBudgetCommand

* Add unit tests for AddBudgetCommandParser

* Add unit tests for UniqueBudgetList

* Add unit tests for JsonAdaptedBudget

* Add unit tests for SwitchBudgetCommand

* Add unit tests for SwitchBudgetCommandParser

* Update UniqueBudgetList to automatically set newly added budget as primary

* Add Budget field to Expense

* Update AddExpense method in AddressBook to suit the new Expense with a Budget field

Specifically,
step 1: check primary budget - if null, add default and set primary, if yes - do nothing
step 2: check expense's budget - if null, add to primary budget, if yes - add to corresponding budget
step 3: add expense to expenses list

* Cosmetic changes: Remove extra whitespace

* Check null parameters in JsonAdaptedBudget constructor

* Update EditCommand following the changes to Expense class (new budgetName field)

* Add method to check which expenses are within current budget period

Other changes:
- add method to update the proportion used
- check for duplicate expense before adding
- change expired condition to include end date
- increase default budget limit
- cosmetic changes to make code more concise

* Change Expense's budgetName field type from String to Description

* Update tests following the addition of budgetName field to Expense class

* Fix checkstyle errors in Main and Test

* Update Percentage class such that percentage larger than 1 will be treated as 1 instead of throwing an exception

* Fix unit test failures due to addition of Category field to Expense

* Fix checkstyle errors in Main and Test

* Update DG: Budget feature (with class, sequence, activity diagrams)

* Fix checkstyle errors

* Cosmetic change... (continued)

1759 of 3470 relevant lines covered (50.69%)

0.51 hits per line

Source Files on job 194.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 94
  • Travis Job 194.1
  • 13b465f2 on github
  • Prev Job for on master (#188.1)
  • Next Job for on master (#197.1)
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