Пример #1
0
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->cleanup($this->file);
     parent::tearDown();
 }
Пример #2
0
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     fclose($this->socket);
     $this->cleanup($this->file);
     parent::tearDown();
 }
Пример #3
0
 /**
  * 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
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     $this->file = "/dev/loop0";
     $this->Fs_Node = new Fs_Block($this->file);
     parent::setUp();
 }