// HTMLUncaughtScriptExceptionEvent_as.hx:  ActionScript 3 "HTMLUncaughtScriptExceptionEvent" class, for Gnash.
//
// Generated by gen-as3.sh on: 20090515 by "rob". Remove this
// after any hand editing loosing changes.
//
//   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//

// This test case must be processed by CPP before compiling to include the
//  DejaGnu.hx header file for the testing framework support.

#if flash9
import flash.events.HTMLUncaughtScriptExceptionEvent;
import flash.display.MovieClip;
#else
import flash.HTMLUncaughtScriptExceptionEvent;
import flash.MovieClip;
#end
import flash.Lib;
import Type;

// import our testing API
import DejaGnu;

// Class must be named with the _as suffix, as that's the same name as the file.
class HTMLUncaughtScriptExceptionEvent_as {
    static function main() {
        var x1:HTMLUncaughtScriptExceptionEvent = new HTMLUncaughtScriptExceptionEvent();

        // Make sure we actually get a valid class        
        if (x1 != null) {
            DejaGnu.pass("HTMLUncaughtScriptExceptionEvent class exists");
        } else {
            DejaGnu.fail("HTMLUncaughtScriptExceptionEvent class doesn't exist");
        }
// Tests to see if all the properties exist. All these do is test for
// existance of a property, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
	if (x1.exceptionValue == *) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent.exceptionValue property exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent.exceptionValue property doesn't exist");
	}
	if (x1.stackTrace == 0) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent.stackTrace property exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent.stackTrace property doesn't exist");
	}

// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
	if (x1.HTMLUncaughtScriptExceptionEvent == *) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::HTMLUncaughtScriptExceptionEvent() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::HTMLUncaughtScriptExceptionEvent() method doesn't exist");
	}
	if (x1.clone == Event) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::clone() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::clone() method doesn't exist");
	}
	if (x1.ACTIVATE == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::ACTIVATE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::ACTIVATE() method doesn't exist");
	}
	if (x1.ADDED == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::ADDED() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::ADDED() method doesn't exist");
	}
	if (x1.ADDED == TO) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::ADDED() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::ADDED() method doesn't exist");
	}
	if (x1.CANCEL == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::CANCEL() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::CANCEL() method doesn't exist");
	}
	if (x1.CHANGE == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::CHANGE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::CHANGE() method doesn't exist");
	}
	if (x1.CLOSE == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::CLOSE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::CLOSE() method doesn't exist");
	}
	if (x1.CLOSING == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::CLOSING() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::CLOSING() method doesn't exist");
	}
	if (x1.COMPLETE == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::COMPLETE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::COMPLETE() method doesn't exist");
	}
	if (x1.CONNECT == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::CONNECT() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::CONNECT() method doesn't exist");
	}
	if (x1.DEACTIVATE == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::DEACTIVATE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::DEACTIVATE() method doesn't exist");
	}
	if (x1.DISPLAYING == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::DISPLAYING() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::DISPLAYING() method doesn't exist");
	}
	if (x1.ENTER == FRAME) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::ENTER() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::ENTER() method doesn't exist");
	}
	if (x1.EXITING == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::EXITING() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::EXITING() method doesn't exist");
	}
	if (x1.FULLSCREEN == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::FULLSCREEN() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::FULLSCREEN() method doesn't exist");
	}
	if (x1.HTML == BOUNDS) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::HTML() method doesn't exist");
	}
	if (x1.HTML == DOM) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::HTML() method doesn't exist");
	}
	if (x1.HTML == RENDER) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::HTML() method doesn't exist");
	}
	if (x1.ID3 == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::ID3() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::ID3() method doesn't exist");
	}
	if (x1.INIT == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::INIT() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::INIT() method doesn't exist");
	}
	if (x1.LOCATION == CHANGE) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::LOCATION() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::LOCATION() method doesn't exist");
	}
	if (x1.MOUSE == LEAVE) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::MOUSE() method doesn't exist");
	}
	if (x1.NETWORK == CHANGE) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::NETWORK() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::NETWORK() method doesn't exist");
	}
	if (x1.OPEN == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::OPEN() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::OPEN() method doesn't exist");
	}
	if (x1.REMOVED == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::REMOVED() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::REMOVED() method doesn't exist");
	}
	if (x1.REMOVED == FROM) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::REMOVED() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::REMOVED() method doesn't exist");
	}
	if (x1.RENDER == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::RENDER() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::RENDER() method doesn't exist");
	}
	if (x1.RESIZE == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::RESIZE() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::RESIZE() method doesn't exist");
	}
	if (x1.SCROLL == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::SCROLL() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::SCROLL() method doesn't exist");
	}
	if (x1.SELECT == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::SELECT() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::SELECT() method doesn't exist");
	}
	if (x1.SOUND == COMPLETE) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::SOUND() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::SOUND() method doesn't exist");
	}
	if (x1.TAB == CHILDREN) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::TAB() method doesn't exist");
	}
	if (x1.TAB == ENABLED) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::TAB() method doesn't exist");
	}
	if (x1.TAB == INDEX) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::TAB() method doesn't exist");
	}
	if (x1.UNCAUGHT == SCRIPT) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::UNCAUGHT() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::UNCAUGHT() method doesn't exist");
	}
	if (x1.UNLOAD == null) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::UNLOAD() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::UNLOAD() method doesn't exist");
	}
	if (x1.USER == IDLE) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::USER() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::USER() method doesn't exist");
	}
	if (x1.USER == PRESENT) {
	    DejaGnu.pass("HTMLUncaughtScriptExceptionEvent::USER() method exists");
	} else {
	    DejaGnu.fail("HTMLUncaughtScriptExceptionEvent::USER() method doesn't exist");
	}

        // Call this after finishing all tests. It prints out the totals.
        DejaGnu.done();
    }
}

// local Variables:
// mode: C++
// indent-tabs-mode: t
// End:

