// SQLErrorEvent_as.hx:  ActionScript 3 "SQLErrorEvent" 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.SQLErrorEvent;
import flash.display.MovieClip;
#else
import flash.SQLErrorEvent;
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 SQLErrorEvent_as {
    static function main() {
        var x1:SQLErrorEvent = new SQLErrorEvent();

        // Make sure we actually get a valid class        
        if (x1 != null) {
            DejaGnu.pass("SQLErrorEvent class exists");
        } else {
            DejaGnu.fail("SQLErrorEvent 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.error == SQLError) {
	    DejaGnu.pass("SQLErrorEvent.error property exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent.error 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.SQLErrorEvent == SQLError) {
	    DejaGnu.pass("SQLErrorEvent::SQLErrorEvent() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::SQLErrorEvent() method doesn't exist");
	}
	if (x1.clone == Event) {
	    DejaGnu.pass("SQLErrorEvent::clone() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::clone() method doesn't exist");
	}
	if (x1.toString == null) {
	    DejaGnu.pass("SQLErrorEvent::toString() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::toString() method doesn't exist");
	}
	if (x1.ACTIVATE == null) {
	    DejaGnu.pass("SQLErrorEvent::ACTIVATE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::ACTIVATE() method doesn't exist");
	}
	if (x1.ADDED == null) {
	    DejaGnu.pass("SQLErrorEvent::ADDED() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::ADDED() method doesn't exist");
	}
	if (x1.ADDED == TO) {
	    DejaGnu.pass("SQLErrorEvent::ADDED() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::ADDED() method doesn't exist");
	}
	if (x1.CANCEL == null) {
	    DejaGnu.pass("SQLErrorEvent::CANCEL() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::CANCEL() method doesn't exist");
	}
	if (x1.CHANGE == null) {
	    DejaGnu.pass("SQLErrorEvent::CHANGE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::CHANGE() method doesn't exist");
	}
	if (x1.CLOSE == null) {
	    DejaGnu.pass("SQLErrorEvent::CLOSE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::CLOSE() method doesn't exist");
	}
	if (x1.CLOSING == null) {
	    DejaGnu.pass("SQLErrorEvent::CLOSING() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::CLOSING() method doesn't exist");
	}
	if (x1.COMPLETE == null) {
	    DejaGnu.pass("SQLErrorEvent::COMPLETE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::COMPLETE() method doesn't exist");
	}
	if (x1.CONNECT == null) {
	    DejaGnu.pass("SQLErrorEvent::CONNECT() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::CONNECT() method doesn't exist");
	}
	if (x1.DEACTIVATE == null) {
	    DejaGnu.pass("SQLErrorEvent::DEACTIVATE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::DEACTIVATE() method doesn't exist");
	}
	if (x1.DISPLAYING == null) {
	    DejaGnu.pass("SQLErrorEvent::DISPLAYING() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::DISPLAYING() method doesn't exist");
	}
	if (x1.ENTER == FRAME) {
	    DejaGnu.pass("SQLErrorEvent::ENTER() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::ENTER() method doesn't exist");
	}
	if (x1.ERROR == null) {
	    DejaGnu.pass("SQLErrorEvent::ERROR() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::ERROR() method doesn't exist");
	}
	if (x1.EXITING == null) {
	    DejaGnu.pass("SQLErrorEvent::EXITING() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::EXITING() method doesn't exist");
	}
	if (x1.FULLSCREEN == null) {
	    DejaGnu.pass("SQLErrorEvent::FULLSCREEN() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::FULLSCREEN() method doesn't exist");
	}
	if (x1.HTML == BOUNDS) {
	    DejaGnu.pass("SQLErrorEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::HTML() method doesn't exist");
	}
	if (x1.HTML == DOM) {
	    DejaGnu.pass("SQLErrorEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::HTML() method doesn't exist");
	}
	if (x1.HTML == RENDER) {
	    DejaGnu.pass("SQLErrorEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::HTML() method doesn't exist");
	}
	if (x1.ID3 == null) {
	    DejaGnu.pass("SQLErrorEvent::ID3() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::ID3() method doesn't exist");
	}
	if (x1.INIT == null) {
	    DejaGnu.pass("SQLErrorEvent::INIT() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::INIT() method doesn't exist");
	}
	if (x1.LINK == null) {
	    DejaGnu.pass("SQLErrorEvent::LINK() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::LINK() method doesn't exist");
	}
	if (x1.LOCATION == CHANGE) {
	    DejaGnu.pass("SQLErrorEvent::LOCATION() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::LOCATION() method doesn't exist");
	}
	if (x1.MOUSE == LEAVE) {
	    DejaGnu.pass("SQLErrorEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::MOUSE() method doesn't exist");
	}
	if (x1.NETWORK == CHANGE) {
	    DejaGnu.pass("SQLErrorEvent::NETWORK() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::NETWORK() method doesn't exist");
	}
	if (x1.OPEN == null) {
	    DejaGnu.pass("SQLErrorEvent::OPEN() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::OPEN() method doesn't exist");
	}
	if (x1.REMOVED == null) {
	    DejaGnu.pass("SQLErrorEvent::REMOVED() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::REMOVED() method doesn't exist");
	}
	if (x1.REMOVED == FROM) {
	    DejaGnu.pass("SQLErrorEvent::REMOVED() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::REMOVED() method doesn't exist");
	}
	if (x1.RENDER == null) {
	    DejaGnu.pass("SQLErrorEvent::RENDER() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::RENDER() method doesn't exist");
	}
	if (x1.RESIZE == null) {
	    DejaGnu.pass("SQLErrorEvent::RESIZE() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::RESIZE() method doesn't exist");
	}
	if (x1.SCROLL == null) {
	    DejaGnu.pass("SQLErrorEvent::SCROLL() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::SCROLL() method doesn't exist");
	}
	if (x1.SELECT == null) {
	    DejaGnu.pass("SQLErrorEvent::SELECT() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::SELECT() method doesn't exist");
	}
	if (x1.SOUND == COMPLETE) {
	    DejaGnu.pass("SQLErrorEvent::SOUND() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::SOUND() method doesn't exist");
	}
	if (x1.TAB == CHILDREN) {
	    DejaGnu.pass("SQLErrorEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::TAB() method doesn't exist");
	}
	if (x1.TAB == ENABLED) {
	    DejaGnu.pass("SQLErrorEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::TAB() method doesn't exist");
	}
	if (x1.TAB == INDEX) {
	    DejaGnu.pass("SQLErrorEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::TAB() method doesn't exist");
	}
	if (x1.TEXT == INPUT) {
	    DejaGnu.pass("SQLErrorEvent::TEXT() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::TEXT() method doesn't exist");
	}
	if (x1.UNLOAD == null) {
	    DejaGnu.pass("SQLErrorEvent::UNLOAD() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::UNLOAD() method doesn't exist");
	}
	if (x1.USER == IDLE) {
	    DejaGnu.pass("SQLErrorEvent::USER() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::USER() method doesn't exist");
	}
	if (x1.USER == PRESENT) {
	    DejaGnu.pass("SQLErrorEvent::USER() method exists");
	} else {
	    DejaGnu.fail("SQLErrorEvent::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:

