 	private var methodIterator:Iterator;
 	private var layoutManager:Object;
 	private var currentState:Number;
-
-	private static var lastDepth:Number = 10;
+
+	private static var lastDepth:Number = 10;
 
 	/**
 	 * Constructs a test case with the given name.
 	 */
-	public function TestCase(testMethod:String) {
+	public function TestCase(testMethod:String) {
 		if(testMethod==undefined) testMethod=null;
 		if(testMethod != null) {
 			testMethods = testMethod.split(", ").join(",").split(",");

	private static var RUN_METHOD:Number 		= 2;
	private static var TEAR_DOWN:Number			= 3;
	private static var DEFAULT_TIMEOUT:Number 	= 1000;
	private var className:String;
	private var fName:String;
	private var result : TestListener;
	private var testMethods:Array;

	 * Sets the name of a TestCase
	 * @param name The name to set
	 */
	public function setName(name:String):Void {
		if(name==undefined || name==null){
			throw new ClassNameUndefinedError("You must assign a ClassName for your TestCase subclass.")
		}
		fName = name;
	}

	private function setTestMethods(obj:Object):Void {
		testMethods = [];
		_global.ASSetPropFlags(obj.__proto__, null, 6, true);
		for(var prop:String in obj) {
				// look for functions starting with "test"
			if((prop.indexOf("test")==0)  && (obj[prop] instanceof Function)){
				testMethods.push(prop);
			}
		}
		_global.ASSetPropFlags(this.__proto__, null, 1, true);
		testMethods.reverse();		
	}
	
