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

wooga / atlas-version / 13
76%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2020 02:32PM UTC
Jobs 3
Files 18
Run time 5min
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
13

push

jenkins

Refactor version provider (#6)

Description
===========

This is a small cleanup patch to prepare the next `versionCode`
implementation. I renamed the extension property `scheme` to
`versionScheme` and also adjusted the type to an enum `VersionScheme`. I
left the ability to set this value from `String` to make it easier to
set the value in the `build.gradle` script.

I wrapped the version provider in a new custom provider which can cache
the infered value. This whole provider gets wrapped again in a special
`ToStringProvider`. This providers `toString` method will evaluate the
internal value and call `toString` on it. The default `Provider`
instances only provide a basic `toString` implementation.

I also added more test cases for the new APIs and classes

Changes
=======

* ![CHANGE] `scheme` to `versionScheme`
* ![CHANGE] `versionScheme` type from `String` to `VersionScheme`
* ![ADD] `MemoisationProvider`
* ![ADD] `ToStringProvider`
* ![IMPROVE] `versionScheme` API overloads

321 of 413 relevant lines covered (77.72%)

2.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13.1 02 Jun 2020 02:32PM UTC 0
77.72
2 13.2 02 Jun 2020 02:33PM UTC 0
77.72
3 13.3 02 Jun 2020 02:37PM UTC 0
77.72
Source Files on build 13
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #13
  • 82f37244 on github
  • Prev Build on master (#12)
  • Next Build on master (#14)
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