Test that the built-in suite is registered.
The Graphical Installer must be present.
declare("Verify built-in registration for GraphicalInstaller");
try {
AppProxy app = AppProxy.getCurrent().forClass(GS_CLASSNAME);
ContentHandlerImpl ch = registry.getServer(app);
assertNotNull("Verify GraphicalInstaller is present", ch);
if (ch != null) {
assertEquals("Verify getID",
GS_NAME, ch.getID());
assertEquals("Verify classname",
GS_CLASSNAME, ch.classname);
assertEquals("Verify getTypeCount",
2, ch.getTypeCount());
assertEquals("Verify Type1",
types[0], ch.getType(0));
assertEquals("Verify Type2",
types[1], ch.getType(1));
assertEquals("Verify getSuffixCount",
2, ch.getSuffixCount());
assertEquals("Verify Suffix1",
suffixes[0], ch.getSuffix(0));
assertEquals("Verify Suffix2",
suffixes[1], ch.getSuffix(1));
assertEquals("Verify Action",
2, ch.getActionCount());
assertEquals("Verify Action Name Maps",
3, ch.getActionNameMapCount());
}
} catch (ClassNotFoundException cnfe) {
fail("Unexpected exception");
cnfe.printStackTrace();
}