From: Tay R. C. <rc...@us...> - 2005-07-27 09:32:40
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26555/actionstep/org/actionstep/test Modified Files: ASTestPanel.as Log Message: tests make use of new naming Index: ASTestPanel.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/test/ASTestPanel.as,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ASTestPanel.as 27 Jul 2005 09:17:53 -0000 1.1 --- ASTestPanel.as 27 Jul 2005 09:32:30 -0000 1.2 *************** *** 98,106 **** } ! public static function done(ret, win) { if(ret==NSRunResponse.NSContinues) return; var ans = ASUtils.findMatch([NSAlertReturn], ret); TRACE("button clicked: "+ans.prop); ! win.close(); } --- 98,106 ---- } ! public static function done(ret, panel) { if(ret==NSRunResponse.NSContinues) return; var ans = ASUtils.findMatch([NSAlertReturn], ret); TRACE("button clicked: "+ans.prop); ! ASAlertPanel.NSRelease(panel); } *************** *** 111,123 **** public static function panel() { ! ASAlertPanel.NSRunAlertPanel.apply(ASAlertPanel, alertArgs); } public static function critical() { ! ASAlertPanel.NSRunCriticalAlertPanel.apply(ASAlertPanel, alertArgs); } public static function informational() { ! ASAlertPanel.NSRunInformationalAlertPanel.apply(ASAlertPanel, alertArgs); } --- 111,123 ---- public static function panel() { ! ASAlertPanel.NSRunAlert.apply(ASAlertPanel, alertArgs); } public static function critical() { ! ASAlertPanel.NSRunCriticalAlert.apply(ASAlertPanel, alertArgs); } public static function informational() { ! ASAlertPanel.NSRunInformationalAlert.apply(ASAlertPanel, alertArgs); } |