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

openlcb / OpenLCB_Java / 450 / 1
71%
master: 71%

Build:
DEFAULT BRANCH: master
Ran 21 Mar 2021 12:59PM UTC
Files 139
Run time 7s
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

21 Mar 2021 12:56PM UTC coverage: 70.9% (-0.8%) from 71.715%
450.1

push

travis-ci

web-flow
Warn the user upon closing with unsaved changes (#178)

Adds a warning dialog when a CDI window is closed with unsaved settings.

Misc changes:
- cleans up how the save button enabled/disabled is handled
- makes the collapsible panel header be bold font
- cleans up some whitespace

Code contributed by Pete Cressman <petecressman>

===

* Implement closing dialog to let user go back and write changes. Remind
user to save panel when sensor or turnout is made. Enable/disable 'Write
All' button (formerly Save changes button) according to whether saves
are needed. Suppress 'end update' message when no changes have been
made. Fix create sensor/turnout titled panel. Set Collapse panels title
to bold.  Set default directory for backup and restore to user's choice
of file location in preferences.

* Format with Eclipse formatter.

* Remove tab characters.

* Restore suggested file name include nodeID not nodeName.

* pre-selected file for backup/restore changed back to
"config."+rep.getRemoteNodeAsString()+".txt"

* Made suggested changes.

* - Adds missing comments. Removes draft comments.
- renames _saveNeeded to _unsavedRestore because that describes the semantics of the variable better and makes the code more readable.
- Implements a limit of how many "...is not saved" messages we put into the confirmation dialog.
- Makes the confirmation dialog buttons more clear what they do.

* Refactors all accesses to the save changes button to a helper method.

* reverts getName because the behavior is better when we have null.

* replaces chaeckForSave with notifyTabColorRefresh to allow de-duplicating these calls when many entries are saved at once.

Co-authored-by: petecressman <pete_cressman@sbcglobal.net>

5577 of 7866 relevant lines covered (70.9%)

0.71 hits per line

Source Files on job 450.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 403
  • Travis Job 450.1
  • e28cf44d on github
  • Prev Job for on master (#443.1)
  • Next Job for on master (#451.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

© 2025 Coveralls, Inc