assertNoUnexpectedAlerts();
}
public void testNoMsg_whenNotVisible() throws Exception {
compile("<div><gxp:attr name='id'><gxp:nomsg>foo</gxp:nomsg></gxp:attr></div>");
assertAlert(new UnnecessaryNomsgWarning(pos(2,26), "<gxp:nomsg>"));
assertNoUnexpectedAlerts();
compile("<div nomsg:id='foo' />");
assertAlert(new UnnecessaryNomsgWarning(
pos(2,1), "http://google.com/2001/gxp/nomsg namespace on id attribute"));
assertNoUnexpectedAlerts();
}