コード例 #1
0
 protected function setUp()
 {
     $this->giver = new TheGiver();
     $this->receiver = new TheReceiver();
     TheReceiver::$globalFunctionRun = false;
     TheReceiver::$staticFunctionRun = false;
 }
コード例 #2
0
ファイル: options_test.php プロジェクト: bmdevel/ezc
 protected function setUp()
 {
     $this->giver = new TheGiver();
     $this->receiver = new TheReceiver();
     TheReceiver::$globalFunctionRun = false;
     TheReceiver::$staticFunctionRun = false;
     ezcSignalStaticConnections::getInstance()->connections = array();
     ezcSignalCollection::setStaticConnectionsHolder(new EmptyStaticConnections());
 }
コード例 #3
0
ファイル: test_classes.php プロジェクト: bmdevel/ezc
 public static function slotStatic()
 {
     self::$staticFunctionRun = "have a cigar";
 }