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

wooga / atlas-version / 13 / 1
76%
master: 76%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2020 02:32PM UTC
Files 18
Run time 57s
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

02 Jun 2020 02:32PM UTC coverage: 77.724% (+0.2%) from 77.556%
13.1

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%)

0.78 hits per line

Source Files on job 13.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 15
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13
  • 82f37244 on github
  • Prev Job for on master (#12.1)
  • Next Job for on master (#14.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