[
https://issues.apache.org/jira/browse/LUCENE-10044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sejal Pawar updated LUCENE-10044:
---------------------------------
Description:
All unit tests in {{TestDrillSideways}} currently do the same task for priming
a {{DrillDownQuery}} and a {{DrillSidewaysResult}}. I would like to extract the
common code here for the initialisation and capture it in
{{DrillSidewaysInitialiser}} - a helper class for writing unit tests which
would initialise a {{DrillSidewaysResult}} while retaining members like
{{FacetsConfig}} for future access.
Something similar has been implemented for {{Document}} creation in
{{DocHelper}}.
was:
All unit tests in `TestDrillSideways` currently do the same task for priming a
`DrillDownQuery` and a `DrillSidewaysResult`. I would like to extract the
common code here for the initialisation and capture it in
`DrillSidewaysInitialiser` - a helper class which would initialise a
`DrillSidewaysResult` while retaining members like `FacetsConfig` for future
access.
Something similar has been implemented for `Document` creation in `DocHelper`.
> Clean up unit tests for TestDrillSideways
> -----------------------------------------
>
> Key: LUCENE-10044
> URL: https://issues.apache.org/jira/browse/LUCENE-10044
> Project: Lucene - Core
> Issue Type: Test
> Components: modules/facet
> Affects Versions: main (9.0)
> Reporter: Sejal Pawar
> Priority: Minor
> Fix For: main (9.0), 8.10
>
>
> All unit tests in {{TestDrillSideways}} currently do the same task for
> priming a {{DrillDownQuery}} and a {{DrillSidewaysResult}}. I would like to
> extract the common code here for the initialisation and capture it in
> {{DrillSidewaysInitialiser}} - a helper class for writing unit tests which
> would initialise a {{DrillSidewaysResult}} while retaining members like
> {{FacetsConfig}} for future access.
> Something similar has been implemented for {{Document}} creation in
> {{DocHelper}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]