mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
parent
ecf1e1cef4
commit
13de7f00a4
2 changed files with 4 additions and 4 deletions
|
|
@ -4,9 +4,11 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## 1.3.1
|
## 1.3.1
|
||||||
### Fixed
|
### Fixed
|
||||||
- failed-asserts are not evaluated correctly while computing overall acceptance
|
- `getFailedAsserts()` and `isSchematronValid()` in [DefaultResult.java](https://github.com/itplr-kosit/validator/blob/master/src/main/java/de/kosit/validationtool/impl/DefaultResult.java)
|
||||||
|
do not reflect actual schematron validation result
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- engine info contains version number of the validator (configurations can output this in the report for maintainance puposes)
|
- engine info contains version number of the validator (configurations can output this in the report for maintainance puposes)
|
||||||
|
|
@ -27,7 +29,7 @@ the validator (this further improves performance and memory consumption)
|
||||||
|
|
||||||
## 1.2.1
|
## 1.2.1
|
||||||
### Fixed
|
### Fixed
|
||||||
- Validator was creating invalid createReportInput xml in case of no scenrio match
|
- Validator is creating invalid createReportInput xml in case of no scenario match
|
||||||
|
|
||||||
|
|
||||||
## 1.2.0
|
## 1.2.0
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,6 @@ public class DefaultCheckTest {
|
||||||
public void testMultipleCase() {
|
public void testMultipleCase() {
|
||||||
final List<Input> input = IntStream.range(0, MULTI_COUNT).mapToObj(i -> read(Simple.SIMPLE_VALID)).collect(Collectors.toList());
|
final List<Input> input = IntStream.range(0, MULTI_COUNT).mapToObj(i -> read(Simple.SIMPLE_VALID)).collect(Collectors.toList());
|
||||||
final List<Result> docs = this.implementation.checkInput(input);
|
final List<Result> docs = this.implementation.checkInput(input);
|
||||||
assertThat(docs).isNotNull();
|
|
||||||
assertThat(docs).hasSize(MULTI_COUNT);
|
assertThat(docs).hasSize(MULTI_COUNT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -99,7 +98,6 @@ public class DefaultCheckTest {
|
||||||
public void testMultipleCaseDocument() {
|
public void testMultipleCaseDocument() {
|
||||||
final List<Input> input = IntStream.range(0, MULTI_COUNT).mapToObj(i -> read(Simple.SIMPLE_VALID)).collect(Collectors.toList());
|
final List<Input> input = IntStream.range(0, MULTI_COUNT).mapToObj(i -> read(Simple.SIMPLE_VALID)).collect(Collectors.toList());
|
||||||
final List<Document> docs = this.implementation.check(input);
|
final List<Document> docs = this.implementation.check(input);
|
||||||
assertThat(docs).isNotNull();
|
|
||||||
assertThat(docs).hasSize(MULTI_COUNT);
|
assertThat(docs).hasSize(MULTI_COUNT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue