-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Remove deprecated TypeRegistryConfigurer
Prefer using the annotation based method of providing parameters instead. For example: ```gherkin Feature: Parameter Types Scenario: flights Given LHR-CDG has been delayed 45 minutes ``` ```java @given("{flight} has been delayed {int} minutes") public void lhrCDGHasBeenDelayedMinutes(Flight flight, int delay) { assertEquals("LHR", flight.from); assertEquals("CDG", flight.to); assertEquals(45, delay); } @ParameterType(value = "([A-Z]{3})-([A-Z]{3})", useForSnippets = true) public Flight flight(String from, String to) { return new Flight(from, to); } ```
- Loading branch information
1 parent
2fcd4b1
commit acea42d
Showing
23 changed files
with
28 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
core/src/main/java/io/cucumber/core/api/TypeRegistryConfigurer.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 0 additions & 135 deletions
135
core/src/main/java/io/cucumber/core/runtime/ScanningTypeRegistryConfigurerSupplier.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
core/src/main/java/io/cucumber/core/runtime/TypeRegistryConfigurerSupplier.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.