File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed
src/main/java/io/cucumber/junitxmlformatter Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 5959 <dependency >
6060 <groupId >io.cucumber</groupId >
6161 <artifactId >messages</artifactId >
62- <version >[24 .0.0,29 .0.0)</version >
62+ <version >[29 .0.1,30 .0.0)</version >
6363 </dependency >
6464 <dependency >
6565 <groupId >io.cucumber</groupId >
6666 <artifactId >query</artifactId >
67- <version >[13.3 .0,14 .0.0)</version >
67+ <version >[14.0 .0,15 .0.0)</version >
6868 </dependency >
6969
7070 <dependency >
Original file line number Diff line number Diff line change 1515import io .cucumber .query .Lineage ;
1616import io .cucumber .query .NamingStrategy ;
1717import io .cucumber .query .Query ;
18+ import io .cucumber .query .Repository ;
1819
1920import java .time .Duration ;
2021import java .util .AbstractMap .SimpleEntry ;
2526import java .util .Optional ;
2627
2728import static io .cucumber .messages .types .TestStepResultStatus .PASSED ;
29+ import static io .cucumber .query .Repository .RepositoryFeature .INCLUDE_GHERKIN_DOCUMENT ;
2830import static java .time .format .DateTimeFormatter .ISO_INSTANT ;
2931import static java .util .concurrent .TimeUnit .SECONDS ;
3032import static java .util .stream .Collectors .toList ;
3133
3234class XmlReportData {
3335
34- private final Query query = new Query ();
36+ private final Repository repository = Repository .builder ()
37+ .feature (INCLUDE_GHERKIN_DOCUMENT , true )
38+ .build ();
39+ private final Query query = new Query (repository );
3540 private final NamingStrategy namingStrategy ;
3641
3742 private static final long MILLIS_PER_SECOND = SECONDS .toMillis (1L );
@@ -41,7 +46,7 @@ class XmlReportData {
4146 }
4247
4348 void collect (Envelope envelope ) {
44- query .update (envelope );
49+ repository .update (envelope );
4550 }
4651
4752 double getSuiteDurationInSeconds () {
Original file line number Diff line number Diff line change 2222 "prepublishOnly" : " tsc --build tsconfig.build.json"
2323 },
2424 "dependencies" : {
25- "@cucumber/query" : " ^13.3 .0" ,
25+ "@cucumber/query" : " ^14.0 .0" ,
2626 "@teppeis/multimaps" : " ^3.0.0" ,
2727 "luxon" : " ^3.5.0" ,
2828 "xmlbuilder" : " ^15.1.1"
You can’t perform that action at this time.
0 commit comments