/trunk/services/tests/0.2/fournier/NomsListeFournierTest.php |
---|
10,12 → 10,7 |
public function __construct() { |
$this->projet = 'fournier'; |
$this->service = 'noms'; |
$this->classeTestee = 'NomsListeGenerique'; |
} |
public function initialiserService(NomsListe $service) { |
$service->setDetailsHrefTpl($this->nomDetailSqueletteUrl); |
$service->setListeUrl($this->listeUrl); |
} |
public function testSansParametres() { |
$ressources = array(); |
/trunk/services/tests/0.2/fournier/NomDetailsFournierTest.php |
---|
25,16 → 25,9 |
public function __construct() { |
$this->projet = 'fournier'; |
$this->service = 'noms'; |
$this->classeTestee = 'NomDetailsGenerique'; |
} |
public function initialiserService(NomsListe $service) { |
$service->setDetailsHrefTpl($this->nomDetailSqueletteUrl); |
$service->setOntologieHrefTpl($this->ontologieHrefTpl); |
$service->setChampsProjet($this->champsProjet); |
} |
public function testSansParametres() { |
public function testSansParametres() { |
$ressources = array('85'); |
$parametres = array(); |
/trunk/services/tests/0.2/ServicePhpUnit.php |
---|
19,7 → 19,6 |
protected static $cheminBase = ''; |
protected $projet = ''; |
protected $service = ''; |
protected $classeTestee = ''; |
protected $baseUrl = 'http://localhost/service:eflore:0.1/'; |
protected $serviceBaseUrl = ''; |
//+------------------------------------------------------------------------------------------------------+ |
38,6 → 37,7 |
return null; |
} |
$cheminCommun = self::$cheminBase.'commun/'; |
$cheminBibliotheque = realpath(__DIR__.'/../../bibliotheque').'/'; |
$cheminBiblioInterfaces = $cheminBibliotheque.'interfaces/'; |
$cheminBiblioNom = $cheminBibliotheque.'nom/'; |
45,6 → 45,7 |
$cheminsTests = __DIR__.'/'; |
$chemins = array( |
self::$cheminBase, |
$cheminCommun, |
$cheminBibliotheque, |
$cheminsTests, |
$cheminBiblioInterfaces, |