mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
#40 Fix NPE in Result.getReportDocument for malformed xml input
This commit is contained in:
parent
b44603b55f
commit
da70421620
9 changed files with 74 additions and 44 deletions
|
|
@ -121,6 +121,9 @@ public class DefaultCheckTest {
|
|||
assertThat(result.isWellformed()).isFalse();
|
||||
assertThat(result.isSchemaValid()).isFalse();
|
||||
assertThat(result.isProcessingSuccessful()).isFalse();
|
||||
assertThat(result.getAcceptRecommendation()).isEqualTo(AcceptRecommendation.REJECT);
|
||||
assertThat(result.getReport()).isNotNull();
|
||||
assertThat(result.getReportDocument()).isNotNull();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue