Exemplo n.º 1
0
 /**
  *    Accessor for current test instance.
  *    @return SimpleTEstCase        Currently running test.
  *    @access public
  *    @static
  */
 function &getCurrent()
 {
     $registry =& SimpleTest::_getRegistry();
     return $registry['CurrentTestCase'];
 }
Exemplo n.º 2
0
 /**
  *    Accessor for default proxy password.
  *    @return string    Proxy password for authentication.
  *    @access public
  */
 function getDefaultProxyPassword()
 {
     $registry =& SimpleTest::_getRegistry();
     return $registry['DefaultProxyPassword'];
 }