phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/class.qa.php, 1.1.2.4


From: nomail
Subject: [Phpgroupware-cvs] api/class.qa.php, 1.1.2.4
Date: Sun, 29 Aug 2004 04:18:22 +0200

Update of /api
Modified Files:
        Branch: proposal-branch
          class.qa.php

date: 2004/08/29 02:18:22;  author: jengo;  state: Exp;  lines: +15 -1

Log Message:
Added some more tests
=====================================================================
Index: api/class.qa.php
diff -u api/class.qa.php:1.1.2.3 api/class.qa.php:1.1.2.4
--- api/class.qa.php:1.1.2.3    Fri Jul  9 14:49:26 2004
+++ api/class.qa.php    Sun Aug 29 02:18:22 2004
@@ -46,6 +46,20 @@
                        return 'You should *NOT* get this response back';
                }
 
+               // This should work from execMethod()
+               function execMethod_protected()
+               {
+                       if (execMethod('api.qa._protected') == 'You should 
*NOT* get this response back')
+                       {
+                               return true;
+                       }
+               }
+
+               function execMethod_private()
+               {
+                       return execMethod('api.qa.__private');
+               }
+
                function trigger_error()
                {
                        trigger_error('Test error',E_USER_WARNING);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]