opengeospatial / ets-wfs20

Executable Test Suite for WFS 2.0
Other
9 stars 11 forks source link

AbstractTemporalTest gives skip exception in any case #130

Closed ihsanyapicioglu closed 5 years ago

ihsanyapicioglu commented 6 years ago

SUT: https://wfst.axl.aero/AxlRest/wfs?service=WFS&version=2.0.0&request=GetCapabilities Version: 1.30

Class: AbstractTemporalTest.java Method: findTemporalExtent

https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L37

The method always return null because temporalProperty variable has never been assigned to a value. Since it is null, if condition in line 48 is always true.

https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L48-L49

This situation causes findTemporalProperty method to throw SkipException in all cases.

https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L27-L31

dstenger commented 6 years ago

Thank you for reporting. We will do further investigation.

keshavnangare commented 6 years ago

Fixed with PR: #131.

Result: image