示例#1
0
文件: FifoTest.php 项目: jasny/Q
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->cleanup($this->file);
     parent::tearDown();
 }
示例#2
0
文件: SocketTest.php 项目: jasny/Q
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     fclose($this->socket);
     $this->cleanup($this->file);
     parent::tearDown();
 }
示例#3
0
文件: CharTest.php 项目: jasny/Q
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     $this->file = "/dev/zero";
     $this->Fs_Node = new Fs_Char($this->file);
     parent::setUp();
 }
示例#4
0
文件: BlockTest.php 项目: jasny/Q
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     $this->file = "/dev/loop0";
     $this->Fs_Node = new Fs_Block($this->file);
     parent::setUp();
 }