Inheritance: extends PHPUnit_Framework_TestCase
コード例 #1
0
ファイル: RequestTest.php プロジェクト: powerpbx/framework
 public static function setUpBeforeClass()
 {
     include 'setuptests.php';
     self::$f = FreePBX::create();
     $_REQUEST['test1'] = 1;
     $_REQUEST['test2'] = "two";
     $_REQUEST['test3'] = "3";
     $_REQUEST['test4'] = "'<>\"";
     $_REQUEST['radio'] = "radio=poot";
 }
コード例 #2
0
ファイル: CliCurlTest.php プロジェクト: wpfw/mixpanel-php
 /**
  * Set up the request method
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->method = new CliCurl();
 }
コード例 #3
0
ファイル: SocketTest.php プロジェクト: wpfw/mixpanel-php
 /**
  * Set up the request method
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->method = new Socket();
 }