addlogitem(this.testresult,testCase,logname,item);
parent.logitem(logname, item);
super.construct(parent,args);
logitem('constructorder', args['name']);
logitem('sequence', 'construct' + args['name']);
logitem('onconstructorder', this.name);
logitem('sequence', 'onconstruct' + this.name);
super.init();
logitem('initorder', this.name);
logitem('sequence', 'init' + this.name);
logitem('oninitorder', this.name);
logitem('sequence', 'oninit' + this.name);
canvas.logitem(this.name, logname, item);
var me = this;
var myclosure = function () {
LzTestManager.assertTrue(me.compareCase('constructorder'), "testConstruct");
LzTestManager.assertTrue(me.compareCase('onconstructorder'), "testOnConstruct");
LzTestManager.assertTrue(me.compareCase('initorder'), "testInit");
LzTestManager.assertTrue(me.compareCase('oninitorder'), "testOnInit");
LzTestManager.assertTrue(me.compareCase('sequence'), "testInitializationSequence");
}
global.testList.push(myclosure);
// have to do wait to run tests until after all the late inits have happened