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

Skip to content

unable do junit testing of TableResult outside of package #3228

@ymcjava

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()) {
}

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