Examples of ParamTypeMismatchError


Examples of com.google.gxp.compiler.validate.ParamTypeMismatchError

    FileRef implementation = createFile("testImplementation",
                                        "<gxp:implements interface='testInterface' />",
                                        "<gxp:param name='foo' type='String' />");

    compileFiles(iface, implementation);
    assertAlert(new ParamTypeMismatchError(pos(2,1), "foo", "BooleanType", "NativeType"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

Examples of com.google.gxp.compiler.validate.ParamTypeMismatchError

    FileRef implementation = createFile("testImplementation",
                                        "<gxp:implements interface='testInterface' />",
                                        "<gxp:param name='foo' content-type='text/plain' />");

    compileFiles(iface, implementation);
    assertAlert(new ParamTypeMismatchError(pos(2,1), "foo", "text/html", "text/plain"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

Examples of com.google.gxp.compiler.validate.ParamTypeMismatchError

    FileRef implementation = createFile("testImplementation",
                                        "<gxp:implements interface='testInterface' />",
                                        "<gxp:param name='foo' type='String' />");

    compileFiles(iface, implementation);
    assertAlert(new ParamTypeMismatchError(pos(2,1), "foo", "BooleanType", "NativeType"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

Examples of com.google.gxp.compiler.validate.ParamTypeMismatchError

    FileRef implementation = createFile("testImplementation",
                                        "<gxp:implements interface='testInterface' />",
                                        "<gxp:param name='foo' content-type='text/plain' />");

    compileFiles(iface, implementation);
    assertAlert(new ParamTypeMismatchError(pos(2,1), "foo", "text/html", "text/plain"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.