Skip to content

Fix Java8StepDefinition.isDefinedAt #1255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 13, 2017

Conversation

mpkorstanje
Copy link
Contributor

Summary

Fixes Java8StepDefinition.isDefinedAt as reported in #1254.

Details

While replacing ConstantPoolTypeIntrospector with TypeResolver in 657ce3a the creation of the Java8StepDefinition was moved from the JavaBackend to the generated step definition.

This removed one stack element between the invocation of the Lambda (e.g. Given(....)) and the creation of the Java8StepDefinition.

How Has This Been Tested?

Extracted LambdaGlueRegistry to make a unit test possible.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

@mpkorstanje mpkorstanje merged commit 9a22e40 into master Oct 13, 2017
@mpkorstanje mpkorstanje deleted the fix-java8-step-definition-is-defined-at branch October 13, 2017 22:50
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 81.241% when pulling 5a9dd8e on fix-java8-step-definition-is-defined-at into ca3c2e7 on master.

@lock
Copy link

lock bot commented Oct 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
@mpkorstanje mpkorstanje restored the fix-java8-step-definition-is-defined-at branch October 4, 2019 18:20
@mpkorstanje mpkorstanje deleted the fix-java8-step-definition-is-defined-at branch October 4, 2019 18:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants