Skip to content

unable do junit testing of TableResult outside of package #3228

Description

@ymcjava

I am using table to result to get the result from query job and then using a FieldValueList to iterate the list of row and is working fine, However when I do the junit testing for this code , I tried the TableResultTest and getting error that TableResult() not available publicly. Is there any way I can populate the FiledValueList in TableResult and do the unit test on different package

TableResult result = queryJob.getQueryResults();

for (FieldValueList row : result.iterateAll()) {
}

Activity

  1. self-assigned this
    on May 8, 2018
  2. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 8, 2018
  3. added a commit that references this issue on May 8, 2018
    4b6e1cb
  4. ymcjava commented on May 10, 2018

    @ymcjava
    Author

    Thanks for fixing this issue

  5. added a commit that references this issue on Sep 18, 2018
    d9d7adc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions