Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Fixed
- [Dotnet] Fixed code generation for types that accept List<T> as parameters. Constructors were not properly handling null input. ([#249](https://github.com/cucumber/messages/pull/249) [clrudolphi])
- Moved contents of the description of the StepDefinitionIds field from the StepMatchArgumentsList field where it had been mistakenly placed. ([#252](https://github.com/cucumber/messages/pull/252) [clrudolphi])

### Changed
- [Go] Switch to Google's UUID module ([#251](https://github.com/cucumber/messages/pull/251))

Expand Down
4 changes: 2 additions & 2 deletions dotnet/Cucumber.Messages/generated/TestStep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public sealed class TestStep
public string PickleStepId { get; private set; }
/**
* Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
* Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
* and a size of 2+ means `AMBIGUOUS`
*/
public List<string> StepDefinitionIds { get; private set; }
/**
* A list of list of StepMatchArgument (if derived from a `PickleStep`).
* Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
* and a size of 2+ means `AMBIGUOUS`
*/
public List<StepMatchArgumentsList> StepMatchArgumentsLists { get; private set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ public Optional<String> getPickleStepId() {

/**
* Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
* Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
* and a size of 2+ means `AMBIGUOUS`
*/
public Optional<java.util.List<String>> getStepDefinitionIds() {
return Optional.ofNullable(stepDefinitionIds);
}

/**
* A list of list of StepMatchArgument (if derived from a `PickleStep`).
* Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
* and a size of 2+ means `AMBIGUOUS`
*/
public Optional<java.util.List<StepMatchArgumentsList>> getStepMatchArgumentsLists() {
return Optional.ofNullable(stepMatchArgumentsLists);
Expand Down
4 changes: 2 additions & 2 deletions jsonschema/TestCase.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@
"type": "string"
},
"stepDefinitionIds": {
"description": "Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)",
"description": "Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)\n Each element represents a matching step definition. A size of 0 means `UNDEFINED`,\n and a size of 2+ means `AMBIGUOUS`",
"items": {
"type": "string"
},
"type": "array"
},
"stepMatchArgumentsLists": {
"description": "A list of list of StepMatchArgument (if derived from a `PickleStep`).\n Each element represents a matching step definition. A size of 0 means `UNDEFINED`,\n and a size of 2+ means `AMBIGUOUS`",
"description": "A list of list of StepMatchArgument (if derived from a `PickleStep`).",
"items": {
"$ref": "#/definitions/StepMatchArgumentsList"
},
Expand Down
4 changes: 2 additions & 2 deletions perl/lib/Cucumber/Messages.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3968,6 +3968,8 @@ has pickle_step_id =>
=head4 step_definition_ids

Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
and a size of 2+ means `AMBIGUOUS`
=cut

has step_definition_ids =>
Expand All @@ -3978,8 +3980,6 @@ has step_definition_ids =>
=head4 step_match_arguments_lists

A list of list of StepMatchArgument (if derived from a `PickleStep`).
Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
and a size of 2+ means `AMBIGUOUS`
=cut

has step_match_arguments_lists =>
Expand Down
4 changes: 2 additions & 2 deletions php/src-generated/TestStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ public function __construct(

/**
* Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
* Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
* and a size of 2+ means `AMBIGUOUS`
*/
public readonly ?array $stepDefinitionIds = null,

/**
* A list of list of StepMatchArgument (if derived from a `PickleStep`).
* Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
* and a size of 2+ means `AMBIGUOUS`
*/
public readonly ?array $stepMatchArgumentsLists = null,
) {
Expand Down
4 changes: 2 additions & 2 deletions ruby/lib/cucumber/messages/test_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class TestStep < Message

##
# Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
# Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
# and a size of 2+ means `AMBIGUOUS`
##
attr_reader :step_definition_ids

##
# A list of list of StepMatchArgument (if derived from a `PickleStep`).
# Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
# and a size of 2+ means `AMBIGUOUS`
##
attr_reader :step_match_arguments_lists

Expand Down