This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/sis.git


    from 55d09a63e0 Merge branch 'geoapi-3.1': Remove unsupported custom 
annotations.
     add 0d0587985d Replace `@BeforeAll` annotations by `Lifecycle.PER_CLASS`. 
It often removes the need to dispose the tested resource.
     add 73a63a5e81 Add JUnit extension on classes that do not inherit it from 
`org.apache.sis.test.TestCase`.
     add acc94580f9 GeoAPI `TransformTestCase` constructor no longer requires 
factories.
     add 213762448c Print the logging summary after all tests instead of after 
each class.
     add cfb4f1ff06 Make `LoggingWatcher` partially thread-safe, and add 
synchronization lock in the classes that use it. Tests that do not start other 
threads can be run in parallel, because we can use the thread identifier for 
separating the log records. Tests that start worker threads need to be alone.
     add 5e6524b6d6 Reduce the risk of deadlock in `CommonCRS` methods by 
reducing the size of synchronized blocks.
     add 8cdda23851 Enable JUnit parallel tests in `endorsed` modules. This 
requires the addition of a few resource locks.
     add 9c5d68f70b Logs handled by the wrong `LoggingWatcher` during execution 
of tests in parallel. Require Java 16 for the test (but not for the main code, 
which still on Java 11) for avoiding an unreliable hack in `JDK16` placeholder 
class.
     add d17ebf34c0 Add a common base class for tests that depend on the 
Garbage Collector activity. Those tests are executed in isolation for making 
them a little bit less undeterministic.
     add c0fc9b4dfe Better identification of code that will need to be replaced 
in Java 16.
     add e3289235a9 Opportunistically use "pattern matching for instanceof" in 
test code. The main code is unchanged (stay on Java 11).
     add 1c81e3ce85 Fix some synchronization holes in parallel execution of 
tests.
     add d5834c52c3 Handle a log record about a deprecated EPSG code. That 
record may or may not be emitted depending on execution order.
     add 462b65d123 Enable more parallel execution of tests.
     add caf0bb3727 Cleanup the identification of slow tests.
     add 3f8d19d715 Let JUnit manage temporary directories.
     add 86578a47d9 Documentation updates.
     add f4bb5471ef Merge branch 'geoapi-4.0' into geoapi-3.1: Last cleanups 
(for now) about migration to JUnit 5.
     new b87b99f314 Merge branch 'geoapi-3.1': last JUnit5 tuning. 
https://issues.apache.org/jira/browse/SIS-457

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 endorsed/build.gradle.kts                          |   5 +
 .../sis/coverage/grid/j2d/TilePlaceholder.java     |   4 +-
 .../main/org/apache/sis/image/TileCache.java       |   3 +-
 .../apache/sis/feature/AbstractFeatureTest.java    |  14 +-
 .../apache/sis/feature/FeatureMemoryBenchmark.java |   6 +-
 .../org/apache/sis/feature/FeatureTestCase.java    |   2 +-
 .../feature/builder/FeatureTypeBuilderTest.java    |   4 +-
 .../apache/sis/feature/test/FeatureComparator.java |  35 ++-
 .../test/org/apache/sis/filter/PeriodLiteral.java  |   3 +-
 .../apache/sis/filter/sqlmm/RegistryTestCase.java  |  52 ++--
 .../apache/sis/image/StatisticsCalculatorTest.java |  18 +-
 .../org.apache.sis.metadata/main/module-info.java  |   1 +
 .../sis/metadata/PropertyConsistencyCheck.java     |   9 +-
 .../test/org/apache/sis/metadata/TreeNodeTest.java |   4 +-
 .../org/apache/sis/metadata/TreeTableViewTest.java |   4 +-
 .../apache/sis/metadata/iso/AllMetadataTest.java   |  10 -
 .../iso/identification/DefaultResolutionTest.java  |  25 +-
 .../maintenance/DefaultScopeDescriptionTest.java   |  24 +-
 .../iso/spatial/DefaultGeorectifiedTest.java       |  24 +-
 .../sis/metadata/sql/MetadataFallbackVerifier.java |   2 +-
 .../sis/metadata/sql/MetadataSourceTest.java       |   2 +
 .../sis/metadata/sql/MetadataWriterTest.java       |   2 +
 .../org/apache/sis/metadata/sql/TestDatabase.java  |  43 +++-
 .../sis/util/iso/DefaultNameFactoryTest.java       |  28 +-
 .../org/apache/sis/util/iso/DefaultRecordTest.java |  43 ++--
 .../apache/sis/util/iso/DefaultRecordTypeTest.java |  30 +--
 .../apache/sis/util/iso/NameMarshallingTest.java   |  33 +--
 .../sis/util/iso/SerializableRecordSchema.java     |  20 +-
 .../apache/sis/xml/bind/gco/MultiplicityTest.java  |  16 +-
 .../apache/sis/xml/bind/gml/TimePeriodTest.java    |  45 +---
 .../apache/sis/xml/bind/lan/LanguageCodeTest.java  |  29 +--
 .../sis/xml/test/AnnotationConsistencyCheck.java   |  11 +-
 .../apache/sis/xml/test/DocumentComparator.java    |  48 ++--
 .../test/org/apache/sis/xml/test/TestCase.java     |  38 +++
 .../sis/openoffice/ReferencingFunctionsTest.java   |  23 +-
 .../org/apache/sis/openoffice/TransformerTest.java |  23 +-
 .../coverage/MultiResolutionCoverageLoader.java    |   3 +-
 .../apache/sis/referencing/AuthorityFactories.java |   2 +
 .../main/org/apache/sis/referencing/CommonCRS.java | 281 +++++++++++----------
 .../referencing/factory/sql/EPSGDataAccess.java    |  22 +-
 .../apache/sis/geometry/AbstractEnvelopeTest.java  |   6 +-
 .../apache/sis/geometry/GeneralEnvelopeTest.java   |   3 +-
 .../org/apache/sis/io/wkt/ComparisonWithEPSG.java  |  31 ++-
 .../org/apache/sis/io/wkt/WKTDictionaryTest.java   |   4 +-
 .../apache/sis/parameter/ParameterFormatTest.java  |  28 +-
 .../sis/parameter/ParameterMarshallingTest.java    |  33 +--
 .../org/apache/sis/referencing/Assertions.java     |  26 +-
 .../sis/referencing/AuthorityFactoriesTest.java    |  30 +--
 .../test/org/apache/sis/referencing/CRSTest.java   |  46 ++--
 .../sis/referencing/EPSGFactoryFallbackTest.java   |   5 +
 .../sis/referencing/GeodeticObjectVerifier.java    |   4 +-
 .../referencing/crs/DefaultProjectedCRSTest.java   |  47 ++--
 .../org/apache/sis/referencing/cs/CodesTest.java   |   2 +-
 .../factory/ConcurrentAuthorityFactoryTest.java    |  46 +++-
 .../factory/MultiAuthoritiesFactoryTest.java       |  32 +--
 .../sis/referencing/factory/TestFactorySource.java |  91 +++----
 .../referencing/factory/sql/EPSGFactoryTest.java   | 150 +++++------
 .../referencing/factory/sql/EPSGInstallerTest.java |  35 +--
 .../operation/CoordinateOperationFinderTest.java   |  91 +++----
 .../operation/CoordinateOperationRegistryTest.java |  48 ++--
 .../DefaultCoordinateOperationFactoryTest.java     |  38 +--
 .../operation/SingleOperationMarshallingTest.java  |  24 +-
 .../builder/LocalizationGridBuilderTest.java       |   3 +
 .../projection/ConformalProjectionTest.java        |   5 +-
 .../projection/MapProjectionTestCase.java          |   4 +-
 .../projection/MercatorMethodComparison.java       |   4 +
 .../projection/NormalizedProjectionTest.java       |   3 +
 .../{Benchmark.java => ProjectionBenchmark.java}   |  14 +-
 .../projection/ProjectionResultComparator.java     |   3 +-
 .../operation/provider/GeographicOffsetsTest.java  |   5 +-
 .../operation/provider/MapProjectionTest.java      |   4 +-
 .../referencing/operation/provider/NTv2Test.java   |   6 +-
 .../operation/transform/CartesianToPolarTest.java  |   3 +
 .../transform/CartesianToSphericalTest.java        |   3 +
 .../transform/CoordinateSystemTransformTest.java   |  45 ++--
 .../transform/EllipsoidToCentricTransformTest.java |  28 +-
 .../transform/LinearInterpolator1DTest.java        |   3 +
 .../operation/transform/MathTransformTestCase.java |  43 +++-
 .../operation/transform/MathTransformWrapper.java  |   4 +-
 .../operation/transform/PolarToCartesianTest.java  |   3 +
 .../transform/ProjectiveTransformTest.java         |   3 +
 .../transform/SphericalToCartesianTest.java        |   3 +
 .../transform/TransformResultComparator.java       |   6 +-
 .../report/CoordinateOperationMethods.java         |  16 +-
 .../referencing/util/j2d/ShapeUtilitiesExt.java    |   9 +-
 .../sis/test/integration/ConsistencyTest.java      |   6 +-
 .../integration/CoordinateReferenceSystemTest.java |   7 +-
 .../apache/sis/test/integration/MetadataTest.java  |  23 +-
 .../sis/test/integration/MetadataVerticalTest.java |  22 +-
 .../CC_GeneralOperationParameterTest.java          |  32 +--
 .../sis/storage/geotiff/SelfConsistencyTest.java   |  49 ++--
 .../sis/storage/netcdf/SelfConsistencyTest.java    |  50 ++--
 .../apache/sis/storage/netcdf/base/GridTest.java   |   4 +
 .../apache/sis/storage/netcdf/base/TestCase.java   |  57 +++--
 .../apache/sis/storage/sql/TestOnAllDatabases.java |   6 +
 .../sql/feature/SelectionClauseWriterTest.java     |   2 +-
 .../sis/storage/sql/postgis/PostgresTest.java      |   2 +
 .../org/apache/sis/storage/gpx/StoreProvider.java  |  13 +
 .../org/apache/sis/storage/gpx/ReaderTest.java     |  25 +-
 .../org/apache/sis/storage/gpx/UpdaterTest.java    |  23 +-
 .../org/apache/sis/storage/gpx/WriterTest.java     |  21 +-
 .../org/apache/sis/storage/CoverageSubset.java     |   7 +-
 .../sis/storage/esri/BILConsistencyTest.java       |  45 ++--
 .../sis/storage/esri/BIPConsistencyTest.java       |  45 ++--
 .../sis/storage/esri/BSQConsistencyTest.java       |  45 ++--
 .../org/apache/sis/storage/folder/StoreTest.java   |   4 +-
 .../sis/storage/image/SelfConsistencyTest.java     |  45 ++--
 .../sis/storage/image/WorldFileStoreTest.java      |  93 +++----
 .../sis/storage/test/CoverageReadConsistency.java  |  89 +++++--
 .../apache/sis/storage/test/SubsampledImage.java   |  13 +-
 .../src/org.apache.sis.util/main/module-info.java  |   1 +
 .../main/org/apache/sis/pending/jdk/JDK16.java     |  18 +-
 .../main/org/apache/sis/system/Configuration.java  |   3 +-
 .../main/org/apache/sis/util/collection/Cache.java |   3 +-
 .../test/org/apache/sis/io/LineAppenderTest.java   |   4 +-
 .../org/apache/sis/io/TabulationExpansionTest.java |   4 +-
 .../test/org/apache/sis/io/WordWrapTest.java       |   4 +-
 .../org/apache/sis/measure/SystemUnitTest.java     |   7 +-
 .../sis/test/{Performance.java => Benchmark.java}  |  21 +-
 .../apache/sis/test/FailureDetailsReporter.java    |  42 +--
 .../org/apache/sis/test/LogRecordCollector.java    | 122 ++++++---
 .../test/org/apache/sis/test/LoggingWatcher.java   | 197 +++++++++++++--
 .../test/org/apache/sis/test/TestCase.java         |  19 +-
 .../test/org/apache/sis/test/TestCaseWithLogs.java |  76 ++++++
 .../org/apache/sis/test/TestConfiguration.java     |  11 -
 .../test/org/apache/sis/test/TestStep.java         |  12 +-
 .../test/org/apache/sis/test/TestUtilities.java    |  91 +------
 .../org/apache/sis/util/collection/CacheTest.java  |  11 +-
 .../apache/sis/util/collection/RangeSetTest.java   |   6 +-
 .../apache/sis/util/collection/TestCaseWithGC.java | 114 +++++++++
 .../sis/util/collection/TreeTableFormatTest.java   |   3 +
 .../sis/util/collection/WeakHashSetTest.java       |  15 +-
 .../sis/util/collection/WeakValueHashMapTest.java  |   7 +-
 .../sis/util/logging/PerformanceLevelTest.java     |   3 +
 incubator/build.gradle.kts                         |   5 +
 .../storage/coveragejson/binding/BindingTest.java  |  24 +-
 .../sis/storage/shapefile/ShapefileStoreTest.java  |  33 +--
 optional/build.gradle.kts                          |   5 +
 138 files changed, 1911 insertions(+), 1709 deletions(-)
 rename 
endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/projection/{Benchmark.java
 => ProjectionBenchmark.java} (96%)
 rename 
endorsed/src/org.apache.sis.util/test/org/apache/sis/test/{Performance.java => 
Benchmark.java} (60%)
 create mode 100644 
endorsed/src/org.apache.sis.util/test/org/apache/sis/test/TestCaseWithLogs.java
 create mode 100644 
endorsed/src/org.apache.sis.util/test/org/apache/sis/util/collection/TestCaseWithGC.java

Reply via email to