Exemplo n.º 1
0
Arquivo: FifoTest.php Projeto: jasny/Q
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->cleanup($this->file);
     parent::tearDown();
 }
Exemplo n.º 2
0
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     fclose($this->socket);
     $this->cleanup($this->file);
     parent::tearDown();
 }
Exemplo n.º 3
0
Arquivo: CharTest.php Projeto: 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();
 }
Exemplo n.º 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();
 }