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

        // Make sure we actually get a valid class        
        if (x1 != null) {
            DejaGnu.pass("ScreenMouseEvent class exists");
        } else {
            DejaGnu.fail("ScreenMouseEvent 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.screenX == 0) {
	    DejaGnu.pass("ScreenMouseEvent.screenX property exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent.screenX property doesn't exist");
	}
	if (x1.screenY == 0) {
	    DejaGnu.pass("ScreenMouseEvent.screenY property exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent.screenY 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.ScreenMouseEvent == false) {
	    DejaGnu.pass("ScreenMouseEvent::ScreenMouseEvent() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ScreenMouseEvent() method doesn't exist");
	}
	if (x1.clone == Event) {
	    DejaGnu.pass("ScreenMouseEvent::clone() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::clone() method doesn't exist");
	}
	if (x1.toString == null) {
	    DejaGnu.pass("ScreenMouseEvent::toString() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::toString() method doesn't exist");
	}
	if (x1.ACTIVATE == null) {
	    DejaGnu.pass("ScreenMouseEvent::ACTIVATE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ACTIVATE() method doesn't exist");
	}
	if (x1.ADDED == null) {
	    DejaGnu.pass("ScreenMouseEvent::ADDED() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ADDED() method doesn't exist");
	}
	if (x1.ADDED == TO) {
	    DejaGnu.pass("ScreenMouseEvent::ADDED() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ADDED() method doesn't exist");
	}
	if (x1.CANCEL == null) {
	    DejaGnu.pass("ScreenMouseEvent::CANCEL() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CANCEL() method doesn't exist");
	}
	if (x1.CHANGE == null) {
	    DejaGnu.pass("ScreenMouseEvent::CHANGE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CHANGE() method doesn't exist");
	}
	if (x1.CLICK == null) {
	    DejaGnu.pass("ScreenMouseEvent::CLICK() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CLICK() method doesn't exist");
	}
	if (x1.CLOSE == null) {
	    DejaGnu.pass("ScreenMouseEvent::CLOSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CLOSE() method doesn't exist");
	}
	if (x1.CLOSING == null) {
	    DejaGnu.pass("ScreenMouseEvent::CLOSING() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CLOSING() method doesn't exist");
	}
	if (x1.COMPLETE == null) {
	    DejaGnu.pass("ScreenMouseEvent::COMPLETE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::COMPLETE() method doesn't exist");
	}
	if (x1.CONNECT == null) {
	    DejaGnu.pass("ScreenMouseEvent::CONNECT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CONNECT() method doesn't exist");
	}
	if (x1.CONTEXT == MENU) {
	    DejaGnu.pass("ScreenMouseEvent::CONTEXT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::CONTEXT() method doesn't exist");
	}
	if (x1.DEACTIVATE == null) {
	    DejaGnu.pass("ScreenMouseEvent::DEACTIVATE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::DEACTIVATE() method doesn't exist");
	}
	if (x1.DISPLAYING == null) {
	    DejaGnu.pass("ScreenMouseEvent::DISPLAYING() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::DISPLAYING() method doesn't exist");
	}
	if (x1.DOUBLE == CLICK) {
	    DejaGnu.pass("ScreenMouseEvent::DOUBLE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::DOUBLE() method doesn't exist");
	}
	if (x1.ENTER == FRAME) {
	    DejaGnu.pass("ScreenMouseEvent::ENTER() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ENTER() method doesn't exist");
	}
	if (x1.EXITING == null) {
	    DejaGnu.pass("ScreenMouseEvent::EXITING() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::EXITING() method doesn't exist");
	}
	if (x1.FULLSCREEN == null) {
	    DejaGnu.pass("ScreenMouseEvent::FULLSCREEN() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::FULLSCREEN() method doesn't exist");
	}
	if (x1.HTML == BOUNDS) {
	    DejaGnu.pass("ScreenMouseEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::HTML() method doesn't exist");
	}
	if (x1.HTML == DOM) {
	    DejaGnu.pass("ScreenMouseEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::HTML() method doesn't exist");
	}
	if (x1.HTML == RENDER) {
	    DejaGnu.pass("ScreenMouseEvent::HTML() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::HTML() method doesn't exist");
	}
	if (x1.ID3 == null) {
	    DejaGnu.pass("ScreenMouseEvent::ID3() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ID3() method doesn't exist");
	}
	if (x1.INIT == null) {
	    DejaGnu.pass("ScreenMouseEvent::INIT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::INIT() method doesn't exist");
	}
	if (x1.LOCATION == CHANGE) {
	    DejaGnu.pass("ScreenMouseEvent::LOCATION() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::LOCATION() method doesn't exist");
	}
	if (x1.MIDDLE == CLICK) {
	    DejaGnu.pass("ScreenMouseEvent::MIDDLE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MIDDLE() method doesn't exist");
	}
	if (x1.MIDDLE == MOUSE) {
	    DejaGnu.pass("ScreenMouseEvent::MIDDLE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MIDDLE() method doesn't exist");
	}
	if (x1.MIDDLE == MOUSE) {
	    DejaGnu.pass("ScreenMouseEvent::MIDDLE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MIDDLE() method doesn't exist");
	}
	if (x1.MOUSE == DOWN) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.MOUSE == LEAVE) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.MOUSE == MOVE) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.MOUSE == OUT) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.MOUSE == OVER) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.MOUSE == UP) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.MOUSE == WHEEL) {
	    DejaGnu.pass("ScreenMouseEvent::MOUSE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::MOUSE() method doesn't exist");
	}
	if (x1.NETWORK == CHANGE) {
	    DejaGnu.pass("ScreenMouseEvent::NETWORK() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::NETWORK() method doesn't exist");
	}
	if (x1.OPEN == null) {
	    DejaGnu.pass("ScreenMouseEvent::OPEN() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::OPEN() method doesn't exist");
	}
	if (x1.REMOVED == null) {
	    DejaGnu.pass("ScreenMouseEvent::REMOVED() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::REMOVED() method doesn't exist");
	}
	if (x1.REMOVED == FROM) {
	    DejaGnu.pass("ScreenMouseEvent::REMOVED() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::REMOVED() method doesn't exist");
	}
	if (x1.RENDER == null) {
	    DejaGnu.pass("ScreenMouseEvent::RENDER() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::RENDER() method doesn't exist");
	}
	if (x1.RESIZE == null) {
	    DejaGnu.pass("ScreenMouseEvent::RESIZE() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::RESIZE() method doesn't exist");
	}
	if (x1.RIGHT == CLICK) {
	    DejaGnu.pass("ScreenMouseEvent::RIGHT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::RIGHT() method doesn't exist");
	}
	if (x1.RIGHT == MOUSE) {
	    DejaGnu.pass("ScreenMouseEvent::RIGHT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::RIGHT() method doesn't exist");
	}
	if (x1.RIGHT == MOUSE) {
	    DejaGnu.pass("ScreenMouseEvent::RIGHT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::RIGHT() method doesn't exist");
	}
	if (x1.ROLL == OUT) {
	    DejaGnu.pass("ScreenMouseEvent::ROLL() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ROLL() method doesn't exist");
	}
	if (x1.ROLL == OVER) {
	    DejaGnu.pass("ScreenMouseEvent::ROLL() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::ROLL() method doesn't exist");
	}
	if (x1.SCROLL == null) {
	    DejaGnu.pass("ScreenMouseEvent::SCROLL() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::SCROLL() method doesn't exist");
	}
	if (x1.SELECT == null) {
	    DejaGnu.pass("ScreenMouseEvent::SELECT() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::SELECT() method doesn't exist");
	}
	if (x1.SOUND == COMPLETE) {
	    DejaGnu.pass("ScreenMouseEvent::SOUND() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::SOUND() method doesn't exist");
	}
	if (x1.TAB == CHILDREN) {
	    DejaGnu.pass("ScreenMouseEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::TAB() method doesn't exist");
	}
	if (x1.TAB == ENABLED) {
	    DejaGnu.pass("ScreenMouseEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::TAB() method doesn't exist");
	}
	if (x1.TAB == INDEX) {
	    DejaGnu.pass("ScreenMouseEvent::TAB() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::TAB() method doesn't exist");
	}
	if (x1.UNLOAD == null) {
	    DejaGnu.pass("ScreenMouseEvent::UNLOAD() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::UNLOAD() method doesn't exist");
	}
	if (x1.USER == IDLE) {
	    DejaGnu.pass("ScreenMouseEvent::USER() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::USER() method doesn't exist");
	}
	if (x1.USER == PRESENT) {
	    DejaGnu.pass("ScreenMouseEvent::USER() method exists");
	} else {
	    DejaGnu.fail("ScreenMouseEvent::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:

