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

SQiShER / java-object-diff / 162
90%

Build:
DEFAULT BRANCH: master
Ran 08 Mar 2015 08:01PM UTC
Jobs 1
Files 99
Run time 9s
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
162

push

travis-ci

SQiShER
Enable ComparableComparisonStrategy for more types

So far this strategy only applied to BigDecimals. It has now been
extended to automatically apply to all simple types that implement
`java.lang.Comparable`.

The list of types that qualify as _simple_ has also been extended. It
now looks as follows:

* all primitive types (int, short, byte, etc.)
* all primitive wrapper types (Integer, Short, Byte, etc.)
* enums
* subclasses of:
    * `java.math.BigDecimal`
    * `java.math.BigInteger`
    * `java.lang.CharSequence`
    * `java.util.Calendar`
    * `java.util.Date`
* `java.lang.Class`
* `java.net.URI`
* `java.net.URL`
* `java.util.Locale`
* `java.util.UUID`

Of course this behaviour can be overriden via configuration API or
property annotations.

To make comparison via compareTo more reliable from now on compareTo
will be invoked on the working and the base object and objects will be
considered equal if either one of this comparisons returns true.

Fixes #85 and fixes #128

46 of 46 new or added lines in 3 files covered. (100.0%)

1742 of 2024 relevant lines covered (86.07%)

705.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/main/java/de/danielbechler/diff/comparison/ComparisonService.java
14
100.0
src/main/java/de/danielbechler/util/Classes.java

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/main/java/de/danielbechler/util/Objects.java
Jobs
ID Job ID Ran Files Coverage
1 162.1 08 Mar 2015 08:01PM UTC 0
86.02
Travis Job 162.1
Source Files on build 162
  • Tree
  • List 0
  • Changed 41
  • Source Changed 3
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #162
  • f00dc3ef on github
  • Prev Build on master (#161)
  • Next Build on master (#163)
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