|
Ran
|
Files
805
|
Run time
1min
|
Badge
README BADGES
|
push
github
Fix error response/tests Runtime errors returned from a bean trigger a transaction rollback exception and either those exceptions have to be caught (i.e. as in https://github.com/IQSS/dataverse/blob/e7be5947a/src/main/java/edu/harvard/iq/dataverse/search/SearchServiceBean.java#L354-L357) or some non-runtime exception has to be returned. I used the WrappedResponse class as a way to simplify but reviewers may have some other preference (e.g. just catch the transaction exceptions as in the SearchServiceBean or use non-runtime exceptions directly in the LicenseServiceBean class). Any of these should assure a non-null response is returned which in turn should allow the AdminIt tests to pass.
14220 of 75213 relevant lines covered (18.91%)
0.19 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|