1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * A simple visual API testing protocol
 * -- template file -- 
 *
 * @version    0.1.0
 * @author     Laurent Laville <pear@laurent-laville.org>
 * @access     public
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
 */

function getTestCase($m)
{
    global $var1, $var2, $display, $test;
    
    switch (strtolower($m))
    {
     default:
         $test = false;
         $display = ($GLOBALS['_VISUAL_API_DISPLAY'] == VISUAL_API_DISPLAY_ALL_METHODS);
    }
}
?>