Package org.geotools.filter.FilterTest

Examples of org.geotools.filter.FilterTest.MockDataObject


   *
   * @throws IllegalFilterException
   *             if filters mess up.
   */
  public void testAttributeObject() throws IllegalFilterException {
    MockDataObject testFeature = new MockDataObject(10, "diez");

    // Test integer attribute
    org.opengis.filter.expression.Expression testAttribute = new AttributeExpressionImpl(
        "intVal");

View Full Code Here


   *
   * @throws IllegalFilterException
   *             if there are problems
   */
  public void testLiteralObject() throws IllegalFilterException {
    MockDataObject testObj = new MockDataObject(1000, "mil");

    // Test integer attribute
    org.opengis.filter.expression.Expression testLiteral = new LiteralExpressionImpl(
        new Integer(1002));

View Full Code Here

   *
   * @throws IllegalFilterException
   *             if filter problems
   */
  public void testMaxFunctionObject() throws IllegalFilterException {
    MockDataObject testObj = new MockDataObject(10, "diez");
    org.opengis.filter.expression.Expression a = new AttributeExpressionImpl(
        "intVal");
    org.opengis.filter.expression.Expression b = new LiteralExpressionImpl(
        new Double(1004));

View Full Code Here

   *
   * @throws IllegalFilterException
   *             if filter problems
   */
  public void testMathObject() throws IllegalFilterException {
    MockDataObject testObject = new MockDataObject(10, "diez");

    // Test integer attribute
    org.opengis.filter.expression.Expression testAttribute1 = new LiteralExpressionImpl(
        new Integer(4));
    org.opengis.filter.expression.Expression testAttribute2 = new LiteralExpressionImpl(
View Full Code Here

TOP

Related Classes of org.geotools.filter.FilterTest.MockDataObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.