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

broadinstitute / sam / 4272 / 1
77%
develop: 78%

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

17 Sep 2020 08:54PM UTC coverage: 77.036%. First build
ARTIFACTORY_USERNAME=[secure] ARTIFACTORY_PASSWORD=[secure]

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

Source Files on job 4272.1 (ARTIFACTORY_USERNAME=[secure] ARTIFACTORY_PASSWORD=[secure])
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1966
  • Travis Job 4272.1
  • 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