Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 258 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 258 Rev 790
Line 18... Line 18...
18
 
18
 
19
	public function testCarteGenerique() {
19
	public function testCarteGenerique() {
20
		$ressources = array();
20
		$ressources = array();
Line 21... Line 21...
21
		$parametres = array('version.projet' => '2012.01');
21
		$parametres = array('version.projet' => '2012.01');
Line 22... Line 22...
22
 
22
 
23
		$this->retour = $this->consulterBrut($ressources, $parametres);
23
		$this->retour = ServiceEflorePhpUnit::consulterBrut($this->service, $this->projet, $ressources, $parametres);
Line 24... Line 24...
24
 
24
 
25
		$this->verifierPresenceMessage("A implémenter : carte proportionnelle ensemble des infos");
25
		$this->verifierPresenceMessage("A implémenter : carte proportionnelle ensemble des infos");
26
	}
26
	}
Line 27... Line 27...
27
 
27
 
Line 28... Line 28...
28
	public function testCarteGeneriqueLegende() {
28
	public function testCarteGeneriqueLegende() {
29
		$ressources = array('legende');
29
		$ressources = array('legende');
Line 30... Line 30...
30
		$parametres = array('version.projet' => '2012.01');
30
		$parametres = array('version.projet' => '2012.01');
31
 
31
 
32
		$this->retour = $this->consulterBrut($ressources, $parametres);
32
		$this->retour = ServiceEflorePhpUnit::consulterBrut($this->service, $this->projet, $ressources, $parametres);
Line 33... Line 33...
33
 
33
 
Line 34... Line 34...
34
		$this->verifierPresenceMessage("A implémenter : légende carte proportionnelle ensemble des infos");
34
		$this->verifierPresenceMessage("A implémenter : légende carte proportionnelle ensemble des infos");
35
	}
35
	}
Line 36... Line 36...
36
 
36
 
Line 51... Line 51...
51
		);
51
		);
52
		$parametres = array('version.projet' => '2012.01',
52
		$parametres = array('version.projet' => '2012.01',
53
			'retour' => 'image/svg+xml');
53
			'retour' => 'image/svg+xml');
Line 54... Line 54...
54
 
54
 
55
		foreach ($ressourcesListe as $ressources) {
55
		foreach ($ressourcesListe as $ressources) {
Line 56... Line 56...
56
			$this->retour = $this->consulterBrut($ressources, $parametres);
56
			$this->retour = ServiceEflorePhpUnit::consulterBrut($this->service, $this->projet, $ressources, $parametres);
57
 
57
 
58
			$this->chargerXml();
58
			$this->chargerXml();
59
			$this->etreSvg();
59
			$this->etreSvg();
Line 64... Line 64...
64
	public function testCarteSvgPlusieursLegendes() {
64
	public function testCarteSvgPlusieursLegendes() {
65
		$ressources = array('bdtfx.nn:71574');
65
		$ressources = array('bdtfx.nn:71574');
66
		$parametres = array('version.projet' => '2012.01',
66
		$parametres = array('version.projet' => '2012.01',
67
				'retour' => 'image/svg+xml');
67
				'retour' => 'image/svg+xml');
Line 68... Line 68...
68
 
68
 
Line 69... Line 69...
69
		$this->retour = $this->consulterBrut($ressources, $parametres);
69
		$this->retour = ServiceEflorePhpUnit::consulterBrut($this->service, $this->projet, $ressources, $parametres);
70
 
70
 
71
		$this->chargerXml();
71
		$this->chargerXml();
72
		$this->etreSvg();
72
		$this->etreSvg();