}
public void testParam_conflictingTypeAttributes() throws Exception {
compile("<gxp:param name='foo' gxp:type='boolean' content-type='text/html'" +
" type='String' cpp:type='string' />");
assertAlert(new ConflictingAttributesError(pos(2,1), "<gxp:param>",
"'gxp:type' attribute",
"'content-type' attribute"));
assertAlert(new ConflictingAttributesError(pos(2,1), "<gxp:param>",
"'gxp:type' attribute",
"'type' attribute"));;
assertAlert(new ConflictingAttributesError(pos(2,1), "<gxp:param>",
"'gxp:type' attribute",
"'cpp:type' attribute"));
assertNoUnexpectedAlerts();
compile("<gxp:param name='foo' content-type='text/html' type='String' java:type='string' />");
assertAlert(new ConflictingAttributesError(pos(2,1), "<gxp:param>",
"'content-type' attribute",
"'type' attribute"));;
assertAlert(new ConflictingAttributesError(pos(2,1), "<gxp:param>",
"'content-type' attribute",
"'java:type' attribute"));
assertNoUnexpectedAlerts();
}