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

nubs / random-name-generator / 129
100%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2016 01:55AM UTC
Jobs 2
Files 5
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
129

Pull #34

travis-ci

web-flow
Add __toString() to all generators.

Reduce redundancy of code using random-name-generator by providing a
`__toString()` method to alias the `getName` method.  Rather than repeat
this method on all classes, this uses an abstract class to add the
behavior since all generators would theoreticaly be cast to string in
the same way.

This does not add the __toString method to the interface yet as that
would break compatibility to downstream libraries.  Version 3.0 will
have __toString added as part of the interface.
Pull Request #34: Added __toString() to all classes implementing Generator interface

1 of 1 new or added line in 1 file covered. (100.0%)

45 of 45 relevant lines covered (100.0%)

5.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 129.1 04 Dec 2016 01:55AM UTC 0
100.0
Travis Job 129.1
2 129.2 04 Dec 2016 01:55AM UTC 0
100.0
Travis Job 129.2
Source Files on build 129
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #129
  • Pull Request #34
  • PR Base - master (#123)
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