Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bugfix/coverage key value parameter #90

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 12 commits into from
Jul 22, 2019

Conversation

pesse
Copy link
Member

@pesse pesse commented Jul 16, 2019

When empty TypeMapping parameter is passed, the java-api should assure it is passed to utPLSQL-api as NULL so the default TypeMapping can kick in.

Fixes utPLSQL/utPLSQL-cli#162

Adds some tests, too, and hides TypeMapper from public. Nothing but the java-api should mess with these internals.

@pesse pesse requested a review from Pazus July 16, 2019 20:47
public class DynamicParameterListTest {

@Test
void call_with_three_different_types() throws SQLException {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know if you which to create human readable name of a test you can use @Display annotation which will be displayed in the results instead of the method name

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, the upside of this approach is that I know immediately what the test does without first having to look for the @Display content.
It's a very good addition, though.

@pesse pesse merged commit 8a4715e into develop Jul 22, 2019
@pesse pesse deleted the bugfix/coverage_key_value_parameter branch July 22, 2019 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coverage files not mapped after upgrade to cli 3.1.7
2 participants