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

jsorel pushed a commit to branch feat/style
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/feat/style by this push:
     new 58cad2fb99 fix(Style): fix filter api update
58cad2fb99 is described below

commit 58cad2fb99e4e9af3cb8b0ce11e576081b8e0de7
Author: jsorel <johann.so...@geomatys.com>
AuthorDate: Wed Jun 7 10:56:33 2023 +0200

    fix(Style): fix filter api update
---
 .../java/org/apache/sis/internal/style/FeatureTypeStyleTest.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/core/sis-portrayal/src/test/java/org/apache/sis/internal/style/FeatureTypeStyleTest.java
 
b/core/sis-portrayal/src/test/java/org/apache/sis/internal/style/FeatureTypeStyleTest.java
index 16fa78e5a5..af308b9832 100644
--- 
a/core/sis-portrayal/src/test/java/org/apache/sis/internal/style/FeatureTypeStyleTest.java
+++ 
b/core/sis-portrayal/src/test/java/org/apache/sis/internal/style/FeatureTypeStyleTest.java
@@ -8,6 +8,7 @@ import 
org.apache.sis.metadata.iso.citation.DefaultOnlineResource;
 import org.apache.sis.util.iso.Names;
 import org.junit.Test;
 import static org.junit.Assert.*;
+import org.junit.Test;
 import org.opengis.filter.InvalidFilterValueException;
 import org.opengis.filter.ResourceId;
 import org.opengis.style.SemanticType;
@@ -75,6 +76,11 @@ public class FeatureTypeStyleTest extends AbstractStyleTests 
{
             public boolean test(Object object) throws 
InvalidFilterValueException {
                 throw new UnsupportedOperationException("Not supported yet.");
             }
+
+            @Override
+            public Class getResourceClass() {
+                throw new UnsupportedOperationException("Not supported yet.");
+            }
         };
         cdt.setFeatureInstanceIDs(rid);
         assertEquals(rid, cdt.getFeatureInstanceIDs());

Reply via email to