sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated: Remove the creation of a dummy SampleDimension in the test of setValues(DataBuffer); this is not needed anymore.
Date Tue, 24 Mar 2020 00:17:04 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new d84d464  Remove the creation of a dummy SampleDimension in the test of setValues(DataBuffer);
this is not needed anymore.
d84d464 is described below

commit d84d464170c123ba8ea579e5bf949434eec28700
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Tue Mar 24 01:16:23 2020 +0100

    Remove the creation of a dummy SampleDimension in the test of setValues(DataBuffer); this
is not needed anymore.
---
 .../test/java/org/apache/sis/coverage/grid/GridCoverageBuilderTest.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/sis-feature/src/test/java/org/apache/sis/coverage/grid/GridCoverageBuilderTest.java
b/core/sis-feature/src/test/java/org/apache/sis/coverage/grid/GridCoverageBuilderTest.java
index 66a8904..da71047 100644
--- a/core/sis-feature/src/test/java/org/apache/sis/coverage/grid/GridCoverageBuilderTest.java
+++ b/core/sis-feature/src/test/java/org/apache/sis/coverage/grid/GridCoverageBuilderTest.java
@@ -159,7 +159,6 @@ public final strictfp class GridCoverageBuilderTest extends TestCase {
     public void createFromBufferTest() {
         final DataBuffer buffer = new DataBufferByte(new byte[] {1,2,3,4,5,6}, 6);
         final GridCoverageBuilder builder = new GridCoverageBuilder();
-        assertSame(builder, builder.setRanges(new SampleDimension.Builder().setName(0).build()));
         assertSame(builder, builder.setValues(buffer, null));
         try {
             builder.build();


Mime
View raw message