Kraken\Test\TModule::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->loop = new Loop(new SelectLoop());
        $this->loop->erase(true);
        $this->simulation = new Simulation($this->loop);
    }

Usage Example

コード例 #1
0
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->path = realpath(__DIR__ . '/..') . '/_Dir';
     $this->paths = ['DIR_A' => '/DIR_A', 'DIR_B' => '/DIR_B', 'DIR_C' => '/DIR_B/DIR_C', 'DIR_D' => '/DIR_D', 'FILE_A' => '/FILE_A', 'FILE_B' => '/FILE_B.txt', 'FILE_C' => '/DIR_A/FILE_C', 'FILE_D' => 'FILE_D', 'NULL' => '/NULL', 'DIR_NULL' => '/DIR_NULL', 'FILE_NULL' => '/FILE_NULL'];
     $this->createDirStructure();
 }
All Usage Examples Of Kraken\Test\TModule::setUp