Exemplo n.º 1
0
 /**
  * @return PHPUnit_Extensions_Database_DataSet_IDataSet
  */
 public function getDataSet()
 {
     $list = array("testPurge" => "actions-purgeable.yml", "testGet_action" => "actions-purgeable.yml", "testGet_old" => "actions-purgeable.yml", "testFinish" => "actions-purgeable.yml", "testReset_job" => "actions-began.yml", "testGet_job" => "actions-ready.yml", "testCancel" => "actions-purgeable.yml", "default" => "actions-purgeable.yml");
     if (isset($list[$this->getName()])) {
         $dataset_file = $list[$this->getName()];
     } else {
         $dataset_file = "actions-empty.yml";
     }
     return parent::loadDataSet($dataset_file);
 }
Exemplo n.º 2
0
 /**
  * @return PHPUnit_Extensions_Database_DataSet_IDataSet
  */
 public function getDataSet()
 {
     $list = array("testVariable_getNewWayArray" => "variables-empty.yml", "testVariable_getNewWayString" => "variables-empty.yml", "testVariable_getOldWay" => "variables-empty.yml", "default" => "variables.yml");
     if (isset($list[$this->getName()])) {
         $dataset_file = $list[$this->getName()];
     } else {
         $dataset_file = "variables.yml";
     }
     return parent::loadDataSet($dataset_file);
 }
Exemplo n.º 3
0
 /**
  * @return PHPUnit_Extensions_Database_DataSet_IDataSet
  */
 public function getDataSet()
 {
     $t = array("1" => "ftp/ftp.yml", "2" => "membres.yml", "3" => "domaines.yml", "3" => "policy.yml", "4" => "default-quota.yml", "5" => "db_servers.yml");
     return parent::loadDataSet($t);
 }
Exemplo n.º 4
0
 /**
  * @return PHPUnit_Extensions_Database_DataSet_IDataSet
  */
 public function getDataSet()
 {
     return parent::loadDataSet("domaines.yml");
 }