Example #1
0
File: FifoTest.php Project: jasny/Q
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->cleanup($this->file);
     parent::tearDown();
 }
Example #2
0
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     fclose($this->socket);
     $this->cleanup($this->file);
     parent::tearDown();
 }
Example #3
0
File: CharTest.php Project: 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();
 }
Example #4
0
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     $this->file = "/dev/loop0";
     $this->Fs_Node = new Fs_Block($this->file);
     parent::setUp();
 }