Skip to content

Conversation

@pesse
Copy link
Member

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.

FixesutPLSQL/utPLSQL-cli#162

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

@pessepesse requested a review from PazusJuly 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
MemberAuthor

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.

@pessepesse merged commit 8a4715e into developJul 22, 2019
@pessepesse deleted the bugfix/coverage_key_value_parameter branch July 22, 2019 19:45
Sign up for freeto 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

3 participants

@pesse@Pazus