Files
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

29 lines
673 B
TypeScript

/**
* @summary Test for the typage.
*/
function testTypage() {
var applet: HTMLAppletElement = <HTMLAppletElement>document.getElementById('applet');
var javaApplet: JavaApplet = applet;
}
/**
* @summary Test for the java applet status.
*/
function testStatus() {
var applet: JavaApplet = <JavaApplet>document.getElementById('applet');
var status: number = applet.status;
}
/**
* @summary Test for the handlers.
*/
function testHandlers() {
var applet: JavaApplet = <JavaApplet>document.getElementById('applet');
var handler: Function = () => {};
applet.onError = handler;
applet.onLoad = handler;
applet.onStop = handler;
}