*
* @return The test suite.
*/
public static Test suite() {
SchemaTestBuilder builder
= new SchemaTestBuilder(WidgetsTestCase.class, XDIMESchemata.ALL_XDIME2_SCHEMATA);
builder.addInvalidDocument("xml/no-such-widget.xdime",
new NoDeclarationFor("widget:no-such-widget"));
// Uncomment all tests when the schema is fixed
// builder.addValidDocument("xml/autocomplete.xdime");
builder.addValidDocument("xml/carousel.xdime");
builder.addValidDocument("xml/date-picker.xdime");
//builder.addValidDocument("xml/dynamicmenu.xdime");
//builder.addValidDocument("xml/field-expander.xdime");
builder.addValidDocument("xml/folding-item.xdime");
//builder.addValidDocument("xml/item-gallery.xdime");
//builder.addValidDocument("xml/map.xdime");
//builder.addValidDocument("xml/multiple-validator.xdime");
//builder.addValidDocument("xml/popup.xdime");
builder.addValidDocument("xml/progressbar.xdime");
//builder.addValidDocument("xml/simple-validator.xdime");
//builder.addValidDocument("xml/tabs.xdime");
builder.addValidDocument("xml/ticker-tape.xdime");
//builder.addValidDocument("xml/wizard.xdime");
builder.addValidDocument("xml/map-location-markers.xdime");
builder.addValidDocument("xml/date-picker.xdime");
builder.addValidDocument("xml/digital-clock.xdime");
builder.addValidDocument("xml/stopwatch.xdime");
builder.addValidDocument("xml/timer.xdime");
builder.addValidDocument("xml/deck.xdime");
builder.addValidDocument("xml/ajax-deck.xdime");
builder.addValidDocument("xml/table.xdime");
builder.addValidDocument("xml/ajax-table.xdime");
return builder.getSuite();
}