use of org.oasis_open.docs.wsn.b_2.FilterType in project ddf by codice.
the class TestCswCqlFilter method testIntersectsPropertyOwsBoundingBoxMultiLineString.
@Test
public void testIntersectsPropertyOwsBoundingBoxMultiLineString() throws UnsupportedQueryException {
String propName = CswConstants.BBOX_PROP;
FilterType filterType = cswFilterDelegate.intersects(propName, multiLineStringWkt);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(intersectsMultiLineStringPropertyOwsBoundingBox, is(cqlText));
}
use of org.oasis_open.docs.wsn.b_2.FilterType in project ddf by codice.
the class TestCswCqlFilter method testIntersectsPropertyOwsBoundingBoxMultiPolygon.
@Test
public void testIntersectsPropertyOwsBoundingBoxMultiPolygon() throws UnsupportedQueryException {
String propName = CswConstants.BBOX_PROP;
FilterType filterType = cswFilterDelegate.intersects(propName, multiPolygonWkt);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(intersectsMultiPolygonPropertyOwsBoundingBox, is(cqlText));
}
use of org.oasis_open.docs.wsn.b_2.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyIsLessThanOrEqualToLongLiteral.
@Test
public void testPropertyIsLessThanOrEqualToLongLiteral() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsLessThanOrEqualTo(propertyName, shortLiteral);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsLessThanOrEqualTo, is(cqlText));
}
use of org.oasis_open.docs.wsn.b_2.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyNull.
@Test
public void testPropertyNull() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsNull(propertyName);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsNull, is(cqlText));
}
use of org.oasis_open.docs.wsn.b_2.FilterType in project ddf by codice.
the class TestCswCqlFilter method testPropertyIsEqualToDoubleLiteral.
@Test
public void testPropertyIsEqualToDoubleLiteral() throws UnsupportedQueryException {
FilterType filterType = cswFilterDelegate.propertyIsEqualTo(propertyName, doubleLiteral);
String cqlText = CswCqlTextFilter.getInstance().getCqlText(filterType);
assertThat(propertyIsEqualToWithDecimal, is(cqlText));
}
Aggregations