Package com.google.gxp.compiler.reparent

Examples of com.google.gxp.compiler.reparent.UnknownContentTypeError


        "<gxp:interface name='com.google.gxp.compiler.errortests."
        + "TestInterface_unknownContentType'",
        "               xmlns:gxp='http://google.com/2001/gxp'",
        "               content-type='text/bad'>",
        "</gxp:interface>");
    assertAlert(new UnknownContentTypeError(pos(5,40), "text/bad"));
    assertAlert(new NothingToCompileError(pos()));
    assertNoUnexpectedAlerts();
  }
View Full Code Here


        "<gxp:template name='com.google.gxp.compiler.errortests."
        + "TestTemplate_unknownContentType'",
        "               xmlns:gxp='http://google.com/2001/gxp'",
        "               content-type='text/bad'>",
        "</gxp:template>");
    assertAlert(new UnknownContentTypeError(pos(5,40), "text/bad"));
    assertAlert(new NothingToCompileError(pos()));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

  }

  public void testParam_unknownContentType() throws Exception {
    compile("<gxp:param name='foo' content-type='text/bad' />",
            "<gxp:param name='body' content='*' content-type='text/bad' />");
    assertAlert(new UnknownContentTypeError(pos(2,1), "text/bad"));
    assertAlert(new UnknownContentTypeError(pos(3,1), "text/bad"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

        "<gxp:template name='com.google.gxp.compiler.errortests."
        + "TestTemplate_unknownContentType'",
        "               xmlns:gxp='http://google.com/2001/gxp'",
        "               content-type='text/bad'>",
        "</gxp:template>");
    assertAlert(new UnknownContentTypeError(pos(5,40), "text/bad"));
    assertAlert(new NothingToCompileError(pos()));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

  }

  public void testParam_unknownContentType() throws Exception {
    compile("<gxp:param name='foo' content-type='text/bad' />",
            "<gxp:param name='body' content='*' content-type='text/bad' />");
    assertAlert(new UnknownContentTypeError(pos(2,1), "text/bad"));
    assertAlert(new UnknownContentTypeError(pos(3,1), "text/bad"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

TOP

Related Classes of com.google.gxp.compiler.reparent.UnknownContentTypeError

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.