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

broadinstitute / sam / 4272
77%
develop: 78%

Build:
Build:
LAST BUILD BRANCH: sr-status-check-open-dj
DEFAULT BRANCH: develop
Ran 17 Sep 2020 09:06PM UTC
Jobs 1
Files 64
Run time 7s
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
4272

push

travis-ci-com

andy7i
Use smart nulls to provide better error messaging from Mockito

old nulls
```
500 Internal Server Error entity: {"causes":[],"exceptionClass":"java.lang.NullPointerException","message":"NullPointerException","source":"sam","stackTrace":[{"className":"org.broadinstitute.dsde.workbench.sam.api.SecurityDirectives","fileName":"SecurityDirectives.scala","lineNumber":96,"methodName":"hasParentPermissionOneOf"},{"className":"org.broadinstitute.dsde.workbench.sam.api.SecurityDirectives","fileName":"SecurityDirectives.scala","lineNumber":41,"methodName":"$anonfun$requireOneOfParentAction$1"},{"className":"akka.http.scaladsl.server.directives.BasicDirectives","fileName":"BasicDirectives.scala","lineNumber":39,"methodName":"$anonfun$mapInnerRoute$1"},
```

new smart nulls
```
500 Internal Server Error entity: {"causes":[],"exceptionClass":"scala.MatchError","message":"SmartNull returned by this unstubbed method call on a mock:\npolicyEvaluatorService.hasPermission(\n    FullyQualifiedResourceId(rt,child),\n    delete,\n    user1,\n    SamRequestContext(Some(io.opencensus.implcore.trace.NoRecordEventsSpanImpl@aa1bb14))\n); (of class cats.effect.IO$MockitoMock$80096492)","source":"sam",
```

2563 of 3327 relevant lines covered (77.04%)

0.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4272.1 (ARTIFACTORY_USERNAME=[secure] ARTIFACTORY_PASSWORD=[secure]) 17 Sep 2020 09:06PM UTC 0
77.04
Travis Job 4272.1
Source Files on build 4272
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #4272
  • 5ce673d6 on github
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