[hibernate/hibernate-search] 3d815c: HSEARCH-4035 Use static imports whenever tests rel...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 3d815cafe2929858c0cb7d1daf22442846e5891a
https://github.com/hibernate/hibernate-search/commit/3d815cafe2929858c0cb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchBatchedWorkProcessorTest.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulkerTest.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilderTest.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexIndexingPlanExecutionTest.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkWorkTest.java
M backend/lucene/src/test/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexIndexingPlanExecutionTest.java
M engine/src/test/java/org/hibernate/search/engine/backend/orchestration/spi/BatchingExecutorTest.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/AbstractIndexWorkspaceSimpleOperationIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexerIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexingPlanIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/AbstractSearchWorkspaceSimpleOperationIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/AbstractPojoIndexingOperationIT.java
M util/common/src/test/java/org/hibernate/search/util/common/impl/CancellableExecutionCompletableFutureTest.java
M util/internal/test/src/main/java/org/hibernate/search/util/impl/test/FutureAssert.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on FutureAssert
Just to make tests cleaner.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 725454b5af376aa47f2e9a6647736cc3d1a9a532
https://github.com/hibernate/hibernate-search/commit/725454b5af376aa47f2e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexIndexingPlanExecutionTest.java
M backend/lucene/src/test/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexIndexingPlanExecutionTest.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchClientSubmitCall.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/writer/LuceneIndexWriterSettingsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexingPlanIT.java
M integrationtest/mapper/orm-envers/src/test/java/org/hibernate/search/integrationtest/mapper/orm/envers/EnversIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M util/common/src/test/java/org/hibernate/search/util/common/pattern/spi/SimpleGlobPatternTest.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on SoftAssertions
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: f71303924e6dce9ff580721075940f91200101f2
https://github.com/hibernate/hibernate-search/commit/f71303924e6dce9ff580...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingBaseIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/work/ElasticsearchZeroDowntimeReindexingIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/analysis/LuceneSimilarityIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/directory/AbstractDirectoryIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/reader/LuceneIndexReaderRefreshBaseIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/writer/LuceneIndexWriterSettingsIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneFloatingPointInfinitySearchIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneMatchSearchPredicateIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneNoLimitSearchIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneNormalizeWildcardExpressionsIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchTopDocsMergeFieldSortIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchTopDocsMergeScoreSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/ObjectStructureIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisBuiltinIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisBuiltinOverrideIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisCustomIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/decimalscale/DecimalScaleIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/FieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/indexnull/IndexNullAsValueIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/multitenancy/MultiTenancyBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/AggregationBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/RangeAggregationSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/TermsAggregationSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SimpleQueryStringPredicateSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/CompositeSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceSearchProjectionMultiValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceSearchProjectionSingleValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceSearchProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionMultiValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionSingleValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryFetchIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollResultLoadingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/CompositeSearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchProjectionComplexCasesIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchSearchableSortableIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/MultivaluedSpatialIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/sharding/AbstractShardingRoutingKeyIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/sharding/ShardingHashDocumentIdIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexerIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexingPlanIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityChangingScrollingIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchResultAssert.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on SearchResultAssert or SearchHitsAssert
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 02850771a44cb90ab0e97c820e0ee9cf53a81eb6
https://github.com/hibernate/hibernate-search/commit/02850771a44cb90ab0e9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubDocumentWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubIndexScaleWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubSchemaManagementWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubSearchWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubTreeNodeAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/IndexScaleWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SchemaDefinitionCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SchemaManagementWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/ScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on the stub backend's assertions
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: e9eafc8cff153a9ad30186adb0ec4e4108756a2b
https://github.com/hibernate/hibernate-search/commit/e9eafc8cff153a9ad301...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContextTest.java
A util/common/src/test/java/org/hibernate/search/util/common/testsupport/GenericTypeContextAssert.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on GenericTypeContextAssert
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 6fb12c1e62ab1d4b761c7a7a573c8f27fe7e6cd0
https://github.com/hibernate/hibernate-search/commit/6fb12c1e62ab1d4b761c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/bridge/time/JavaTimeTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/BoolDSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/BoostDSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/DSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/NumericEncodingQueriesTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/NumericTypeWithNullEncodingTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/SimpleQueryStringDSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/SortDSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/SpatialDSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/embedded/DslEmbeddedSearchTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/embedded/path/DefaultPathsWithNestedIndexedEmbeddedTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/engine/numeric/NumericFieldTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/facet/NoIndexedValueFacetingTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/projection/ProjectionConversionTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/query/engine/HSQueryResultCacheClearingTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/sorting/SortingTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
M legacy/testing/src/main/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
Log Message:
-----------
HSEARCH-4035 Rename SearchITHelper.assertThat to assertThatQuery to avoid name conflicts
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: a7dae356e44d1ff2c8eebb5c7021e21c86e945a1
https://github.com/hibernate/hibernate-search/commit/a7dae356e44d1ff2c8ee...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
R legacy/testing-base/src/main/java/org/hibernate/search/test/util/FutureAssert.java
Log Message:
-----------
HSEARCH-4035 Remove the unused FutureAssert from legacy code
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 82005e1b288e7f9cd7551b0454f9919d67443c02
https://github.com/hibernate/hibernate-search/commit/82005e1b288e7f9cd755...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/AbstractSearchQueryEntityLoadingIT.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSoftAssertions.java
Log Message:
-----------
HSEARCH-4035 Rename OrmSoftAssertions.withinSession to assertWithinSession
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: bd382bfa127c3363814e3dd9b2770ff666ba63ad
https://github.com/hibernate/hibernate-search/commit/bd382bfa127c3363814e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M backend/lucene/src/test/java/org/hibernate/search/backend/lucene/lowlevel/index/impl/IndexAccessorTest.java
M backend/lucene/src/test/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneBatchedWorkProcessorTest.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/object/DocumentModelDslObjectIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/simple/DocumentModelDslSimpleIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/types/dsl/dslconverter/IndexFieldTypeDslDslConverterIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/types/dsl/projectionconverter/IndexFieldTypeDslProjectionConverterIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/types/dsl/simple/IndexFieldTypeDslSimpleIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/entityindexmapping/HibernateOrmIndexedIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/includepaths/IndexedEmbeddedIncludePathsIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/includepathsanddepth/IndexedEmbeddedIncludePathsAndDepthIT.java
M engine/src/test/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyBeanReferenceTest.java
M engine/src/test/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyInvalidSimpleValuesTest.java
M engine/src/test/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyValidMissingValuesTest.java
M engine/src/test/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyValidSimpleValuesTest.java
M engine/src/test/java/org/hibernate/search/engine/cfg/spi/ParseUtilsTest.java
M engine/src/test/java/org/hibernate/search/engine/spatial/GeoPolygonTest.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/ElasticsearchAnalysisConfigurerIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/bootstrap/ElasticsearchBootstrapFailureIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/bootstrap/ElasticsearchBootstrapIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/index/lifecycle/ElasticsearchIndexLifecycleStrategyIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/index/naming/ElasticsearchIndexNamingBaseIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingBaseIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerDynamicMappingIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerInspectionAliasesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerStatusCheckIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingBaseIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationAliasesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationAnalyzerIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingBaseIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationNormalizerIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/ElasticsearchMatchSearchPredicateIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/analysis/LuceneAnalysisConfigurerIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/directory/AbstractBuiltInDirectoryIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/directory/CustomDirectoryIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/directory/LuceneLocalFileSystemDirectoryIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/mapping/LuceneFieldAttributesIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/mapping/LuceneFieldTypesIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/schema/management/LuceneIndexSchemaManagerValidationIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneBoolSearchPredicateIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchTopDocsMergeFieldSortIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchTopDocsMergeScoreSortIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/DocumentAssert.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/decimalscale/DecimalScaleIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/indexnull/IndexNullAsValueIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/metamodel/IndexFieldDescriptorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/AggregationBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/TermsAggregationSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryFetchIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortUnsupportedTypesIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/operations/RangeAggregationDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/operations/TermsAggregationDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexWorkspaceIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingErrorIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingFailureIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/TransientPropertyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/nonregression/model/IdClassIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/schema/management/manager/AbstractSearchSchemaManagerSimpleOperationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/schema/management/manager/AbstractSearchSchemaManagerValidatingSimpleOperationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/schema/management/strategy/AbstractSchemaManagementStrategyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/schema/management/strategy/AbstractSchemaManagementStrategyValidatingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityChangingScrollingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchIndexingPlanBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/AbstractSearchWorkspaceSimpleOperationIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/bootstrap/FailureReportIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/lifecycle/CleanupIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/annotation/processing/CustomPropertyMappingAnnotationBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/annotation/processing/CustomTypeMappingAnnotationBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DependencyIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdDefaultBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerExtractorBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldDefaultBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexNullAsErrorIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBindingBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/RoutingKeyBindingBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBindingBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/providedid/ProvidedIdIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/timeout/SearchTimeoutIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/AbstractPojoIndexingOperationIT.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
M legacy/engine/src/test/java/org/hibernate/search/test/util/impl/IterableFlatteningTest.java
M legacy/testing-base/src/main/java/org/hibernate/search/test/util/JsonHelper.java
M legacy/testing/src/main/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
M mapper/pojo-base/src/test/java/org/hibernate/search/mapper/pojo/model/path/PojoModelPathTest.java
M util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/ValueReadHandleTest.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/FailureReportUtils.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/NormalizationUtils.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchHitAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchHitsAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchResultAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubUnusedContextualFailureCollector.java
M util/internal/test/src/main/java/org/hibernate/search/util/impl/test/FutureAssert.java
M util/internal/test/src/main/java/org/hibernate/search/util/impl/test/SubTest.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on Assertions
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 8656df31acb472cbbd7ba33d52ac5270ca00b518
https://github.com/hibernate/hibernate-search/commit/8656df31acb472cbbd7b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheckTest.java
M build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/StringSuppressorTest.java
M integrationtest/jdk/java-modules/src/test/java/org/hibernate/search/integrationtest/java/module/service/JavaModulePathIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingGenericPolymorphicAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicInverseSideAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/AnnotationMappingAccessTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/ProgrammaticMappingAccessTypeIT.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/BuildQueryBuilderTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/DSLTest.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/testsupport/junit/SearchFactoryHolder.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/backend/SyncBackendLongWorkListStressTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/AvoidDuplicatesTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/CollectionInitializeTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/IndexingGeneratedCorpusTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/MassIndexerCancellingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/PathEmbeddedDepthTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/defaultdepth/DefaultDepthPathCaseEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/depth/PathRespectDepthCaseEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/multiple/MultiplePathCaseEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/prefixed/PrefixedEmbeddedCaseInPathTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/renamed/RenamedFieldPathCaseEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/simple/SimplePathCaseEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/engine/TransientFieldsDirtyTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/engine/worker/WorkerTestCase.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/event/update/DirtyCheckingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/jpa/SpatialQueryingJPATest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/session/SessionTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/spatial/SpatialContainedInTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/spatial/SpatialIndexingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/spatial/SpatialSearchSortByDistanceAndPagingTest.java
M legacy/engine/src/test/java/org/hibernate/search/test/engine/typehandling/BasicTypeCollectionsTest.java
M legacy/engine/src/test/java/org/hibernate/search/test/metadata/types/IndexedTypesSetsTest.java
M legacy/engine/src/test/java/org/hibernate/search/test/util/impl/IterableFlatteningTest.java
M legacy/orm/src/test/java/org/hibernate/search/test/spatial/PointTest.java
M legacy/orm/src/test/java/org/hibernate/search/test/spatial/RectangleTest.java
M legacy/orm/src/test/java/org/hibernate/search/test/spatial/SpatialHashHelperTest.java
M legacy/testing/src/main/java/org/hibernate/search/testsupport/concurrency/ConcurrentRunner.java
M legacy/testing/src/main/java/org/hibernate/search/testsupport/junit/SearchFactoryHolder.java
M legacy/testing/src/main/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
M mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospectorAccessTypeTest.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubDocumentWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubIndexScaleWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubSchemaManagementWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubSearchWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubTreeNodeAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallQueue.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/SlowerLoadingListener.java
M util/internal/integrationtest/v5migrationhelper/src/main/java/org/hibernate/search/testsupport/concurrency/ConcurrentRunner.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on org.junit.Assert
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: faba25c7d8ccfa22aeeb125e40ffec3d03d02e6d
https://github.com/hibernate/hibernate-search/commit/faba25c7d8ccfa22aeeb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M backend/lucene/src/test/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexIndexingPlanExecutionTest.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerStatusCheckIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingAttributeIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingBaseIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/query/ElasticsearchSearchQueryIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchTopDocsMergeFieldSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/indexnull/IndexNullAsValueIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RangePredicateSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AbstractAutomaticIndexingBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingCacheLookupIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdDefaultBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdDefaultBridgeOverridingIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldDefaultBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldDefaultBridgeOverridingIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexNullAsErrorIT.java
M legacy/integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
M util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/ValueReadHandleTest.java
Log Message:
-----------
HSEARCH-4035 Use static imports whenever tests rely on org.junit.Assume
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: d95fa22e3fe1387ef466bada5e92b8dfcc704a6f
https://github.com/hibernate/hibernate-search/commit/d95fa22e3fe1387ef466...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M build-config/src/main/resources/checkstyle.xml
Log Message:
-----------
HSEARCH-4035 Add checkstyle rules to avoid assertions without static imports
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/36eb81aed73d...d95f...
4 years, 2 months
[hibernate/hibernate-orm] b7ae58: HHH-14227 Insert statements are not ordered with e...
by Nathan Xu
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: b7ae588768f4c8b2f6d13fb71e142a4bc72181b7
https://github.com/hibernate/hibernate-orm/commit/b7ae588768f4c8b2f6d13fb...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
Log Message:
-----------
HHH-14227 Insert statements are not ordered with entities that use inheritance and reference a subclass
Commit: c3d704c35b84ede09d0319e21955225d3db8e056
https://github.com/hibernate/hibernate-orm/commit/c3d704c35b84ede09d0319e...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
M hibernate-core/src/test/java/org/hibernate/test/util/jdbc/PreparedStatementSpyConnectionProvider.java
Log Message:
-----------
HHH-14227 Some additional typos and message improvements
Commit: 64f8314ea1f8f535f7db424122ff395411327bc6
https://github.com/hibernate/hibernate-orm/commit/64f8314ea1f8f535f7db424...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
R hibernate-core/src/test/java/org/hibernate/engine/spi/BatchSortingTest.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/BaseInsertOrderingTest.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/BatchSortingTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/ElementCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingDuplicateTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingHasParentTest.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingReferenceDifferentSubclassTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingSelfReferenceSingleTableInheritance.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingSelfReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBaseClassReferencingSubclass.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalManyToMany.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalMapsIdOneToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToMany.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToManyFlushProblem.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToOneFlushProblem.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithJoinedTableInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithJoinedTableMultiLevelInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithManyToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithMultipleManyToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithSecondaryTable.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithSingleTableInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithTablePerClassInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithUnidirectionalOneToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithUnidirectionalOneToOneJoinColumn.java
Log Message:
-----------
HHH-14227 Add some more tests to cover order of batched insert executions
Compare: https://github.com/hibernate/hibernate-orm/compare/b63801839020...64f8314...
4 years, 2 months
[hibernate/hibernate-orm] de6736: HHH-14227 Insert statements are not ordered with e...
by Nathan Xu
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: de6736ba3217c3965121f43ee4fdffab5afc7c1f
https://github.com/hibernate/hibernate-orm/commit/de6736ba3217c3965121f43...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
Log Message:
-----------
HHH-14227 Insert statements are not ordered with entities that use inheritance and reference a subclass
Commit: 9de5e3e0056d44e624a0b2428a2e207ce09e2949
https://github.com/hibernate/hibernate-orm/commit/9de5e3e0056d44e624a0b24...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
M hibernate-core/src/test/java/org/hibernate/test/util/jdbc/PreparedStatementSpyConnectionProvider.java
Log Message:
-----------
HHH-14227 Some additional typos and message improvements
Commit: d045797aa7307247d0f964198206de55d063e3fa
https://github.com/hibernate/hibernate-orm/commit/d045797aa7307247d0f9641...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
R hibernate-core/src/test/java/org/hibernate/engine/spi/BatchSortingTest.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/BaseInsertOrderingTest.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/BatchSortingTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/ElementCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingDuplicateTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingHasParentTest.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingReferenceDifferentSubclassTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingSelfReferenceSingleTableInheritance.java
A hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingSelfReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBaseClassReferencingSubclass.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalManyToMany.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalMapsIdOneToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToMany.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToManyFlushProblem.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithBidirectionalOneToOneFlushProblem.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithJoinedTableInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithJoinedTableMultiLevelInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithManyToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithMultipleManyToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithSecondaryTable.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithSingleTableInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithTablePerClassInheritance.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithUnidirectionalOneToOne.java
M hibernate-core/src/test/java/org/hibernate/test/insertordering/InsertOrderingWithUnidirectionalOneToOneJoinColumn.java
Log Message:
-----------
HHH-14227 Add some more tests to cover order of batched insert executions
Compare: https://github.com/hibernate/hibernate-orm/compare/5eedda9a467f...d045797...
4 years, 2 months
[hibernate/hibernate-search] d7c5eb: HSEARCH-3785 Simplify data initialization in Searc...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: d7c5eba1feef8319c0ef0c7f608784128539053b
https://github.com/hibernate/hibernate-search/commit/d7c5eba1feef8319c0ef...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Simplify data initialization in SearchQueryTimeoutIT
Commit: 34f47c6ed1dde537c9aee7aff2414b1e4639b72b
https://github.com/hibernate/hibernate-search/commit/34f47c6ed1dde537c9ae...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Add a static import for Assertions to a few tests
Commit: 019d4ead5e2ee03b360332923ec3315e2a0ddb3a
https://github.com/hibernate/hibernate-search/commit/019d4ead5e2ee03b3603...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Simplify an assertion in SearchQueryTimeoutIT
Commit: d9f4f97a4cea73ac5e08582aa5f6b1cfacd0f8c9
https://github.com/hibernate/hibernate-search/commit/d9f4f97a4cea73ac5e08...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Use better names for test methods in SearchQueryTimeoutIT
Commit: 3fed9d0bdf1a6ee330986ca39aa91b01cf64c745
https://github.com/hibernate/hibernate-search/commit/3fed9d0bdf1a6ee33098...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Move all scroll timeout tests to SearchQueryTimeoutIT
Commit: 6e4a569a5a90796cbe4af0f9d7548a243faaab7c
https://github.com/hibernate/hibernate-search/commit/6e4a569a5a90796cbe4a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Test truncateAfter() with large timeouts
Commit: 4e23a1ce77441d16eda1b6a24a6024758303e408
https://github.com/hibernate/hibernate-search/commit/4e23a1ce77441d16eda1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
Log Message:
-----------
HSEARCH-3785 Use a different approach to slow down query execution in SearchQueryTimeoutIT
Commit: 2cd5a4b023043a21a700e7108cfb8bd9e45e58ba
https://github.com/hibernate/hibernate-search/commit/2cd5a4b023043a21a700...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-3785 Re-enable all tests related to .truncateAfter(...) for Elasticsearch
Commit: 41d0a5975dc15bc2ce5f6f2a845874f4893644f4
https://github.com/hibernate/hibernate-search/commit/41d0a5975dc15bc2ce5f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryTimeoutIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-3785 Disable truncateAfter() test on Elasticsearch
Elasticsearch simply ignores the timeout parameter for scrolls. No idea
why.
See https://hibernate.atlassian.net/browse/HSEARCH-4029
Commit: 0186d7fe4f691d113008dec1cb8766d96b03d349
https://github.com/hibernate/hibernate-search/commit/0186d7fe4f691d113008...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/BulkIndexer.java
Log Message:
-----------
HSEARCH-3785 Increase parallelism of BulkIndexer (test util)
So that we can index documents faster with the same memory pressure with
Elasticsearch.
Essentially this reduces the impact of network latency on indexing
speed, by making sure there's always at least one indexing request being
processed, even when we're sending one. We no longer "stop everything"
between two indexing requests while we're sending the next request.
Commit: 50e243708694c89d432ffdda8d6eb451beab8547
https://github.com/hibernate/hibernate-search/commit/50e243708694c89d432f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
Log Message:
-----------
HSEARCH-4028 Force "total().isHitCountExact()" to false when Elasticsearch search queries time out
Elasticsearch pretends the count is exact, but it isn't.
Commit: 36eb81aed73dbddd9b7e4adc309eb7d93814d59f
https://github.com/hibernate/hibernate-search/commit/36eb81aed73dbddd9b7e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchScrollImpl.java
Log Message:
-----------
HSEARCH-4027 Correctly report timeouts in Lucene scrolls when not enough hits are found
Compare: https://github.com/hibernate/hibernate-search/compare/38fc5d6dc332...36eb...
4 years, 2 months
[hibernate/hibernate-orm] fc6f51: EntityValuedPathInterpretation fix TableGroup reso...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: fc6f5154076ed261e11b44e044df79704163a916
https://github.com/hibernate/hibernate-orm/commit/fc6f5154076ed261e11b44e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDomainPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EntityValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/PluralValuedSimplePathInterpretation.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/Child.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/LocalizedString.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/MapElementNullBasicTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/Mappings.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/MultilingualString.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/MultilingualStringParent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/PersistentMapTest.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/Child.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/LocalizedString.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/MapElementNullBasicTest.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/Mappings.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/collection/map/MultilingualString.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/MultilingualStringParent.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/Parent.java
R hibernate-core/src/test/java/org/hibernate/test/collection/map/PersistentMapTest.java
Log Message:
-----------
EntityValuedPathInterpretation fix TableGroup resolution for implicit join e.g or
Commit: 72b548b912134abe1097b72df02bf7f8a5cb0b45
https://github.com/hibernate/hibernate-orm/commit/72b548b912134abe1097b72...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleDeleteQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleInsertQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleUpdateQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/ExecuteWithIdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/ExecuteWithoutIdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/StandardSqlAstDeleteTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/CteTable.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/StandardTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/StandardJdbcMutationExecutor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/PersistentMapTest.java
Log Message:
-----------
MutationExecutor Add call to autoFlushIfRequired
Compare: https://github.com/hibernate/hibernate-orm/compare/0bd2c32f7643...72b548b...
4 years, 2 months