use of net.opengis.filter.v_2_0_0.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyIsNotEqualToIntLiteral.
@Test
public void testPropertyIsNotEqualToIntLiteral() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsNotEqualTo(propertyName, intLiteral);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsNotEqualTo, is(cqlText));
}
use of net.opengis.filter.v_2_0_0.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyIsGreaterThanDoubleLiteral.
@Test
public void testPropertyIsGreaterThanDoubleLiteral() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsGreaterThan(propertyName, doubleLiteral);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsGreaterThanWithDecimal, is(cqlText));
}
use of net.opengis.filter.v_2_0_0.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyIsLessThanOrEqualToShortLiteral.
@Test
public void testPropertyIsLessThanOrEqualToShortLiteral() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsLessThanOrEqualTo(propertyName, intLiteral);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsLessThanOrEqualTo, is(cqlText));
}
use of net.opengis.filter.v_2_0_0.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyIsGreaterThanIntLiteral.
@Test
public void testPropertyIsGreaterThanIntLiteral() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsGreaterThan(propertyName, intLiteral);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsGreaterThan, is(cqlText));
}
use of net.opengis.filter.v_2_0_0.FilterType in project ddf by codice.
the class TestCswCqlFilter method testIntersectsPropertyAnyGeo.
@Test
public void testIntersectsPropertyAnyGeo() throws UnsupportedQueryException {
String propName = Metacard.ANY_GEO;
FilterType filterType = cswFilterDelegate.intersects(propName, polygonWkt);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(intersectsPolygonPropertyOwsBoundingBox, is(cqlText));
}
Aggregations