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

locomotivemtl / charcoal-property / 225 / 1
61%
master: 61%

Build:
DEFAULT BRANCH: master
Ran 25 May 2017 02:06PM UTC
Files 36
Run time 2s
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

25 May 2017 02:03PM UTC coverage: 60.016% (+18.5%) from 41.525%
225.1

push

travis-ci

mducharme
Improved Selectable Properties (#4)

* Improved Selectable Properties

Todo:
- ObjectProperty: Complete Unit Tests
- StringProperty: Complete Unit Tests

Changes SelectableProperty Mixin:
- Added ‘addChoices()’;
- Added ‘hasChoices()’;
- Added ‘choiceLabel()’;
- Added ‘parseChoices()’ and ‘parseChoice()’ for use in subclasses;
- Moved choice formatting from ‘addChoice()’ to ‘parseChoice()’;
- Cleaned up method documentation;

Changes:
- Moved choice label usage from ‘StringProperty::displayVal()’ to ‘AbstractProperty::displayVal()’ since its used by most that use ‘SelectablePropertyTrait’;
- ObjectProperty: Added ‘choiceLabel()’, ‘hasChoices()’, and exception for ’addChoices()’;
- LangProperty: Revised use of available locales, added support for customizing choices;
- Improved unit tests for the affected properties and mixins;

* ObjectProperty: Added Pagination

* ObjectProperty: Modified model loader

Changes:
- Changed `modelLoader()` visibility from private to protected
- Added support for retrieving a specific model loader from `modelLoader()`

* ObjectProperty: Modified CollectionLoader Usage

Moved preparation of collection loader (filters and orders) from ‘choices()’ and ‘hasChoices()’ to ‘collectionLoader()’.

* StringProperty: Completed Unit Tests

Changes:
- Cleaned up `StringProperty`
- Completed unit tests for `StringProperty`
- Revised various method and property documentation
- Fixed 'SelectablePropertyTrait::parseChoice()' when receiving a `"key": "label"` structure
- Fixed elegant separators for displayed values
- Improved `ContainerIntegrationTrait`
- Added `ContainerProvider::registerMultilingualTranslator()`, used by `StringPropertyTest` and `LangPropertyTest`

* ObjectProperty: Completed Unit Tests

Changes:
- Cleaned up `ObjectProperty`
- Completed unit tests for `ObjectProperty`
- Implemented 'GenericModel' for testing
- Implemented "tedivm/stash" and "mustache/mustache" for unit tests
- Added "locomotivemtl/charcoal-view" services to `ContainerProvider`
- Fixed model collection loader service for unit tests
- Improved value display and pattern rendering for `ObjectProperty`
- Decoupled choice formatting from `ObjectProperty::choice()` to `ObjectProperty::parseChoice()`
- Minor cleanup of `LangPropertyTest`

* Fixed Scrutinizer Issues

1471 of 2451 relevant lines covered (60.02%)

3.22 hits per line

Source Files on job 225.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 225
  • Travis Job 225.1
  • 770d5443 on github
  • Prev Job for on master (#208.1)
  • Next Job for on master (#226.3)
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