Esempio n. 1
0
 /**
  * setup this test
  * for fixtures path, you typically use something like __DIR__/../Fixtures/
  *
  * @param string $fixturesPath the path to the directory with the fixture xmls for testing.
  */
 public function __construct($fixturesPath)
 {
     parent::__construct();
     $this->importexport = new \JackrabbitFixtureLoader($fixturesPath);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $testToken = getenv('TEST_TOKEN');
     $this->environment = $testToken ? sprintf('test_%s', $testToken) : 'test';
 }
 /**
  * @param null $name
  * @param array $data
  * @param string $dataName
  */
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     ini_set('xdebug.max_nesting_level', 250);
     parent::__construct($name, $data, $dataName);
 }
Esempio n. 4
0
 /**
  * @param null $name
  * @param array $data
  * @param string $dataName
  */
 public function __construct($name = NULL, array $data = array(), $dataName = '')
 {
     ini_set('xdebug.max_nesting_level', '250');
     parent::__construct($name, $data, $dataName);
     $this->initialize();
 }
Esempio n. 5
0
    /**
     * setup this test
     * for fixtures path, you typically use something like __DIR__/../Fixtures/
     *
     * @param string $fixturesPath the path to the directory with the fixture xmls for testing.
     */
    public function __construct($fixturesPath)
    {
        parent::__construct();

        $this->importexport = new \jackrabbit_importexport($fixturesPath);
    }