assertAlert(new ImplementableNotFoundError(pos(2,1), TemplateName.create(null, "template1")));
assertNoUnexpectedAlerts();
}
public void testCannotImplementInterfaceWithDifferentSchema() throws Exception {
FileRef refInterface = createFileNoHeader("testInterface",
"<!DOCTYPE gxp:interface SYSTEM \"http://gxp.googlecode.com/svn/trunk/resources/xhtml.ent\">",
"",
"<gxp:interface name='com.google.gxp.compiler.errortests.testInterface'",
" content-type='text/javascript'",
" xmlns:gxp='http://google.com/2001/gxp'>",
" <gxp:param name='foo' type='String' />",
"</gxp:interface>");
FileRef implementation = createFile("testImplementation",
"<gxp:implements interface='testInterface' />",
"<gxp:param name='foo' type='String' />");
compileFiles(refInterface, implementation);
assertAlert(new SchemaMismatchError(