Skip to content

Conversation

@olavloite
Copy link

Adds tests for methods in AbstractJdbcResultSet. Also removes unused code from JdbcResultSetTest class.
This PR also adds functionality for keeping track of the fetchSize hint of a ResultSet. Although the hint is currently not used, it is better to keep track of it to keep the get/set methods consistent. According to the JDBC spec, these methods must be implemented, but it is not required that the
driver actually uses the hint.

Although the hint is currently not used, it is better to keep track of
it to keep the get/set methods consistent. According to the JDBC spec,
these methods must be implemented, but it is not required that the
driver actually uses the hint.
@olavloite olavloite requested review from kolea2 and skuruppu August 25, 2019 12:47
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 25, 2019
@codecov
Copy link

codecov bot commented Aug 25, 2019

Codecov Report

Merging #6156 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6156      +/-   ##
============================================
+ Coverage     47.38%   47.42%   +0.04%     
- Complexity    27182    27296     +114     
============================================
  Files          2524     2524              
  Lines        274612   274613       +1     
  Branches      31383    31383              
============================================
+ Hits         130125   130239     +114     
+ Misses       134874   134761     -113     
  Partials       9613     9613
Impacted Files Coverage Δ Complexity Δ
...ogle/cloud/spanner/jdbc/AbstractJdbcResultSet.java 100% <100%> (+95.79%) 117 <2> (+114) ⬆️
...ain/java/com/google/cloud/pubsub/v1/Publisher.java 89.11% <0%> (-0.35%) 40% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c2f465...092c2df. Read the comment docs.

@olavloite olavloite merged commit 6afa233 into googleapis:master Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants