« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1191 ms

TestRunnerStatement with dynamic Parameter-list by pesse · Pull Request #96 · utPLSQL/utPLSQL-java-api

Source: https://github.com/utPLSQL/utPLSQL-java-api/pull/96

Repository navigation

TestRunnerStatement with dynamic Parameter-list - #96


Merged
pesse merged 26 commits into develop from feature/testRunnerStatement_as_dynamic_paramList Oct 22, 2019
Merged

TestRunnerStatement with dynamic Parameter-list #96 pesse merged 26 commits into develop from feature/testRunnerStatement_as_dynamic_paramList

Conversation

pesse commented Oct 21, 2019 · edited Loading



Copy link Copy Markdown
Member

This removes the necessity for several different TestRunnerStatements, adding all functionality into one Statement with a dynamic Parameterlist.
It's now very clear which features are supported by which utPLSQL version.
Also, NULL-parameters are now handled much better, allowing the core to deal with defaults.

Fixes #92

pesse added 21 commits July 19, 2019 10:38 Add some more unit-tests de3311c completely filled TestRunnerOptions for testing purposes 7f52a33 Start exploring possibilities for a dynamic TestRunner-Statement 156f2d9 Merge branch 'develop' into feature/testRunnerStatement_as_dynamic_pa... a10b8b7
...ramList
Make getSql public for better testability 166720b Test against interface 2ce1e79 Slow approach towards new DynamicTestRunner-Statement 6100f3c Add failing test for Boolean support of DynamicParameterList 4f591ef Some more params of TestRunner handeled 4aba265 We can add booleans now b3d5779
Responsibility to build SQL fragment now also lies in the DynamicParameter
Two more parameters in the new DynamicStatement f2e1e01 FileMappings are more complicated to pass around 5ff0ee2
Needed some ugly mocking, probably something to refactor in future
Adding TestFileMappings a7b8266 Implement remaining dynamic parameters e1b7dd3 Remove helper comments c0ca8cd Add version Bugfix-numbers 4afca5f Version isGreaterThanOrEqual and isLessOrEqual treat NULL in base ver... 32b7d56
...sion

as being equal to anything in comparing version
Add tests for all utPLSQL versions 1b9e0b2 Added "end case" part 2a3d9df Replace old TestRunnerStatements with the new DynamicTestRunnerStatement 19a9037 Switch to OpenJDK 8 1751d68 pesse requested a review from Pazus October 21, 2019 21:15 pesse added 5 commits October 21, 2019 23:31 Add utPLSQL 3.1.8 version 02114ae Fix Version-String 6a0723a Merge branch 'develop' into feature/testRunnerStatement_as_dynamic_pa... 3799867
...ramList
Test JDK13 also with version 3.1.8 6ffa576 We don't need Maven CFG anymore 97be74d Pazus reviewed Oct 22, 2019
View reviewed changes
Comment thread src/main/java/org/utplsql/api/Version.java
} else if (i1 == null) {
return -1;
return nullMeansEqual ? 0 : -1;
} else if (i2 == null) {
pesse merged commit 74daeb6 into develop Oct 22, 2019 pesse deleted the feature/testRunnerStatement_as_dynamic_paramList branch October 22, 2019 15:08 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

3 participants