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

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


    from 8cdda23851 Enable JUnit parallel tests in `endorsed` modules. This 
requires the addition of a few resource locks.
     new 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.
     new 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.
     new c0fc9b4dfe Better identification of code that will need to be replaced 
in Java 16.
     new e3289235a9 Opportunistically use "pattern matching for instanceof" in 
test code. The main code is unchanged (stay on Java 11).
     new 1c81e3ce85 Fix some synchronization holes in parallel execution of 
tests.

The 5 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                          |   2 +
 .../sis/coverage/grid/j2d/TilePlaceholder.java     |   4 +-
 .../main/org/apache/sis/image/TileCache.java       |   3 +-
 .../apache/sis/feature/AbstractFeatureTest.java    |  14 +--
 .../org/apache/sis/feature/FeatureTestCase.java    |   2 +-
 .../feature/builder/FeatureTypeBuilderTest.java    |   4 +-
 .../apache/sis/feature/test/FeatureComparator.java |  34 +++---
 .../test/org/apache/sis/filter/PeriodLiteral.java  |   3 +-
 .../sis/metadata/PropertyConsistencyCheck.java     |   9 +-
 .../test/org/apache/sis/metadata/TreeNodeTest.java |   4 +-
 .../org/apache/sis/metadata/TreeTableViewTest.java |   4 +-
 .../org/apache/sis/metadata/sql/TestDatabase.java  |   4 +-
 .../apache/sis/util/iso/NameMarshallingTest.java   |  19 +++-
 .../apache/sis/xml/bind/gco/MultiplicityTest.java  |   2 +-
 .../apache/sis/xml/test/DocumentComparator.java    |  48 ++++-----
 .../org/apache/sis/xml/test/PackageVerifier.java   |  22 ++--
 .../test/org/apache/sis/xml/test/TestCase.java     |   3 +
 .../coverage/MultiResolutionCoverageLoader.java    |   3 +-
 .../apache/sis/referencing/AuthorityFactories.java |   2 +
 .../referencing/factory/sql/EPSGDataAccess.java    |   4 +-
 .../apache/sis/geometry/AbstractEnvelopeTest.java  |   6 +-
 .../apache/sis/geometry/GeneralEnvelopeTest.java   |   3 +-
 .../org/apache/sis/io/wkt/WKTDictionaryTest.java   |   4 +-
 .../org/apache/sis/referencing/Assertions.java     |  26 +++--
 .../sis/referencing/EPSGFactoryFallbackTest.java   |   5 +
 .../sis/referencing/GeodeticObjectVerifier.java    |   4 +-
 .../factory/ConcurrentAuthorityFactoryTest.java    |  38 ++++---
 .../operation/CoordinateOperationFinderTest.java   |   3 +
 .../operation/CoordinateOperationRegistryTest.java |   5 +-
 .../DefaultCoordinateOperationFactoryTest.java     |   3 +
 .../projection/MapProjectionTestCase.java          |   4 +-
 .../projection/ProjectionResultComparator.java     |   3 +-
 .../operation/provider/MapProjectionTest.java      |   4 +-
 .../transform/CoordinateSystemTransformTest.java   |   3 +
 .../operation/transform/MathTransformTestCase.java |   8 +-
 .../operation/transform/MathTransformWrapper.java  |   4 +-
 .../transform/TransformResultComparator.java       |   6 +-
 .../report/CoordinateOperationMethods.java         |  16 +--
 .../report/CoordinateReferenceSystems.java         |  24 ++---
 .../referencing/util/j2d/ShapeUtilitiesExt.java    |   9 +-
 .../apache/sis/storage/netcdf/base/TestCase.java   |  15 ++-
 .../org/apache/sis/storage/CoverageSubset.java     |   7 +-
 .../org/apache/sis/storage/folder/StoreTest.java   |   4 +-
 .../sis/storage/test/CoverageReadConsistency.java  |   3 +
 .../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     |  47 +++------
 .../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 +-
 .../test/org/apache/sis/test/LoggingWatcher.java   |  40 ++++----
 .../org/apache/sis/test/TestConfiguration.java     |  11 --
 .../test/org/apache/sis/test/TestUtilities.java    |  76 +-------------
 .../org/apache/sis/util/collection/CacheTest.java  |   7 +-
 .../apache/sis/util/collection/RangeSetTest.java   |   2 -
 .../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     |   2 +
 incubator/build.gradle.kts                         |   2 +
 .../test/org/apache/sis/map/SEPortrayerTest.java   |   6 +-
 .../storage/coveragejson/binding/BindingTest.java  |   8 +-
 optional/build.gradle.kts                          |   2 +
 67 files changed, 408 insertions(+), 370 deletions(-)
 create mode 100644 
endorsed/src/org.apache.sis.util/test/org/apache/sis/util/collection/TestCaseWithGC.java

Reply via email to